From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1163051AbbKFW4N (ORCPT ); Fri, 6 Nov 2015 17:56:13 -0500 Received: from gate.crashing.org ([63.228.1.57]:48925 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752861AbbKFW4L (ORCPT ); Fri, 6 Nov 2015 17:56:11 -0500 Date: Fri, 6 Nov 2015 16:55:49 -0600 From: Segher Boessenkool To: Scott Wood Cc: Laurent Vivier , paulus@samba.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc: allow cross-compilation of ppc64 kernel Message-ID: <20151106225549.GA21395@gate.crashing.org> References: <1446724029-10884-1-git-send-email-laurent@vivier.eu> <1446844180.11597.13.camel@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1446844180.11597.13.camel@freescale.com> 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 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. Segher