-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
ld: unknown option: -export_dynamic #13543
Labels
Milestone
Comments
wolfgangwalther
added a commit
to wolfgangwalther/meson
that referenced
this issue
Aug 17, 2024
The flag was only introduced in ld 224.1, as mentioned in the initial PR mesonbuild#13291. Resolves mesonbuild#13543
wolfgangwalther
added a commit
to wolfgangwalther/meson
that referenced
this issue
Aug 17, 2024
The flag was only introduced in ld 224.1, as mentioned in the initial PR mesonbuild#13291. Resolves mesonbuild#13543
See #13557. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Some software building with meson now fails to build on Mac OS X 10.6 and earlier because meson now uses the linker flag
-export_dynamic
which the linker on Mac OS X 10.6 and earlier does not understand. See https://trac.macports.org/ticket/70386 and https://trac.macports.org/ticket/70496. This is a regression. This was caused by #13291 to fix #13290. The addition of this flag is suspect to me since all software that has ever built using meson on Mac OS X 10.6 prior to this change did so successfully without this flag. We are now reverting this change in MacPorts on Mac OS X 10.6 and earlier. Cc @barracuda156To Reproduce
Build e.g. glib2 with meson on Mac OS X 10.6.
Expected behavior
Successful build
system parameters
meson --version
: 1.5.1ninja --version
if it's a Ninja build: 1.12.1The text was updated successfully, but these errors were encountered: