[U-Boot] Build failures with older toolchain

Albert ARIBAUD albert.aribaud at free.fr
Mon Nov 29 11:32:33 CET 2010


Le 29/11/2010 10:47, Premi, Sanjeev a écrit :

> Albert,
>
> I saw some more - what I believe related changes - since last week;
> but the linker error still persists.
>
> with 2009-q1 toolchain:
> -----------------------
> busb_phy.o drivers/video/libvideo.o drivers/watchdog/libwatchdog.o common/libcommon.o lib/libfdt/libfdt.o api/libapi.o post/libpost.o arch/arm/cpu/armv7/omap-common/libomap-common.o board/ti/evm/libevm.o --end-group /db/psp_git/users/a0756819/u-boot/arch/arm/lib/eabi_compat.o -L /opt/codesourcery/2009q1-203/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3 -lgcc -Map u-boot.map -o u-boot
> arm-none-linux-gnueabi-ld: section .bss [8003f5c0 ->  8007e31f] overlaps section .rel.dyn [8003f5c0 ->  80044e4f]
> arm-none-linux-gnueabi-ld: section .dynsym [80044e50 ->  80044eef] overlaps section .bss [8003f5c0 ->  8007e31f]
> arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x8003f5c0 overlaps previous sections
> make: *** [u-boot] Error 1
>
> with 2010-q1 toolchain:
> -----------------------
> mmon/libomap-common.o board/ti/evm/libevm.o --end-group /db/psp_git/users/a0756819/u-boot/arch/arm/lib/eabi_compat.o -L /opt/codesourcery/2010q1-202/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/armv4t -lgcc -Map u-boot.map -o u-boot
> arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x8003e8e0 overlaps previous sections
> arm-none-linux-gnueabi-objcopy -O srec u-boot u-boot.srec
> arm-none-linux-gnueabi-objcopy --gap-fill=0xff -O binary u-boot u-boot.bin

Weird... I've compiled v2010.12-rc2, for boards omap3_evm, omap3_overo 
and omap3_beagle, with 2010q1, and here is what I get, which is quite 
different from what you get:

albert at lilith:~/src/u-boot$ ./MAKEALL omap3_evm omap3_overo omap3_beagle
Configuring for omap3_evm board...
start.S: Assembler messages:
start.S:144: Error: constant expression expected -- `ldr 
sp,=((0x4020FFFC-CONFIG_SYS_GBL_DATA_SIZE))'
make[1]: *** [start.o] Erreur 1
make: *** [arch/arm/cpu/armv7/start.o] Erreur 2
make: *** Attente des tâches non terminées....
arm-none-linux-gnueabi-size: './u-boot': No such file
Configuring for omap3_overo board...
    text	   data	    bss	    dec	    hex	filename
  212965	  10840	 210624	 434429	  6a0fd	./u-boot
Configuring for omap3_beagle board...
    text	   data	    bss	    dec	    hex	filename
  243182	  11300	 203648	 458130	  6fd92	./u-boot

--------------------- SUMMARY ----------------------------
Boards compiled: 3
Boards with warnings or errors: 1 ( omap3_evm )
----------------------------------------------------------
albert at lilith:~/src/u-boot$

> Best regards,
> Sanjeev

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list