-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
1.46.0: Throw "SIGSEGV: invalid memory reference" when building in alpine. #76021
Comments
Not only crate rand, but replacing rand with log will also have this error:
|
Actually I just need Bisection resultsearched nightlies: from nightly-2020-06-19 to nightly-2020-06-21 bisected with cargo-bisect-rustc v0.5.2Host triple: x86_64-unknown-linux-musl cargo bisect-rustc 2020-06-19 --end 2020-06-21 --without-cargo Most likely #70740, cc @petrochenkov as reviewer of that PR. |
Related issue: #74757 |
I can't repoduce this on my musl based Gentoo linux system, which use musl 1.2.1.
Alpine 3.8 use musl 1.1.19 but rust CI use musl 1.1.24, and I'm sure musl don't have any binary forward compatibility (Yestday I try to downgrade musl to 1.1.24 and all programs I compile recently ware broken and show same error (signal: 11, SIGSEGV: invalid memory reference)) Other test in docker:
Alpine 3.9
3.10
|
Cool. @jmjoy so the answer is to upgrade alpine to newer version (easy) or just upgrade musl (hard). |
Tagged this issue as |
Assigning |
Code
Meta
docker build .
Error output
The last step:
The text was updated successfully, but these errors were encountered: