[RTEMS Project] #4011: Test compilation error in riscv bsps

RTEMS trac trac at rtems.org
Mon Jun 22 07:06:41 UTC 2020


#4011: Test compilation error in riscv bsps
-------------------------+--------------------
  Reporter:  Jan Sommer  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  normal      |  Milestone:  5.2
 Component:  admin       |    Version:  5
  Severity:  normal      |   Keywords:
Blocked By:              |   Blocking:
-------------------------+--------------------
 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

--
Ticket URL: <http://devel.rtems.org/ticket/4011>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list