[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#848851: linux: FTBFS on ppc64el



Control: tag -1 upstream fixed-upstream pending

On Mon, 2017-01-02 at 02:38 +0000, Ben Hutchings wrote:
> On Mon, 2017-01-02 at 02:34 +0000, Ben Hutchings wrote:
> [...]
> > Let's try without that -pie:
> > 
> >     $ ld -m elf64lppc -T arch/powerpc/boot/zImage.lds -o arch/powerpc/boot/zImage.pseries arch/powerpc/boot/pseries-head.o arch/powerpc/boot/of.o arch/powerpc/boot/epapr.o ./zImage.15656.o arch/powerpc/boot/wrapper.a
> >     $
> > 
> > Surprise, it works!  So we need to filter out -pie here as well.
> 
> [...]
> 
> But that doesn't make sense.  gcc-6's implicit -pie has been a problem
> in some places, but this is kbuild explicitly passing -pie where we are
> still using gcc-5.

Anyway, now that I know to look at the wrapper script, I found the fix:

commit ff45000fcb56b5b0f1a14a865d3541746d838a0a
Author: Nicholas Piggin <npiggin@gmail.com>
Date:   Mon Nov 28 12:42:26 2016 +1100

    powerpc/boot: Request no dynamic linker for boot wrapper

Ben.

-- 
Ben Hutchings
Q.  Which is the greater problem in the world today, ignorance or
apathy?
A.  I don't know and I couldn't care less.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: