Closed karlp closed 5 months ago
following patch "fixes" it, but unsure if that's where you want things done:
$ git diff
diff --git a/hw/bsp/tm4c123/boards/ek_tm4c123gxl/tm4c123.ld b/hw/bsp/tm4c123/boards/ek_tm4c123gxl/tm4c123.ld
index 351857bd6..f70f253bd 100644
--- a/hw/bsp/tm4c123/boards/ek_tm4c123gxl/tm4c123.ld
+++ b/hw/bsp/tm4c123/boards/ek_tm4c123gxl/tm4c123.ld
@@ -24,6 +24,7 @@ SECTIONS
*(.fini)
*(.rodata)
*(.rodata.*)
+ *(.ARM.exidx*)
. = ALIGN(4) ;
__end_text = . ;
} >FLASH
which gcc version you are using ?
arm-none-eabi-gcc (Arm GNU Toolchain 12.3.Rel1 (Build arm-12.35)) 12.3.1 20230626
ah thanks, my pc (and ci) is currently running with gcc 11. I will try to update and test this soon enough.
Operating System
Linux
Board
ek_tm4c123gxl
Firmware
Attempting to build the examples:
What happened ?
Linking fails due to an overlapping linker section. arm-none-eabi/bin/ld: section .ARM.exidx LMA [000053f8,000053ff] overlaps section .data LMA [000053f8,0000746f]
I can't see anything obviously wrong with
./hw/mcu/ti/tm4c123xx/CMSIS/5.7.0/Device/ARM/ARMCM4/Source/GCC/gcc_arm.ld
but I also can't see that it's being used...How to reproduce ?
Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)
Screenshots
No response
I have checked existing issues, dicussion and documentation