[RTEMS Project] #4658: Fix build issue with riscv sample test

RTEMS trac trac at rtems.org
Mon May 16 17:40:10 UTC 2022


#4658: Fix build issue with riscv sample test
-------------------------+--------------------
  Reporter:  Ryan Long   |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  normal      |  Milestone:  6.1
 Component:  arch/riscv  |    Version:  6
  Severity:  normal      |   Keywords:
Blocked By:              |   Blocking:
-------------------------+--------------------
 When trying to build the minimum sample test for any RISC-V BSP, the
 following error occurs.



 {{{
 start.o: in function .L0:

 /home/tester/rtems-
 cron-6/rtems/build/riscv/rv32i/../../../bsps/riscv/shared/start/start.S:84:(.bsp_start_text+0x2c):
 relocation truncated to fit: R_RISCV_GPREL_I against symbol
 'bsp_section_bss_size' defined in *ABS* section in /home/tester/rtems-
 cron-6/rtems/build/riscv/rv32i/testsuites/samples/minimum.exe

 collect2: error: ld returned 1 exit status
 }}}

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


More information about the bugs mailing list