[U-Boot-Users] EABI problem

Philip Balister
2007-07-06T14:02:24Z

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3303 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.denx.de/pipermail/u-boot/attachments/20070706/7f059977/attachment.bin