Skip to contentSkip to conversation

actux2 build error due to commit 4412db46

U-Boot Axel Lin 3 participants 4 messages Sep 10, 2013

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

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 )
----------------------------------------------------------

#1 lore raw

Hi Axel,

Quoted 3 lines · Axel Lin

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

This one I confirm, git bisect between current u-boot-arm/master commit 68e1747f and u-boot/master commit 985a71d1 hits same bad commit 4412db464.

Cc ing Tom as he committed the change.

Amicalement,

Signature · 1 line
Albert.
#2 lore raw
Quoted 9 lines · Albert ARIBAUD

Hi Axel,

Quoted 3 lines · Axel Lin

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

Quoted 7 lines

This one I confirm, git bisect between current u-boot-arm/master commit 68e1747f and u-boot/master commit 985a71d1 hits same bad commit 4412db464.

Cc ing Tom as he committed the change.

Amicalement,

Actually, the same issue affects the following boards:

actux3 actux1_4_16 actux1_4_32 actux1_8_32 dvlhost actux4 actux1_8_16 actux2 pdnb3 scpu

Cc:ing Michael Schwingen <[email protected]> for actux* and dvlhost; cc:ing Stefan Roese <[email protected]> for pdnb3 and scpu.

Amicalement,

Signature · 1 line
Albert.
#3 lore raw
In reply to Albert ARIBAUD
Quoted 9 lines · Albert ARIBAUD

Hi Axel,

Quoted 3 lines · Axel Lin

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

Quoted 5 lines

This one I confirm, git bisect between current u-boot-arm/master commit 68e1747f and u-boot/master commit 985a71d1 hits same bad commit 4412db464.

Cc ing Tom as he committed the change.

OK, my fault for including that patch, skimmed my test reports too quickly. I shall revert and reply to the patch.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130910/e71a39bd/attachment.pgp>