-
Notifications
You must be signed in to change notification settings - Fork 13.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
Release build for armv7 fails with SIGILL #52424
Comments
Hi, could you post the entire target triple ( Would using Rust nightly (which contains a fix for #48967) solve the problem? |
Hi, the target is I tried the latest nightly, and it fails with another error:
|
I disabled LTO and it helped. Will also try to upgrade musl to the latest version, and try with lto enabled |
Can you try again? As far as I can tell, there is no way for anyone other than the reporter to reproduce the issue, so it is hard to make any progress. |
I think it's no longer reproducible. |
Hi!
I'm working on a project with armv7 target. There are different binaries produced from the same codebase. I'm observing a strange behavior with one of the binaries only in release build - an "Illegal instruction" error. Debug build and other binaries (debug and release) work well.
gdb output:
https://github.com/rust-lang/rust/blob/1.27.0/src/libstd/sys_common/thread_info.rs#L47
The text was updated successfully, but these errors were encountered: