Menu

#129 FTBFS: Demo/CORTEX_LM3S811_GCC

v1.0 (example)
closed-invalid
nobody
None
5
2016-04-11
2016-04-11
No

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

Discussion

  • Richard Barry

    Richard Barry - 2016-04-11
    • status: open --> closed-invalid
     
  • Richard Barry

    Richard Barry - 2016-04-11

    Please post your question to the support forum.

     

Log in to post a comment.