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

Vipin KUMAR vipin.kumar at st.com
Thu Jul 15 09:01:43 CEST 2010


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/byteorder/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/byteorder/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/byteorder/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:542: 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


More information about the U-Boot mailing list