#4011 new defect

Test compilation error in riscv bsps

Reported by: Jan Sommer Owned by:
Priority: normal Milestone: 5.2
Component: admin Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

Configuring the riscv bsps with --enable-tests fails to build at least the dl06 test.

../rtems-5.0.0-m2006-2/configure --target=riscv-rtems5 --prefix../install/bsps --disable-networking --enable-tests --enable-rtemsbsp=griscv

Error during the compilation step:

rtems-ld -r /localdata2/somm_ja/rtems/5-0-rc/build-riscv/riscv-rtems5/c/griscv \

-C riscv-rtems5-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:8479: recipe for target 'dl06.rap' failed
make[5]: * [dl06.rap] Error 10
make[5]: Leaving directory '/localdata2/somm_ja/rtems/5-0-rc/build-riscv/riscv-rtems5/c/griscv/testsuites/libtests'
Makefile:663: recipe for target 'libtests' failed
make[4]:
* [libtests] Error 2
make[4]: Leaving directory '/localdata2/somm_ja/rtems/5-0-rc/build-riscv/riscv-rtems5/c/griscv/testsuites'
Makefile:1222: recipe for target 'testsuites' failed
make[3]: * [testsuites] Error 2
make[3]: Leaving directory '/localdata2/somm_ja/rtems/5-0-rc/build-riscv/riscv-rtems5/c/griscv'
Makefile:716: recipe for target 'all-recursive' failed
make[2]:
* [all-recursive] Error 1
make[2]: Leaving directory '/localdata2/somm_ja/rtems/5-0-rc/build-riscv/riscv-rtems5/c/griscv'
Makefile:289: recipe for target 'all-recursive' failed
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory '/localdata2/somm_ja/rtems/5-0-rc/build-riscv/riscv-rtems5/c'
Makefile:410: recipe for target 'all-recursive' failed
make:
* [all-recursive] Error 1
make all 112,71s user 27,01s system 102% cpu 2:16,13 total

Change History (0)

Note: See TracTickets for help on using tickets.