[U-Boot] mpq101 board doesn't build w/gcc-4.2

Alex Dubov oakad at yahoo.com
Fri Oct 14 09:11:01 CEST 2011


> From: Kumar Gala <galak at kernel.crashing.org>

> 
> When trying to build it we get:

Hi,

I have looked into it previously but unfortunately, I could not think of a
reasonable solution.

Some revisions of this board have only 16Mb of flash, so I thought it will
be wise to squeeze everything into one flash sector of 256k.

With newer gcc it is not a problem at all (there's even some space left),
but an older one produces slightly bigger image.



> 
> /opt/eldk//usr/bin/powerpc-linux-ld: u-boot: section .text lma 0xfffc0800 
> overlaps previous sections
> /opt/eldk//usr/bin/powerpc-linux-ld: u-boot: section .rodata lma 0xffff03cc 
> overlaps previous sections
> /opt/eldk//usr/bin/powerpc-linux-ld: u-boot: section .reloc lma 0xffffba00 
> overlaps previous sections
> /opt/eldk//usr/bin/powerpc-linux-ld: u-boot: section .data lma 0xffffe474 
> overlaps previous sections
> /opt/eldk//usr/bin/powerpc-linux-ld: u-boot: section .bootpg lma 0xfffff000 
> overlaps previous sections
> /opt/eldk//usr/bin/powerpc-linux-ld: u-boot: section .resetvec lma 0xfffffffc 
> overlaps previous sections
> /opt/eldk//usr/bin/powerpc-linux-ld: u-boot: section .ppcenv lma 0xfffc0000 
> overlaps previous sections
> 
> please look into this and try and fix.
> 
> - k
>


More information about the U-Boot mailing list