riscv-torture
riscv-torture copied to clipboard
Error: ASM file could not be compiled or generated.
I use this comand "make cgentest" and I have this error : output/test.S:5:10: fatal error: riscv_test.h: No such file or directory #include "riscv_test.h" ^~~~~~~~~~~~~~ compilation terminated. Error: ASM file could not be compiled or generated. [success] Total time: 2 s, completed Aug 7, 2017 8:25:46 AM
now i have this other error :
Physical mode Assembler messages: Fatal error: -march=RVIMAFDXhwacha: ISA string must begin with rv32 or rv64 Error: ASM file could not be compiled or generated.
Hi Esolera,
If you go into the following files and add in your version of the riscv it should work. "rocket-chip/torture/testrun/src/main/scala/main.scla" and "rocket-chip/torture/output/Makefile" change -march=RVIMAFXhwacha to for example -march=rv64imafdc ( which is the default config for RV64)
Please let me know if you were able to run the torture test as I'm having problems from just after this part - https://github.com/ucb-bar/riscv-torture/issues/13 Kind Regards, Ciaran
How do you fix this? I run into the same error, thanks in advance
output/test.S:5:10: fatal error: riscv_test.h: No such file or directory #include "riscv_test.h" ^~~~~~~~~~~~~~