Skip to content

-Bsymbolic linker flag not working on MacOS #6308

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

Open
manast opened this issue Sep 10, 2020 · 2 comments
Open

-Bsymbolic linker flag not working on MacOS #6308

manast opened this issue Sep 10, 2020 · 2 comments
Labels
os-macos upstream An issue with a third party project that Zig uses.
Milestone

Comments

@manast
Copy link

manast commented Sep 10, 2020

Trying to build a redis module using the -Bsymbolic flag gives this error on zig 0.6.0:

lld: warning: ignoring unknown argument: -Bsymbolic

and as a result the linker complains with a big list of undefined symbols. I suspect this option is different in Macos but I could not find which one to use instead. In any case I propose that the zip command line only displays working flags for the plattform where it is being run.

@manast
Copy link
Author

manast commented Sep 12, 2020

As a sidenote, it works to compile to other targets such as linux:

-target x86_64-linux

@andrewrk
Copy link
Member

andrewrk commented Oct 4, 2020

#5828 (comment)

@andrewrk andrewrk added os-macos upstream An issue with a third party project that Zig uses. labels Oct 4, 2020
@andrewrk andrewrk added this to the 0.8.0 milestone Oct 4, 2020
@andrewrk andrewrk modified the milestones: 0.8.0, 0.9.0 Nov 6, 2020
@andrewrk andrewrk modified the milestones: 0.9.0, 0.10.0 May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os-macos upstream An issue with a third party project that Zig uses.
Projects
None yet
Development

No branches or pull requests

2 participants