Re: [PATCH 40/46] x86/livepatch, lto: Disable live patching with gcc LTO

From: Josh Poimboeuf
Date: Mon Nov 14 2022 - 17:01:08 EST


On Mon, Nov 14, 2022 at 12:28:09PM -0800, Andi Kleen wrote:
> On Mon, Nov 14, 2022 at 11:07:42AM -0800, Josh Poimboeuf wrote:
> > On Mon, Nov 14, 2022 at 12:43:38PM +0100, Jiri Slaby (SUSE) wrote:
> > > From: Andi Kleen <andi@xxxxxxxxxxxxxx>
> > >
> > > It is not supported by gcc 12 so far, so it causes compiler "sorry"
> > > messages.
> >
> > What specifically is not supported by GCC 12?
>
> -fwhole-program and the live patching options are mutually exclusive.

What live patching options are you referring to?

--
Josh