-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Native bootstrap for RISC-V on Gentoo Linux (failure) #83970
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
Comments
@rustbot label: +A-rustbuild +T-compiler +O-linux +O-riscv |
Sorry, I've been out of the RiscV loop for a while now, this looks like a core issue with Rustc/core tho. I don't see much from the cause tho, could you try running this with a debugger? I understand this might be difficult given this is a stage1 recompile. Signal 11 is SEGFAULT during compilation which points to a bigger issue. |
@dlan17 I'd also suggest running the last command under gdb. Also check that you have enough RAM. |
@almindor @Disasm I'm trying to debug with gdb, but can't get useful backtrace info, not sure if there is anything I missed.. also I need to set extra ENVs variables to run the error command manually, please help checking if ever I did this correctly? [2] [1] c Sysroot { compiler: Compiler { stage: 1, host: TargetSelection { triple: "riscv64gc-unknown-linux-gnu", file: None } } } [2] check the script and full gdb log here: https://dev.gentoo.org/~dlan/riscv/logs/run_rust.txt basically the script is something like this export RUSTC_REAL=/var/notmpfs/portage/dev-lang/rust-1.51.0/work/rustc-1.51.0-src/build/riscv64gc-unknown-linux-gnu/stage1/bin/rustc ${RUST_LAST_COMMAND} |
@dlan17 is this still relevant? Could you please check with latest rust? |
yes, it works for me now, I have several machines with rust-1.66.0, 1.71.1, 1.73.0 installed, thanks for ping this |
Trying to do the native rust bootstrap on Gentoo Linux for RISC-V ARCH, but fail at 'compiler_builtins' crate.
I tried this code:
both tried & failed for rust-1.50.0 and 1.51.0, same error
the downstream bug report can be found here:
https://bugs.gentoo.org/747460
the full build log for 1.51.0:
https://bugs.gentoo.org/attachment.cgi?id=698247
any suggestion for how I could further debug this? or could someone shed some lights on this ..
==== snip of error logs ===
The text was updated successfully, but these errors were encountered: