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 used --with-arch=rv64imac_zicsr --with-abi=lp64 for my toolchain configuration and I still get this:
ized opcode csrr a6,mcycleh', extension zicsr' required
make: *** [/home/othman/Reev_EH1/Cores-VeeR-EH1/tools/Makefile:182: printf.o] Error 1
The text was updated successfully, but these errors were encountered:
I don't know if it's accurate but a similar issue happened to me.
I used gcc in https://github.com/riscv-collab/riscv-gnu-toolchain and changed the prefix to /opt/riscv/bin/riscv64-unknown-linux-gnu
Then I got Error: unrecognized opcode csrw 0x7c0,x1, extension zicsr required
I didn't succeed in adding ziscr to the default Makefile. It didn't make sense to simply say ABI = -mabi=ilp32 -march=rv32imc_zicsr, because I got /opt/riscv/lib/gcc/riscv64-unknown-linux-gnu/14.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /opt/riscv/lib/gcc/riscv64-unknown-linux-gnu/14.2.0/../../../../riscv64-unknown-linux-gnu/lib/libgcc_s.so.1: error adding symbols: file in wrong format'
I used --with-arch=rv64imac_zicsr --with-abi=lp64 for my toolchain configuration and I still get this:
ized opcode
csrr a6,mcycleh', extension
zicsr' requiredmake: *** [/home/othman/Reev_EH1/Cores-VeeR-EH1/tools/Makefile:182: printf.o] Error 1
The text was updated successfully, but these errors were encountered: