Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755729AbcCBWVi (ORCPT ); Wed, 2 Mar 2016 17:21:38 -0500 Received: from ozlabs.org ([103.22.144.67]:59398 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751594AbcCBWVg (ORCPT ); Wed, 2 Mar 2016 17:21:36 -0500 Date: Thu, 3 Mar 2016 09:21:34 +1100 From: Stephen Rothwell To: Josh Poimboeuf Cc: Ingo Molnar , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Peter Zijlstra , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Michael Ellerman Subject: Re: [PATCH] objtool: Disable stack validation when CROSS_COMPILE is used Message-ID: <20160303092134.7c750589@canb.auug.org.au> In-Reply-To: <20160302211726.GA23501@treble.redhat.com> References: <20160301122910.74ff0a92@canb.auug.org.au> <20160301070750.GA6636@gmail.com> <20160301204001.5594bed3@canb.auug.org.au> <20160301215451.GC4852@treble.redhat.com> <20160302132735.37262b34@canb.auug.org.au> <20160302211726.GA23501@treble.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1017 Lines: 31 Hi Josh, On Wed, 2 Mar 2016 15:17:26 -0600 Josh Poimboeuf wrote: > > On Wed, Mar 02, 2016 at 01:27:35PM +1100, Stephen Rothwell wrote: > > > > On Tue, 1 Mar 2016 15:54:51 -0600 Josh Poimboeuf wrote: > > > > > > Changing it to use the host compiler would probably be an easy fix, but > > > that would expose a harder bug related to endianness. > > > > Just by luck, my PowerPC host is little endian :-) > > Aha! In that case, I think I'll take a different approach and try to > add support for CROSS_COMPILE. > > We'll need it anyway, later on, when we port objtool to more > architectures. That would be great. I was discussing this briefly with the powerpc maintainer and he expressed some interest. > Thanks. I should have the patch(es) soon. If/when they get merged, > I'll let you know, and then you can drop this one. OK, I will keep an eye out - I usually notice when stuff get fixed, but a heads up is always helpful. -- Cheers, Stephen Rothwell