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

Recent versions of RISC-V gcc require "zicsr" in the compile line. #87

Open
RTimothyEdwards opened this issue Jul 21, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@RTimothyEdwards
Copy link
Contributor

Recently when I compile the RISC-V toolchain, I cannot get caravel_board examples to compile unless I modify the compile line to change -march=rv32i to -march=rv32i_zicsr.

Apparently this is because there were optional libraries previously included into the code by default that no longer are; the "zicsr" library is one of these. I believe that means that making the change is backwardly-compatible with earlier versions of the RISC-V gcc toolchain, but that needs to be confirmed.

This problem has been reported by multiple people.

@RTimothyEdwards RTimothyEdwards added the bug Something isn't working label Jul 21, 2023
@Aidan-McNay
Copy link
Contributor

Aidan-McNay commented Jul 22, 2023

@jeffdi @RTimothyEdwards I noticed this as well - the PR #86 should resolve this :)

@RTimothyEdwards
Copy link
Contributor Author

@Aidan-McNay : Thanks for pointing to your pull request. I'll review it so that it can get merged. (Heads up, @jeffdi )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants