Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libunwind/libunwind-headers: use only on < darwin11 #27319

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kencu
Copy link
Contributor

@kencu kencu commented Jan 7, 2025

the functionality of the libunwind library was added to libSystem in darwin11. Installing this port on any system newer than darwin10 causes problems, and usually causes an older libunwind to be used than the one already in libSystem.

closes: https://trac.macports.org/ticket/66250

For interest:
a current libunwind is currently installed as part of the clang builds, eg.:

% port contents clang-19 | grep libunwind
/opt/local/libexec/llvm-19/include/__libunwind_config.h
/opt/local/libexec/llvm-19/include/libunwind.h
/opt/local/libexec/llvm-19/include/libunwind.modulemap
/opt/local/libexec/llvm-19/lib/libunwind/libunwind.1.0.dylib
/opt/local/libexec/llvm-19/lib/libunwind/libunwind.1.dylib
/opt/local/libexec/llvm-19/lib/libunwind/libunwind.a
/opt/local/libexec/llvm-19/lib/libunwind/libunwind.dylib

if testing a newer libunwind is desired on new systems, one can be found there.

@macportsbot
Copy link

Notifying maintainers:
@jeremyhu for port libunwind.

@macportsbot macportsbot added maintainer: open Affects an openmaintainer port by: member Created by a member with commit rights labels Jan 7, 2025
@kencu
Copy link
Contributor Author

kencu commented Jan 7, 2025

If this is committed, there will be ports discovered that have linked to ${prefix}/lib/libunwind.dylib and will then be broken. These ports will all need to be revbumped.

Some will have overtly had libunwind referenced in their dependencies. Other ports may likely have linked against it opportunistically.

@kencu kencu changed the title libunind/libunwind-headers: use only on < darwin11 libunwind/libunwind-headers: use only on < darwin11 Jan 7, 2025
@kencu kencu force-pushed the libunwinddefanged branch from c48c09a to ae79718 Compare January 7, 2025 07:55
the functionality of the libunwind library was added
to libSystem in darwin11. Installing this port on any
system newer than darwin10 causes problems, and usually
causes an older libunwind to be used than the one already in
libSystem.

closes: https://trac.macports.org/ticket/66250

For interest:
a current libunwind is currently installed  as part of the clang builds, eg.:

% port contents clang-19 | grep libunwind
  /opt/local/libexec/llvm-19/include/__libunwind_config.h
  /opt/local/libexec/llvm-19/include/libunwind.h
  /opt/local/libexec/llvm-19/include/libunwind.modulemap
  /opt/local/libexec/llvm-19/lib/libunwind/libunwind.1.0.dylib
  /opt/local/libexec/llvm-19/lib/libunwind/libunwind.1.dylib
  /opt/local/libexec/llvm-19/lib/libunwind/libunwind.a
  /opt/local/libexec/llvm-19/lib/libunwind/libunwind.dylib

if testing a newer libunwind is desired on new systems, one can be found there.
@kencu kencu force-pushed the libunwinddefanged branch from ae79718 to 458be5c Compare January 8, 2025 04:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
by: member Created by a member with commit rights maintainer: open Affects an openmaintainer port
Development

Successfully merging this pull request may close these issues.

3 participants