Re: [PATCH v6 10/10] x86/retpoline: Exclude objtool with retpoline

From: Woodhouse, David
Date: Mon Jan 08 2018 - 05:34:32 EST


On Mon, 2018-01-08 at 11:25 +0100, Thomas Gleixner wrote:
> On Sun, 7 Jan 2018, David Woodhouse wrote:
>
> Cc+ Josh Poimboeuf <jpoimboe@xxxxxxxxxx>
>
> Sigh....
>
> > From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> > objtool's assembler nanny currently cannot deal with the code generated
> > by the retpoline compiler and throws hundreds of warnings, mostly
> > because it sees calls that don't have a symbolic target.
>
> > Exclude all the options that rely on objtool when RETPOLINE is active.
>
> > This mainly means that we use the frame pointer unwinder and livepatch
> > is not supported.
>
> > Eventually objtool can be fixed to handle this.

I believe Josh is on vacation and I've asked Amit to take a look at
this, at least as far as ensuring that it doesn't actually disable
kpatch.

Attachment: smime.p7s
Description: S/MIME cryptographic signature