-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
Build failure: rustc on LLVM stdenv #311930
Comments
The issue is that rust is unconditionally trying to link libgcc_s, but under pkgsLLVM there are no gcc builtins. The relevant error is:
It looks like this also shows up trying to build static musl binaries, see: rust-lang/rust#82521 And alpine appears to have a patch to work around this: rust-lang/rust#55120 So maybe nixpkgs needs to patch the linking of libgcc_s out of the rust toolchain under Reading the LSB, https://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/libgcc-s.html the interfaces provided by |
Just curious, what's the difference between |
My current impression is that rust itself is inserting a |
Yeah, you're right. It looks like the source of the problem is there. |
Looks like enabling |
Looks like enabling
|
Steps To Reproduce
Steps to reproduce the behavior:
Build log
Here
Notify maintainers
@figsoda @Mic92 @tjni @winterqt @zowoq
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: