Re: [PATCH] objtool: Disable stack validation when CROSS_COMPILE is used

From: Stephen Rothwell
Date: Wed Mar 02 2016 - 17:21:41 EST


Hi Josh,

On Wed, 2 Mar 2016 15:17:26 -0600 Josh Poimboeuf <jpoimboe@xxxxxxxxxx> 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 <jpoimboe@xxxxxxxxxx> 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