-
Notifications
You must be signed in to change notification settings - Fork 1
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
Upgrade Rust, remove LLVM patches #1
Comments
|
As mentioned in athenavm/athena#3 (comment) it should be possible to upgrade to a newer mainline Rust which includes a newer LLVM which includes CodeGen support for RV32E (llvm/llvm-project@3ac9fe6). This work is partially done in #2. Unfortunately I'm running into the above error trying to build the toolchain. I made sure to try this using an identical config and environment, which doesn't help. Something must've changed in the Rust/LLVM build process between the two releases but I can't figure out what it is. Some possibly useful notes and resources: The particular compile command that fails works when I run it using
I tried differentiating the host and guest compilers to no avail:
I'm also having trouble compiling
In any case it shouldn't be required to build Rust since the build script in this repo works just fine on older Rust without it. |
Found the issue: rust-lang/compiler-builtins#563. See also rust-lang/rust#121371. Worked around this in 2ac5f67. Also included two required Rust patches that haven't been released yet: Another option here might be to use a dockerized build, using the compilers referenced here: rust-lang/rust#117654 |
See athenavm/athena#3 (comment)
The text was updated successfully, but these errors were encountered: