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

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

Hi Axel,
On Tue, 10 Sep 2013 13:54:03 +0800, Axel Lin axel.lin@ingics.com wrote:
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,

On Tue, 10 Sep 2013 13:42:44 +0200, Albert ARIBAUD albert.u.boot@aribaud.net wrote:
Hi Axel,
On Tue, 10 Sep 2013 13:54:03 +0800, Axel Lin axel.lin@ingics.com wrote:
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,
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 michael@schwingen.org for actux* and dvlhost; cc:ing Stefan Roese sr@denx.de for pdnb3 and scpu.
Amicalement,

On Tue, Sep 10, 2013 at 01:42:44PM +0200, Albert ARIBAUD wrote:
Hi Axel,
On Tue, 10 Sep 2013 13:54:03 +0800, Axel Lin axel.lin@ingics.com wrote:
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.
OK, my fault for including that patch, skimmed my test reports too quickly. I shall revert and reply to the patch.
participants (3)
-
Albert ARIBAUD
-
Axel Lin
-
Tom Rini