public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Build failures with older toolchain
@ 2010-11-19 18:50 Premi, Sanjeev
  2010-11-19 19:43 ` Premi, Sanjeev
  0 siblings, 1 reply; 28+ messages in thread
From: Premi, Sanjeev @ 2010-11-19 18:50 UTC (permalink / raw)
  To: u-boot

Hi all,

I pulled u-boot about an hour ago and master is at this commit:

    Author: Matthias Weisser <weisserm@arcor.de>
    Date:   Thu Nov 18 09:35:09 2010 +0100

        Makefile: Fix build with USE_PRIVATE_LIBGCC

(plus a small change in omap3_config.h - unrelated) 

When trying to build u-boot I was constantly, getting these errors:
arm-none-linux-gnueabi-ld: section .bss [8003f5c8 -> 8007e327] overlaps section .rel.dyn [8003f5c8 -> 80044e57]
arm-none-linux-gnueabi-ld: section .dynsym [80044e58 -> 80044ef7] overlaps section .bss [8003f5c8 -> 8007e327]
arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x8003f5c8 overlaps previous sections

Tried to build omap3_beagle and there were no issues; unable to
debug for long, I decided to come back on this problem later.
Opened a new window and started working on my Linux tree.

Returned back to u-boot, and this time build was successful for no
evident change. Took me some time to realise that the toolchain
I was using to work on Linux repo was different - I use an env
script based on activity.

To verify the doubts, I explicitly ran this command with two different
versions of toolchain in my path and I see different results. Here are
last few lines of final build step


Failure with Codesourcery 2009q1-203:

h/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 [8003f5c8 -> 8007e327] overlaps section .rel.dyn [8003f5c8 -> 80044e57]
arm-none-linux-gnueabi-ld: section .dynsym [80044e58 -> 80044ef7] overlaps section .bss [8003f5c8 -> 8007e327]
arm-none-linux-gnueabi-ld: u-boot: section .bss vma 0x8003f5c8 overlaps previous sections
make: *** [u-boot] Error 1
premi # pwd
/home/premi/git/u-boot
premi #

Success with Codesourcery 2010q1-202:

19/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 0x8003e8e8 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
premi # pwd
/home/premi/git/u-boot
premi #

The configuration for beagle still build successfully for both toolchain versions.
Any clues/ suggestions? Is there a recent change which hasn't yet been adapted or
ported for omap3evm?

Best regards,
Sanjeev

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2010-12-01 15:18 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-19 18:50 [U-Boot] Build failures with older toolchain Premi, Sanjeev
2010-11-19 19:43 ` Premi, Sanjeev
2010-11-19 20:13   ` Wolfgang Denk
2010-11-22  9:14     ` Premi, Sanjeev
2010-11-22 13:50       ` Premi, Sanjeev
2010-11-22 14:31         ` Albert ARIBAUD
2010-11-22 14:42           ` Premi, Sanjeev
2010-11-22 15:02           ` Premi, Sanjeev
2010-11-22 15:23             ` Albert ARIBAUD
2010-11-22 15:27               ` Premi, Sanjeev
2010-11-22 15:35                 ` Albert ARIBAUD
2010-11-29  9:47                 ` Premi, Sanjeev
2010-11-29 10:32                   ` Albert ARIBAUD
2010-11-29 10:37                     ` Premi, Sanjeev
2010-11-29 11:29                       ` Wolfgang Denk
2010-11-29 11:48                         ` Premi, Sanjeev
2010-11-29 12:05                           ` Wolfgang Denk
2010-11-29 15:08                             ` Premi, Sanjeev
2010-11-29 15:33                               ` Albert ARIBAUD
2010-11-29 15:39                                 ` Premi, Sanjeev
2010-11-30 14:25                               ` Premi, Sanjeev
2010-11-30 16:44                                 ` Dirk Behme
2010-11-30 18:23                                   ` Premi, Sanjeev
2010-12-01 14:56                                 ` Premi, Sanjeev
2010-12-01 15:02                                   ` Albert ARIBAUD
2010-12-01 15:18                                     ` Premi, Sanjeev
2010-11-29 10:35                   ` Wolfgang Denk
2010-11-29 10:44                     ` Premi, Sanjeev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox