-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Rust 1.23 bus error during stage 2 build on Solaris sparc #47930
Comments
When I build on the same system older Rust 1.22.1 (using the same Rust 1.22.1) it goes fine. |
Following is cargo command output with --verbose flag:
And this is individual
Yet the core looks still the same:
|
Ok. The issue is simply that stage2 compiler is broken:
|
The problem seems to be that the patch by @jrtc27 to fix the stack alignment on sparc64 in LLVM was merged into the The necessary PR is: rust-lang/llvm#94 The patch has already been merged upstream (https://reviews.llvm.org/D39425) and was also backported to the 6.0 branch (https://bugs.llvm.org/show_bug.cgi?id=36188). So, in order to fix this issue, it should simply be enough to get the patch merged into https://github.com/rust-lang/llvm. Edit: I also had to downgrade binutils to 2.28 as binutils 2.30 breaks rustc builds on sparc64. And the problem is that I have no clue which branches of |
@psumbera Any success with the latest LLVM patches? |
LLVM patches help for this issue. Though not sure when they will be included so that I can close this issue. Note that they help but later rustdoc core dumped. So I have to disable documentation (--disable-docs) to get working rust-1.23 on sparc. rust -1.24 seems to be better (but now there is some linker issue on Solaris 11.3. Solaris 11.4 seems to be fine). |
What's the current status here? |
I believe we can close the issue now. |
While building Rust 1.23 (using 1.22.1) on Solaris sparc it ends like this (on intel it's ok):
There are four core dumps from this:
All cores look very similar:
rustc command line which cores dump is:
The text was updated successfully, but these errors were encountered: