-
Notifications
You must be signed in to change notification settings - Fork 391
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
Always link to libgcc for musl targets. #986
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
bors try --target mips64-unknown-linux-muslabi64 |
tryBuild succeeded: |
21d663d
to
792618c
Compare
It might be worth conditionally disabling linking to libgcc, since it might obscure missing builtins that need to be patched in Since we're somewhat of a canary in the coal mine due to our support of many tier 2 and some tier 3 targets, it's probably a good idea to allow people to opt-in to use |
Fixes issues with numerous missing symbols from libgcc routines that are not currently implemented in Rust's compiler builtins. These include: - __trunctfsf2 - __ctzdi2 - __letf2 - __addtf3 These missing symbols all seem to be soft-float and integer arithmetic routines. This is a temporary workaround until these are all implemented in compiler-builtins.
Right because although you've configured the proper cross version, you haven't built the correct image and are using one from the latest main, so it's still using the wrong linker. I can provide a temporary link on Dockerhub for testing (not an official image, and it will likely be removed in a few days) that you can then provide via [target.armv7-unknown-linux-musleabihf]
image = "..." Sorry, I might not have been clear that you have to build the image to test the changes. |
Oh that's right, I saw you change the @Alexhuszagh Can you provide a temporary image on dockerhub? Thanks! |
Actually, I think the better issue would be to document how to use So, I'll still provide the images, but I'm almost certain there's a better way. |
@Alexhuszagh That fixed the issue https://github.com/NobodyXu/cargo-binstall/actions/runs/2765292275 , thanks, though I cannot merge that PR. Can using |
Fixes issues with numerous missing symbols from libgcc routines that are
not currently implemented in Rust's compiler builtins. These include:
These missing symbols all seem to be soft-float and integer arithmetic routines. These missing symbols all seem to be soft-float and integer arithmetic routines. This is a temporary workaround until these are all implemented in compiler-builtins.
Closes #367.
Closes #985.