-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
The newest nightly breaks static musl builds. #44069
Comments
https://github.com/rust-lang/rust/pull/40113/files#diff-3503e1a05300f03b6ff9df8257913e83 This used to only link to libunwind when building the libunwind crate, now it does it on everything that includes the libunwind crate (I think). Not sure how this passed tests. Maybe it found a path to the musl libunwind.a? |
s/static-nobundle/static/ should fix it; that was a mistake on my part (crt*.o are copied from musl_root, but libunwind.a is not). |
I will test that suggestion now. |
Do not assume libunwind.a is available on musl Fixes #40113, #44069, and clux/muslrust#16. libunwind.a is not copied from musl_root, so it must be integrated into the unwind crate.
Fixed in #44070 |
Hm, now the newest nightly musl doesn't even download :D
|
@golddranks can you try again? It seems fine to me, here's a terminal transcript I've just run:
|
Tried again, here's mine:
|
Could it be a problem with area-based proxies or something? I'm located in Japan, Tokyo. Tried many times and it consistently fails at that item. |
Tried with a different network (tethering through mobile), and it still fails. Tried with
|
Okay, deleting the partial file fixed the problem. It seems that I found a bug in rustup. |
Reported: rust-lang/rustup#1243 |
The newest nightly breaks static musl builds.
This is most likely to be caused by the landing of #40113
Here's a very simple demo: https://github.com/golddranks/rustc_broken_static_demo (Try running
build_old.sh
andbuild_new.sh
)The scripts build the hello world program in two environments: one with nightly
2017-08-23
and one with2017-08-24
. The latter contains the PR #40113. The Dockerfile for the image is here: https://github.com/golddranks/rust_musl_dockerThe former succeeds, whereas the latter fails with:
The text was updated successfully, but these errors were encountered: