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

Fabio Giovagnini fabio.giovagnini at aurion-tech.com
Thu Jul 15 10:15:22 CEST 2010


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.

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
> 

-- 
Fabio Giovagnini

Aurion s.r.l.
P.I e C.F.
00885711200
skype: aurion.giovagnini
Tel. +39.051.594.78.24
Cell. +39.335.83.50.919
www.aurion-tech.com


More information about the U-Boot mailing list