[RTEMS Project] #4618: rtems-bsp-builder fails to parse riscv error message

RTEMS trac trac at rtems.org
Wed Feb 23 16:33:41 UTC 2022


#4618: rtems-bsp-builder fails to parse riscv error message
------------------------+---------------------------------------
  Reporter:  Ryan Long  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  6.1
 Component:  tool       |    Version:  6
  Severity:  normal     |   Keywords:  SoC,small,tools,ecosystem
Blocked By:             |   Blocking:
------------------------+---------------------------------------
 Sample of output from bsp-builder:

 {{{
    1 debug riscv/rv32iac build:
       configure: /home/tester/rtems-cron-6/rtems/waf configure\
       --prefix=/home/tester/rtems-cron-6/tools/6/bsps\
       --top=/home/tester/rtems-cron-6/rtems --rtems-config=config-riscv-\
       rv32iac-debug.ini
      error: ld/collect2:0 error: no error message found!

   2 profiling riscv/rv32iac build:
       configure: /home/tester/rtems-cron-6/rtems/waf configure\
       --prefix=/home/tester/rtems-cron-6/tools/6/bsps\
       --top=/home/tester/rtems-cron-6/rtems --rtems-config=config-riscv-\
       rv32iac-profiling.ini
      error: ld/collect2:0 error: no error message found!
 }}}

 This output is because the bsp-builder cannot parse the following error
 output from the build.

 {{{
 start.o: in function `.L0 ':
 /home/tester/rtems-
 cron-6/rtems/bsps/riscv/shared/start/start.S:83:(.bsp_start_text+0x28):
 relocation truncated to fit: R_RISCV_GPREL_I against symbol
 `bsp_section_bss_size' defined in *ABS* section in /usr/home/tester/rtems-
 cron-6/rtems/build/riscv/rv32iac/testsuites/samples/minimum.exe
 collect2: error: ld returned 1 exit status
 }}}

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


More information about the bugs mailing list