Skip to content
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

Doesn't compile with newest nightly #2

Open
tyllmoritz opened this issue Aug 23, 2022 · 0 comments
Open

Doesn't compile with newest nightly #2

tyllmoritz opened this issue Aug 23, 2022 · 0 comments

Comments

@tyllmoritz
Copy link
Contributor

tyllmoritz commented Aug 23, 2022

I tried compiling this with the newest nightly and ran into some Issues:

With toolchain nightly-2022-04-26 and newer I had the following error:

  • rust-lld: error: […].rcgu.o: cannot link object files with different floating-point ABI

With toolchain nightly-2022-06-22 and newer I had the following error:

With toolchain nightly-2022-08-13 and newer I had the following error:

As soon as a current nightly is working, we can try to enable the RISC-V Bitmanip extensions:
rust-lang/rust@be8fd0e
perhaps it's just as easy as adding the following line to the target-spec-json.

"features": "+m,+a,+c,+f,+zba,+zbb",

rustc +nightly -Z unstable-options --print target-spec-json --target riscv32imac-unknown-none-elf | jq -S '."is-builtin"=false | ."features"=("+m,+a,+c,+f,+zba,+zbb") | . + {"llvm-abiname":"ilp32f","executables":true}' | tee riscv32imafbc-unknown-none-elf.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant