-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
undefined LFS64 symbols on musl 1.2.4 #15610
Comments
Should be fixed by #16098 |
From that commit it looks like the workaround implemented in musl's dynamic linker does not work for zig since zig uses it's own lld copy to link on linux. |
I also experienced a similar error using ziglang 0.11.0 (released today), where as rolling back to ziglang 0.10.1 then everything works again. Below shows an example of the error that we experienced when we build a rust project via cargo-zigbuild.
|
Fixed in #16098 |
This project does not compile with zig 0.11 (actually because of musl 1.2.4), see ziglang/zig#15610. Signed-off-by: Michael Adler <michael.adler@siemens.com>
This project does not compile with zig 0.11 (actually because of musl 1.2.4), see ziglang/zig#15610. Signed-off-by: Michael Adler <michael.adler@siemens.com>
Zig Version
0.10.1
Steps to Reproduce and Observed Behavior
musl 1.2.4 remove those symbols: https://git.musl-libc.org/cgit/musl/commit/?id=246f1c811448f37a44b41cd8df8d0ef9736d95f4
zig compiler failed to link on musl 1.2.4:
Expected Behavior
std should use symbols without
64
suffix on musl targetThe text was updated successfully, but these errors were encountered: