-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
cross compiled macos binaries with LLD which depend on TLS fail at runtime #3295
Comments
I think this ultimately comes down to a deficiency in LLD. See #1535 |
(continuing from ziglang/zig-bootstrap#38): I think this may be caused by a too low OSX version. I can find similar issues elsewhere where wrong/low OSX version leads to Can you try passing |
We do that here: Lines 598 to 614 in 2eee058
|
Just an FYI that this one was fixed for cross-compiling C and Zig sources (C++ is still not in the clear) in #7318; however, ultimately this is a deficiency in LLD so I'm inclined to leave the issue open until LLD acknowledges and fixes it, or our self-hosted linker is up to the job. |
The plan to address this issue is #8727. Once that is done, this issue can be closed as well. |
I will only add that cross-compilation is now exclusively handled by |
Given that we no longer rely on LLD when targeting macOS, I'm closing this issue regardless of whether it's been fixed in upstream since it's irrelevant for zig. |
The text was updated successfully, but these errors were encountered: