Opened on 05/16/22 at 17:40:10
Closed on 11/29/22 at 23:55:04
#4658 closed defect (fixed)
Fix build issue with riscv sample test
Reported by: | Ryan Long | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 6.1 |
Component: | arch/riscv | Version: | 6 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
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
Change History (4)
comment:1 Changed on 05/18/22 at 06:26:58 by Sebastian Huber
comment:4 Changed on 11/29/22 at 23:55:04 by Chris Johns
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
I cannot reproduce this issue on my development machines. It could be an issue in the linker. I would run the linker in GDB and try to debug it to figure out what is going on.