[PATCH] powerpc: vmlinux.lds: Drop Binutils 2.18 workarounds

Segher Boessenkool segher at kernel.crashing.org
Wed Mar 27 09:59:24 AEDT 2019


On Tue, Mar 26, 2019 at 05:29:43PM -0500, Segher Boessenkool wrote:
> On Tue, Mar 26, 2019 at 03:12:31PM -0500, Segher Boessenkool wrote:
> > On Tue, Mar 26, 2019 at 08:28:58PM +0100, Christophe Leroy wrote:
> > > 
> > > 
> > > Le 26/03/2019 à 19:19, Segher Boessenkool a écrit :
> > > >On Tue, Mar 26, 2019 at 07:55:33AM +0000, Christophe Leroy wrote:
> > > >>    STACK off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**4
> > > >>          filesz 0x00000000 memsz 0x00000000 flags rwx
> > > >
> > > >You need to prevent this one somehow.  What object file forces this?
> > > 
> > > mpc885_ads_defconfig
> > 
> > No, which object file, ".o file".  Not defconfig :-)
> 
> I tried to reproduce this.  It does not fail with a ppc6xx_defconfig
> build, and mpc885_ads_defconfig fails with
> 
> INFO: Uncompressed kernel (size 0x435178) overlaps the address of the wrapper(0x400000)
> INFO: Fixing the link_address of wrapper to (0x500000)
> ln: failed to access 'arch/powerpc/boot/cuImage.mpc885ads': No such file or directory

(Fixed this by getting a working mkimage)

> What is your GCC?

That question remains -- all my powerpc kernel builds work just fine with
that patch applied (recent GCC, recent binutils).


Segher


More information about the Linuxppc-dev mailing list