[U-Boot-Users] EABI problem

Patrice Vilchez patrice.vilchez at rfo.atmel.com
Fri Jul 6 16:15:39 CEST 2007


Philip Balister a écrit :
> Patrice Vilchez wrote:
>>> Which board?
>>>
>>>   
>>     For an AT91SAM9263EK board.
>>     I am adding  AT91 evaluation kits support to u-boot 1.2.0 and I 
>> did some tests which several EABI compiler  :  codesourcery ,  open 
>> embedded and buildroot.
>>     It seems when there is a 64 bits division the compiler refers to 
>> "_udivdi3" which is not implemented into "u-boot/lib_arm/"  library 
>> and then try to link with libgcc from compiler  :
>
> I am also using an EABI compiler (from openembedded) and see these 
> messages (among some other problems):
>
> /home/balister/oe/tmp/cross/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/libgcc.a(_dvmd_lnx.o): 
> In function `__div0':
> /home/balister/oe/tmp/work/armv5te-angstrom-linux-gnueabi/gcc-cross-4.1.2-r4/gcc-4.1.2/gcc/config/arm/lib1funcs.asm:1001: 
> undefined reference to `raise'
> /home/balister/oe/tmp/cross/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/libgcc.a(_divdi3.o):(.ARM.exidx+0x0): 
> undefined reference to `__aeabi_unwind_cpp_pr0'
> /home/balister/oe/tmp/cross/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/libgcc.a(_udivdi3.o):(.ARM.exidx+0x0): 
> undefined reference to `__aeabi_unwind_cpp_pr0'
> make: *** [u-boot] Error 1
>
> Philip
     Are you compiling a file with a 64 bits division ?
     I my case it was driver/nand/nand_utils.c enabled by adding 
"CFG_CMD_NAND" to CONFIG_COMMANDS.

Patrice.






More information about the U-Boot mailing list