[U-Boot] actux2 build error due to commit 4412db46

Axel Lin axel.lin at ingics.com
Tue Sep 10 07:54:03 CEST 2013


Hi Jack,
I hit below build error, revert commit 4412db464
"standalone-examples: support custom GCC lib" fixes the build error.

$ ./MAKEALL actux2
Configuring for actux2 board...
make[1]: *** [hello_world] Error 1
make: *** [examples/standalone] Error 2
   text	   data	    bss	    dec	    hex	filename
 226235	   4912	 543728	 774875	  bd2db	./u-boot
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__aeabi_llsl':
/home/axel/repos/git/u-boot/arch/arm/lib/_ashldi3.S:20: multiple definition of `__ashldi3'
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o:/home/axel/repos/git/u-boot/arch/arm/lib/_ashldi3.S:20: first defined here
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__lshrdi3':
/home/axel/repos/git/u-boot/arch/arm/lib/_lshrdi3.S:20: multiple definition of `__aeabi_llsr'
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o:/home/axel/repos/git/u-boot/arch/arm/lib/_lshrdi3.S:20: first defined here
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__aeabi_uidiv':
/home/axel/repos/git/u-boot/arch/arm/lib/_udivsi3.S:20: multiple definition of `__udivsi3'
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o:/home/axel/repos/git/u-boot/arch/arm/lib/_udivsi3.S:20: first defined here
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__lshrdi3':
/home/axel/repos/git/u-boot/arch/arm/lib/_lshrdi3.S:20: multiple definition of `__lshrdi3'
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o:/home/axel/repos/git/u-boot/arch/arm/lib/_lshrdi3.S:20: first defined here
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__umodsi3':
/home/axel/repos/git/u-boot/arch/arm/lib/_umodsi3.S:18: multiple definition of `__umodsi3'
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o:/home/axel/repos/git/u-boot/arch/arm/lib/_umodsi3.S:18: first defined here
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__divsi3':
/home/axel/repos/git/u-boot/arch/arm/lib/_divsi3.S:83: multiple definition of `__aeabi_idiv'
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o:/home/axel/repos/git/u-boot/arch/arm/lib/_divsi3.S:83: first defined here
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__aeabi_lasr':
/home/axel/repos/git/u-boot/arch/arm/lib/_ashrdi3.S:20: multiple definition of `__ashrdi3'
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o:/home/axel/repos/git/u-boot/arch/arm/lib/_ashrdi3.S:20: first defined here
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__aeabi_lasr':
/home/axel/repos/git/u-boot/arch/arm/lib/_ashrdi3.S:20: multiple definition of `__aeabi_lasr'
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o:/home/axel/repos/git/u-boot/arch/arm/lib/_ashrdi3.S:20: first defined here
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__div0':
/home/axel/repos/git/u-boot/arch/arm/lib/div0.c:13: multiple definition of `__div0'
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o:/home/axel/repos/git/u-boot/arch/arm/lib/div0.c:13: first defined here
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__aeabi_uidiv':
/home/axel/repos/git/u-boot/arch/arm/lib/_udivsi3.S:20: multiple definition of `__aeabi_uidiv'
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o:/home/axel/repos/git/u-boot/arch/arm/lib/_udivsi3.S:20: first defined here
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__divsi3':
/home/axel/repos/git/u-boot/arch/arm/lib/_divsi3.S:83: multiple definition of `__divsi3'
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o:/home/axel/repos/git/u-boot/arch/arm/lib/_divsi3.S:83: first defined here
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__aeabi_llsl':
/home/axel/repos/git/u-boot/arch/arm/lib/_ashldi3.S:20: multiple definition of `__aeabi_llsl'
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o:/home/axel/repos/git/u-boot/arch/arm/lib/_ashldi3.S:20: first defined here
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__aeabi_uidivmod':
/home/axel/repos/git/u-boot/arch/arm/lib/_udivsi3.S:78: multiple definition of `__aeabi_uidivmod'
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o:/home/axel/repos/git/u-boot/arch/arm/lib/_udivsi3.S:78: first defined here
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__modsi3':
/home/axel/repos/git/u-boot/arch/arm/lib/_modsi3.S:66: multiple definition of `__modsi3'
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o:/home/axel/repos/git/u-boot/arch/arm/lib/_modsi3.S:66: first defined here
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__aeabi_idivmod':
/home/axel/repos/git/u-boot/arch/arm/lib/_udivsi3.S:88: multiple definition of `__aeabi_idivmod'
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o:/home/axel/repos/git/u-boot/arch/arm/lib/_udivsi3.S:88: first defined here
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__div0':
div0.c:(.text.__div0+0x0): undefined reference to `hang'
/home/axel/repos/git/u-boot/arch/arm/lib/libgcc.o: In function `__div0':
div0.c:(.text.__div0+0x0): undefined reference to `hang'
make[1]: *** [hello_world] Error 1
make: *** [examples/standalone] Error 2

--------------------- SUMMARY ----------------------------
Boards compiled: 1
Boards with errors: 1 ( actux2 )
----------------------------------------------------------




More information about the U-Boot mailing list