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
If you set RISCV_GCC_OPTS in your make invocation by removing that flag from the default value of RISCV_GCC_OPTS in benchmarks/Makefile, this error should go away. It might break the tests since they come with their own string.h function implementations.
mkdir -p benchmarks
make -C benchmarks -f /home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/Makefile src_dir=/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks XLEN=64
make[1]: Entering directory '/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks'
riscv64-unknown-elf-gcc -I/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/../env -I/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/common -I/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/median -I/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/qsort -I/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/rsort -I/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/towers -I/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/vvadd -I/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/multiply -I/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/mm -I/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/dhrystone -I/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/spmv -I/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/mt-vvadd -I/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/mt-matmul -I/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/pmp -DPREALLOCATE=1 -mcmodel=medany -static -std=gnu99 -O2 -ffast-math -fno-common -fno-builtin-printf -fno-tree-loop-distribute-patterns -o median.riscv /home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/median/median_main.c /home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/median/median.c /home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/common/syscalls.c /home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/common/crt.S -static -nostdlib -nostartfiles -lm -lgcc -T /home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/common/test.ld
clang-17: error: unknown argument: '-fno-tree-loop-distribute-patterns'
/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks/Makefile:54: recipe for target 'median.riscv' failed
make[1]: *** [median.riscv] Error 1
make[1]: Leaving directory '/home/gaofeng2/mySrc/RISCV/riscv-tests/benchmarks'
Makefile:24: recipe for target 'benchmarks' failed
make: *** [benchmarks] Error 2
The text was updated successfully, but these errors were encountered: