[U-Boot] Compilation erros while trying at compile ARM DaVinci

Paulraj, Sandeep
2009-08-10T15:33:01Z

> -----Original Message-----
> From: Eric B?nard [mailto:eric at eukrea.com]
> Sent: Monday, August 10, 2009 11:26 AM
> To: Paulraj, Sandeep
> Cc: u-boot at lists.denx.de
> Subject: Re: [U-Boot] Compilation erros while trying at compile ARM
> DaVinci
>
> Hi,
>
> aulraj, Sandeep a ?crit :
> > I get the following compilation errors when I try to compile DaVinci
> DM355 on the latest U-Boot source. I thought I saw similar issues on the
> mailing list some time back. Have these been resolved?
> >
> >
> > 3.2/libgcc.a(_udivsi3.o) has EABI version 5, but target u-boot has EABI
> version 0
> > arm-none-linux-gnueabi-ld: failed to merge target specific data of file
> /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-
> gnueabi/4.3.2/libgcc.a(_udivsi3.o)
> > arm-none-linux-gnueabi-ld: ERROR: Source object
> /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-
> gnueabi/4.3.2/libgcc.a(_divsi3.o) has EABI version 5, but target u-boot
> has EABI version 0
> > arm-none-linux-gnueabi-ld: failed to merge target specific data of file
> /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-
> gnueabi/4.3.2/libgcc.a(_divsi3.o)
> > arm-none-linux-gnueabi-ld: ERROR: Source object
> /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-
> gnueabi/4.3.2/libgcc.a(_umodsi3.o) has EABI version 5, but target u-boot
> has EABI version 0
> > arm-none-linux-gnueabi-ld: failed to merge target specific data of file
> /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-
> gnueabi/4.3.2/libgcc.a(_umodsi3.o)
> > arm-none-linux-gnueabi-ld: ERROR: Source object
> /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-
> gnueabi/4.3.2/libgcc.a(_modsi3.o) has EABI version 5, but target u-boot
> has EABI version 0
> > arm-none-linux-gnueabi-ld: failed to merge target specific data of file
> /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-
> gnueabi/4.3.2/libgcc.a(_modsi3.o)
> > arm-none-linux-gnueabi-ld: ERROR: Source object
> /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-
> gnueabi/4.3.2/libgcc.a(_dvmd_lnx.o) has EABI version 5, but target u-boot
> has EABI version 0
> > arm-none-linux-gnueabi-ld: failed to merge target specific data of file
> /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-
> gnueabi/4.3.2/libgcc.a(_dvmd_lnx.o)
> > /opt/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-linux-
> gnueabi/4.3.2/libgcc.a(_dvmd_lnx.o): In function `__aeabi_ldiv0':
> > (.text+0x8): undefined reference to `raise
> >
> try to add USE_PRIVATE_LIBGCC=yes to you make commande.
[Sandeep] It compiles. Is this some kind of a permanent solution?
I see lots of e-mails on arm not including libgcc.
>
> Eric