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

Example does not compile with on current nightly toolchain #34

Closed
a-gavin opened this issue Dec 19, 2022 · 1 comment · Fixed by #35
Closed

Example does not compile with on current nightly toolchain #34

a-gavin opened this issue Dec 19, 2022 · 1 comment · Fixed by #35

Comments

@a-gavin
Copy link
Contributor

a-gavin commented Dec 19, 2022

When attempting to compile any example on current master using rustc 1.65.0 (897e37553 2022-11-02), I am unable to build and get the following compiler error:

$ cargo build --examples --release --all-features
...
= note: rust-lld: error: /home/alex/dev/embedded/riscv/longan-nano-hal/target/riscv32imac-unknown-none-elf/release/build/riscv-rt-2d5693f40486a9d2/out/link.x:58: expected filename pattern
          >>>     (*(.trap));
          >>>     ^
          

error: could not compile `longan-nano` due to previous error

Seeing that this error has been fixed in riscv-rt v0.10.0 (details here), I bumped the riscv-rt version. That fixed the build for me, and I was able to run examples on my device.

@a-gavin
Copy link
Contributor Author

a-gavin commented Jan 31, 2023

Edited PR to use v0.11.0 instead, as all v0.10 versions have been yanked

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

Successfully merging a pull request may close this issue.

1 participant