-
Notifications
You must be signed in to change notification settings - Fork 1.2k
RV32IMA build is broken #185
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
Btw, RV32G, RV64IMA RV64G is ok |
I think I at least have a workaround: pass "--with-arch=RV32IMA" instead of "--with-xlen=32 --disable-float"
There's two commits inside the submodule bumps that look like they could be relevant to me: The fact that changing "--with-arch" changes the behavior makes me think it's the GCC commit, as that's the one that explicitly parses an ISA string. I'm trying this
under the assumption that the comment is correct, but it's just a guess (I don't know what with_float="" means). |
OK, it looks like it's working for me: riscvarchive/riscv-gcc@1ab8b1e |
It's break more build, the riscvarchive/riscv-gcc@1ab8b1e seem treat empty ISA string as IMA not G. However my RV32IMA still build fail after follow change, and make RV64IMA build fail:
|
The root cause seem the gcc no longer pass -msoft-float/-mhard-float kito-cheng/riscv-gcc@93fb18c, it's make .s/.S get wrong ABI flag, however it's introduce new test fail after fix [1].
[1] https://github.com/kito-cheng/riscv-gcc/commits/empty-isa-string
|
Can you update document in Document for |
riscvarchive/riscv-gcc#9 is make it build-able with |
OK, so I think this is all set. Thanks for the all the work! |
RV32IMA build is broken after 55f8308
The text was updated successfully, but these errors were encountered: