Topic : ARM GCC

Forum : ARM

Original Post
Post Information Post
December 17, 2007 - 12:34pm
Guest

I use Ride7 V7.00.0002. And would like link the ZigBeeEvalKit 2.0.

I get followig erromessage:

d:/programme/ride7/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.2.0/../../../../arm-none-eabi/bin/ld.exe DISCARD hase both ordered ['.ARM.exidx' in ... /4.2.0\libgcc.a(_divdi3.o)] and unordered [`.vfpll_veneer' in d:/programme/.. .../4.2.0\libgcc.a (_clz.o)] section

final link failed: bad value

I do not find some information in the documentation about this error message. So I do not now where I can look fo my mistake.

Best regards Uwe

Replies
Post Information Post
+1
0
-1
December 17, 2007 - 1:59pm
Guest

Hello,

can you also give me your RKitARM version (visible in Help->About) ?

Thanks
Lionel

+1
0
-1
December 17, 2007 - 2:55pm
Guest

Here the RkitARM versionsnumber 1.01.0001

+1
0
-1
December 17, 2007 - 2:56pm
Guest

execuse my, the rael is 1.01.0002

+1
0
-1
December 17, 2007 - 3:02pm
Guest

I first suggest that you update to the RKitARM v1.03.0004 available here (select "ARM Tools"):

http://www.raisonance.com/download/index.php?active=RIDE7

I think it will solve your problem.

regards
Lionel

+1
0
-1
December 18, 2007 - 12:00pm
Guest

Hello,

my new errors are:

\"D:\programme\Ride7\arm-gcc\bin\arm-none-eabi-gcc.exe" -mcpu=arm7tdmi   -Wl,-T -Xlinker "d:\Eigene Dateien\Dev\ARM\STR71\ZigBeeRevaKit_REL_2.0.1\app\sink_sensor\app\sink.elf.ld" -u _start -Wl,-static -Wl,--gc-sections -nostartfiles -Wl,-Map -Xlinker "d:\Eigene Dateien\Dev\ARM\STR71\ZigBeeRevaKit_REL_2.0.1\app\sink_sensor\app\sink.map"   
 d:/programme/ride7/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/bin/ld.exe: d:\Eigene Dateien\Dev\ARM\STR71\ZigBeeRevaKit_REL_2.0.1\app\sink_sensor\app\sink.elf section .text will not fit in region FLASH  
 d:/programme/ride7/arm-gcc/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/bin/ld.exe: region FLASH overflowed by 956 bytes  
 D:\programme\Ride7\Lib\ARM\STR71x.lib(eic.o): In function `EIC_Init':  
 eic.c:(.text.EIC_Init+0x58): undefined reference to `T0TIMI_Addr'  
 collect2: ld returned 1 exit status  
  
Build failed

At first I made a new STR71x.lib for my STR710FZ2 but the mistake stays.

I think I have to make a new crt0_STR71x.o with .global TOTIMI_Addr but I do not know which obtions I need for the AS call.

regards Uwe

+1
0
-1
December 18, 2007 - 2:32pm
Guest

you should always look at the first error in first place. The undefined references come probably from the fact that the code was truncated: the first error is
region FLASH overflowed by 956 bytes
Can you try to select your application node, go to the LD Linker options, set 'Starter Kit limitation' to "No" and rebuild everything ?

Lionel

+1
0
-1
December 18, 2007 - 3:42pm
Guest

thanks it runs successful.

regards Uwe