Dear FreeRTOS developers,
I'm new to FreeRTOS.
I'm trying to build LM3S811 demo and runs it on qemu. And I got
LD gcc/RTOSDemo.axf
arm-none-eabi-ld: section .text.startup loaded at [0000000000002724,0000000000002893] overlaps section .data loaded at [0000000000002724,0000000000002727]
makedefs:189: recipe for target 'gcc/RTOSDemo.axf' failed
make: *** [gcc/RTOSDemo.axf] Error 1
And my gcc version is
$ arm-none-eabi-ld -V
GNU ld (2.26-4+8) 2.26
Supported emulations:
armelf
I found I need to apply this patch to fix this FTBFS,
Index: standalone.ld
===================================================================
--- standalone.ld (revision 2440)
+++ standalone.ld (working copy)
@@ -42,8 +42,16 @@
_etext = .;
} > FLASH
- .data : AT (ADDR(.text) + SIZEOF(.text))
+ .ARM.exidx :
{
+ *(.ARM.exidx*)
+ *(.gnu.linkonce.armexidx.*)
+ } > FLASH
+
+ _begin_data = .;
+
+ .data : AT ( _begin_data )
+ {
_data = .;
*(vtable)
*(.data)
Should this patch be applied to the project?
Yours,
Paul
Please post your question to the support forum.