Open fengb opened 4 years ago
Someone on discord reported the same issue; I think the fix was using a newer version of glibc as part of the target?
The error message reminds me of https://github.com/ziglang/zig/issues/5882
Aha! -target x86_64-linux-gnu.2.25
works fine. I think the major problem in this case is that while Zig detects the version does not contain the symbol, the generated error message makes no sense. Is this because we have a merged glibc and thus the symbol actually exists?
what version is your native system glibc?
I had errors in cross compilation. Native (glibc 2.31) seemed to work fine, although the reported version is a bit confused:
"native": {
"triple": "x86_64-linux.5.7.7...5.7.7-gnu.2.17",
although the reported version is a bit confused
covered by #6469
This only happens when using
linux-gnu
as the target,linux-musl
and nativemacos
seem to work just fine:The error message is extra confusing as it seems to ignore the defined symbol?