[U-Boot] Build failures with older toolchain
Premi, Sanjeev
premi at ti.com
Mon Nov 29 11:37:20 CET 2010
> -----Original Message-----
> From: Albert ARIBAUD [mailto:albert.aribaud at free.fr]
> Sent: Monday, November 29, 2010 4:03 PM
> To: u-boot at lists.denx.de
> Cc: Premi, Sanjeev
> Subject: Re: Build failures with older toolchain
>
> 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-gnu
> eabi/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-gnu
> eabi/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$
[sp] Did you apply the patch I sent to off-the-list?
(pasted below)
I had been holding this patch until until the problem is
really solved - just in case there was a relation.
[patch]
diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
index aeb45c6..c93f689 100644
--- a/include/configs/omap3_evm.h
+++ b/include/configs/omap3_evm.h
@@ -348,7 +348,9 @@ extern unsigned int boot_flash_type;
* Support for relocation
*/
#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1
-#define CONFIG_SYS_INIT_SP_ADDR (LOW_LEVEL_SRAM_STACK - CONFIG_SYS_GBL_D
+#define CONFIG_SYS_INIT_SP_ADDR (LOW_LEVEL_SRAM_STACK \
+ - GENERATED_GBL_DATA_SIZE)
+
/*
* Define the board revision statically
[/patch]
>
> > Best regards,
> > Sanjeev
>
> Amicalement,
> --
> Albert.
>
More information about the U-Boot
mailing list