From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:6:4]) by ozlabs.org (Postfix) with ESMTP id 2320B2C011C for ; Tue, 19 Nov 2013 15:05:40 +1100 (EST) From: Alistair Popple To: Michael Ellerman Subject: Re: [PATCH] powerpc: Don't use ELFv2 ABI to build the kernel Date: Tue, 19 Nov 2013 15:06:18 +1100 Message-ID: <3514005.hxHnfdoU4C@mexican> In-Reply-To: <20131119032553.GA27740@concordia> References: <1384755694-30293-1-git-send-email-alistair@popple.id.au> <20131119032553.GA27740@concordia> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="nextPart98924809.fg3hZ0sUxO" Cc: linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. --nextPart98924809.fg3hZ0sUxO Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" On Tue, 19 Nov 2013 14:25:53 Michael Ellerman wrote: > On Mon, Nov 18, 2013 at 05:21:34PM +1100, Alistair Popple wrote: > > The kernel doesn't build correctly using the ELFv2 ABI. This patch > > ensures that the ELFv1 ABI is used when building a kernel with an > > ELFv2 enabled compiler. > > Let me check I've got this straight. > > The ELFv2 ABI is still being developed, so there are no released > toolchains that support it right? I believe ELFv2 patches started going upstream to gcc last week. > So this patch is precautionary, in that it means kernels from this > commit onward will build correctly with newer toolchains. Anyone wanting > to build an older kernel with a new toolchain will need to backport this > patch? No, only people wanting to build PPC64 little endian kernels with newer toolchains should need this (as ELFv2 is the default for PPC64LE). In all cases execpt PPC64LE the newer toolchains should default to ELFv1. > cheers Regards, Alistair --nextPart98924809.fg3hZ0sUxO Content-Transfer-Encoding: 7Bit Content-Type: text/html; charset="us-ascii"

On Tue, 19 Nov 2013 14:25:53 Michael Ellerman wrote:

> On Mon, Nov 18, 2013 at 05:21:34PM +1100, Alistair Popple wrote:

> > The kernel doesn't build correctly using the ELFv2 ABI. This patch

> > ensures that the ELFv1 ABI is used when building a kernel with an

> > ELFv2 enabled compiler.

>

> Let me check I've got this straight.

>

> The ELFv2 ABI is still being developed, so there are no released

> toolchains that support it right?

 

I believe ELFv2 patches started going upstream to gcc last week.

 

> So this patch is precautionary, in that it means kernels from this

> commit onward will build correctly with newer toolchains. Anyone wanting

> to build an older kernel with a new toolchain will need to backport this

> patch?

 

No, only people wanting to build PPC64 little endian kernels with newer toolchains should need this (as ELFv2 is the default for PPC64LE). In all cases execpt PPC64LE the newer toolchains should default to ELFv1.

 

> cheers

 

Regards,

 

Alistair

 

--nextPart98924809.fg3hZ0sUxO--