[MacPorts] #65333: zig 0.10.0 fails to build on arm64
MacPorts
noreply at macports.org
Sun Feb 5 16:04:58 UTC 2023
#65333: zig 0.10.0 fails to build on arm64
---------------------------+------------------------
Reporter: i0ntempest | Owner: i0ntempest
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords:
Port: zig, llvm-13 |
---------------------------+------------------------
Comment (by kencu):
I think this error is happening with our llvm patch because with our
patch, llvm might call for the emulated tls symbol.
zig checks to see if the symbol exists, therefore, and doesn’t find it, so
errors.
see
https://github.com/ziglang/zig/issues/8180
and
https://github.com/ziglang/zig/commit/dbfcebf8d88b91c5a85366da09a4ce69c0bb5dc6
We might be able to tell zig not to error when it can’t find
{{{'___emutls_get_address'}}}
by passing a linker flag.
--
Ticket URL: <https://trac.macports.org/ticket/65333#comment:26>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list