You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use riscv toolchain to compile this project, but encouter following error:
libgcc.a: can't link double-float modules with soft-float modules
I compiled my toolchain using riscv-gnu-toolchain: 2023.06.09 with default configuration. It turns out that the ABI in libgcc.a was set to double-float, whereas the Makefile specified soft-float.
I strongly recommend that the README include instructions for configuring the riscv-gnu-toolchain compilation settings. Below is the configuration that allowed me to successfully compile this repository.
@wasd003 , I encountered same issue, your info is helpful to me, thanks.
BTW, have you any idea on configuration on riscv-gnu-toolchain for this riscv-hyp-tests Makefile like this, i.e. to use mabi of lp64d:
I'm trying to use riscv toolchain to compile this project, but encouter following error:
I compiled my toolchain using riscv-gnu-toolchain: 2023.06.09 with default configuration. It turns out that the ABI in libgcc.a was set to double-float, whereas the Makefile specified soft-float.
I strongly recommend that the README include instructions for configuring the riscv-gnu-toolchain compilation settings. Below is the configuration that allowed me to successfully compile this repository.
Moreover, I also modified Makefile from (1) to (2) to support zicsr
It would be helpful if the README included the above information to assist others in leveraging the repository smoothly.
The text was updated successfully, but these errors were encountered: