From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 74DE61A039F for ; Sat, 7 Nov 2015 10:32:43 +1100 (AEDT) Date: Fri, 6 Nov 2015 17:32:35 -0600 From: Segher Boessenkool To: Scott Wood Cc: linuxppc-dev@lists.ozlabs.org, paulus@samba.org, Laurent Vivier , linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc: allow cross-compilation of ppc64 kernel Message-ID: <20151106233235.GA24762@gate.crashing.org> References: <1446724029-10884-1-git-send-email-laurent@vivier.eu> <1446844180.11597.13.camel@freescale.com> <20151106225549.GA21395@gate.crashing.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20151106225549.GA21395@gate.crashing.org> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Fri, Nov 06, 2015 at 04:55:49PM -0600, Segher Boessenkool wrote: > On Fri, Nov 06, 2015 at 03:09:40PM -0600, Scott Wood wrote: > > Why is GCC building ppc64 object files but telling the linker --oformat elf32- > > powerpcle? Are different options somehow being passed to GCC in one case > > versus the other? > > This was changed for GCC 6 in , could one of > you check if that fixes this problem? If so we'll need to backport it. Actually it already has been backported, r228089. Segher