dl06 fails to build for RISC-V (griscv bsp)
Jiri Gaisler
jiri at gaisler.se
Sat Sep 5 20:32:06 UTC 2020
I have updated both RTEMS and RSB to git head, and dl06 now fails to build:
riscv-rtems6-g++ -march=rv32imafd -mabi=ilp32d -O2 -g -ffunction-sections -fdata-sections -Wall -Wl,--gc-sections -march=rv32imafd -mabi=ilp32d -B./../../lib/libbsp/riscv/griscv -B/home/jiri/ibm/src/rtems/rtems/bsps/riscv/griscv/start -specs bsp_specs -qrtems -L./../../cpukit -L/home/jiri/ibm/src/rtems/rtems/bsps/riscv/shared/start -Wl,--wrap=printf -Wl,--wrap=puts -Wl,--wrap=putchar -o dl05.exe dl05/dl05-init.o dl05/dl05-dl-load.o dl05/dl05-dl-cpp.o dl05-dl05-tar.o ../../lib/libbsp/riscv/griscv/librtemsbsp.a ../../cpukit/librtemscpu.a ../../cpukit/librtemstest.a dl05-sym.o
rtems-ld -r /home/jiri/src/rtems/riscvmp/riscv-rtems6/c/griscv \
-C riscv-rtems6-gcc -c "-march=rv32imafd -mabi=ilp32d" \
-O rap -b dl06.pre -e rtems_main -s \
-o dl06.rap dl06-o1.o dl06-o2.o -lm
error: rap::object: Section index '0' not found: dl06-o1.o
Makefile:8528: recipe for target 'dl06.rap' failed
make[5]: *** [dl06.rap] Error 10
It seems like dl06-o1.o not built but a link is attempted - is dl06 supposed to be enabled or disabled for RISC-V ?
Jiri.
More information about the devel
mailing list