From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757721AbbKFXcy (ORCPT ); Fri, 6 Nov 2015 18:32:54 -0500 Received: from gate.crashing.org ([63.228.1.57]:54357 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751493AbbKFXcx (ORCPT ); Fri, 6 Nov 2015 18:32:53 -0500 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 Content-Disposition: inline In-Reply-To: <20151106225549.GA21395@gate.crashing.org> User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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