/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Compiler Error: non_debuggable_code

Username:     
Password:     
             

Forum

# 1   2011-05-05 13:37:42 Compiler Error: non_debuggable_code

Fimbulvetr
New member
Registered: 2011-03-29
Posts: 7

Compiler Error: non_debuggable_code

Hi while compiling my project i got this error:

Code:

Running: LD Linker 
 "C:\Program Files (x86)\Raisonance\Ride\arm-gcc\bin\arm-none-eabi-gcc.exe" -mcpu=cortex-m3 -mthumb -Wl,-T -Xlinker "C:\Users\Christian\Desktop\GTM Projekt\Apps\GTM_Projekt\objdebug\GTM_Projekt.elf.ld" -u _start  -nostartfiles -Wl,-Map -Xlinker "C:\Users\Christian\Desktop\GTM Projekt\Apps\GTM_Projekt\objdebug\GTM_Projekt.map"   
 c:/program files (x86)/raisonance/ride/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.5.1/../../../../arm-none-eabi/bin/ld.exe: section .non_debuggable_code loaded at [0800943c,0800a783] overlaps section .data loaded at [0800943c,0800958b]  
 collect2: ld returned 1 exit status  
  
Build failed

hope someone can help fixing it? thanks smile

Offline

 

# 2   2011-05-09 09:33:54 Compiler Error: non_debuggable_code

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: Compiler Error: non_debuggable_code

It means that the "non debuggable code" area is too big. Normally, you can fix it with modifying the linker script. I suppose you are trying to compile a modified version of CircleOS ?
But I'm supprised with the indicated addresses. Which Primer do you use ?

Offline

 

# 3   2011-05-09 15:15:06 Compiler Error: non_debuggable_code

Fimbulvetr
New member
Registered: 2011-03-29
Posts: 7

Re: Compiler Error: non_debuggable_code

i´ve fixed, my failure was to add some big c files to my project.
thanks for the answer smile

Offline

 

Board footer