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

RTEMS trac trac at rtems.org
Fri Feb 25 21:21:35 UTC 2022


#4618: rtems-bsp-builder fails to parse riscv error message
---------------------------------------+--------------------------
 Reporter:  Ryan Long                  |       Owner:  Chris Johns
     Type:  defect                     |      Status:  assigned
 Priority:  normal                     |   Milestone:  6.1
Component:  tool                       |     Version:  6
 Severity:  normal                     |  Resolution:
 Keywords:  SoC,small,tools,ecosystem  |  Blocked By:
 Blocking:                             |
---------------------------------------+--------------------------
Changes (by Joel Sherrill):

 * owner:  (none) => Chris Johns
 * status:  new => assigned


Old description:

> 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
> }}}

New description:

 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!


 Possible Mentors: Chris Johns
 Skills: Python, C
 Difficulty: Medium
   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#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list