syscall.h file missing from Toolchain
Hi, when we run the hello_world test example there is an error message of missing syscall.h file. we are working with Toolchain corev-openhw-gcc-centos7-20221021 (And try some other as well....) This is the error message we are getting:
home/liore/Desktop/katana2/risc-v/core-v-verif-master/mk/Common.mk:323: RISCV_CFLAGS set to
- Compiling the BSP
mkdir -p simulation_results/hello-world/0/test_program/bsp
cp /home/liore/Desktop/katana2/risc-v/core-v-verif-master/cv32e40p/bsp/Makefile simulation_results/hello-world/0/test_program/bsp
make -C simulation_results/hello-world/0/test_program/bsp
VPATH=/home/liore/Desktop/katana2/risc-v/core-v-verif-master/cv32e40p/bsp
RISCV=/home/liore/Desktop/katana2/corev-openhw-gcc-centos7-20221021
RISCV_PREFIX=riscv32-corev-elf-
RISCV_EXE_PREFIX=/home/liore/Desktop/katana2/corev-openhw-gcc-centos7-20221021/bin/riscv32-corev-elf-
RISCV_MARCH=rv32imc_zisrc
RISCV_CC=gcc
RISCV_CFLAGS=""
all
make[3]: Entering directory /home/liore/Desktop/katana2/risc-v/core-v-verif-master/cv32e40p/sim/core/simulation_results/hello-world/0/test_program/bsp' /home/liore/Desktop/katana2/corev-openhw-gcc-centos7-20221021/bin/riscv32-corev-elf-gcc -Os -g -static -mabi=ilp32 -march=rv32imc_zisrc -Wall -pedantic -c /home/liore/Desktop/katana2/risc-v/core-v-verif-master/cv32e40p/bsp/syscalls.c -o syscalls.o /home/liore/Desktop/katana2/risc-v/core-v-verif-master/cv32e40p/bsp/syscalls.c:27:10: fatal error: machine/syscall.h: No such file or directory 27 | #include <machine/syscall.h> | ^~~~~~~~~~~~~~~~~~~ compilation terminated. make[3]: *** [syscalls.o] Error 1 make[3]: Leaving directory /home/liore/Desktop/katana2/risc-v/core-v-verif-master/cv32e40p/sim/core/simulation_results/hello-world/0/test_program/bsp'
make[2]: *** [bsp] Error 2
make[2]: Leaving directory /home/liore/Desktop/katana2/risc-v/core-v-verif-master/cv32e40p/sim/core' make[1]: *** [/home/liore/Desktop/katana2/risc-v/core-v-verif-master/cv32e40p/tests/programs/custom/hello-world/hello-world.elf] Error 2 make[1]: Leaving directory /home/liore/Desktop/katana2/risc-v/core-v-verif-master/cv32e40p/sim/core'
make: *** [sanity-veri-run] Error 2
Sorry, I'm not sure this is a Gemmini issue? I don't recognize any of the paths in your error log.