[U-Boot] u-boot-2010.03 build errors with USE_PRIVATE_LIBGCC=yes option

Vipin KUMAR
2010-07-15T08:59:52Z

Ciao Fabio,

On 7/15/2010 1:45 PM, Fabio Giovagnini wrote:
> I had a similar problem with sh2a 7203 based board and gcc version 4.4.1
> (Sourcery G++ Lite 4.4-206)
> Verify if the undefined symbols are of libgcc.
>

They must be, because I can compile the source without USE_PRIVATE_LIBGCC=yes option
But due to a few constraints, I have to compile the code with USE_PRIVATE_LIBGCC=yes
option enabled

Regards
Vipin

> Regards
>
> In data gioved? 15 luglio 2010 09:01:43, Vipin KUMAR ha scritto:
> : > Hello,
>>
>> While building uboot-2010.03 for any arm board, with USE_PRIVATE_LIBGCC=yes
>> is throwing the following errors.
>>
>> Any help would be appriciated
>>
>> net/libnet.a(net.o): In function `ip_to_string':
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/net/net.c:1886:
>> undefined reference to `__bswapsi2' net/libnet.a(nfs.o): In function
>> `__fswab32':
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byteor
>> der/swab.h:113: undefined reference to `__bswapsi2' net/libnet.a(bootp.o):
>> In function `__fswab32':
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byteor
>> der/swab.h:113: undefined reference to `__bswapsi2'
>> common/libcommon.a(cmd_bootm.o): In function `__fswab32':
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/include/linux/byteor
>> der/swab.h:113: undefined reference to `__bswapsi2'
>> common/libcommon.a(cmd_nand.o): In function `nand_load_image':
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/common/cmd_nand.c:54
>> 2: undefined reference to `__bswapsi2'
>> common/libcommon.a(cmd_nvedit.o):/data/csd_sw/spear/drives_os/vipink/spear
>> /uboot/u-boot/common/cmd_nvedit.c:369: more undefined references to
>> `__bswapsi2' follow lib/libgeneric.a(display_options.o): In function
>> `print_size':
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_options.
>> c:66: undefined reference to `__aeabi_uldivmod'
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_options
>> .c:69: undefined reference to `__aeabi_uldivmod'
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/display_options
>> .c:70: undefined reference to `__aeabi_uldivmod'
>> lib/libgeneric.a(net_utils.o): In function `string_to_ip':
>> /data/csd_sw/spear/drives_os/vipink/spear/uboot/u-boot/lib/net_utils.c:40:
>> undefined reference to `__bswapsi2' make: *** [u-boot] Error 1
>>
>> Thanks in advance
>>
>> Regards
>> Vipin
>> _______________________________________________
>> U-Boot mailing list
>> U-Boot at lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
>>
>