Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT modules

From: Josh Poimboeuf
Date: Wed Mar 03 2021 - 19:04:49 EST


On Wed, Mar 03, 2021 at 11:57:33AM -0800, Linus Torvalds wrote:
> On Wed, Mar 3, 2021 at 11:38 AM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
> >
> > > But in the meantime, making the plugins depend on the gcc version some
> > > way is certainly better than not doing so.
> >
> > So currently, the plugins already so that. They require the GCC version
> > to be exact. If there's a mismatch, then it fails the OOT module build.
>
> That's not my experience.
>
> Yes, the build fails, but it fails not by _rebuilding_, but by failing
> with an error.

Um, that's what I said. It does not rebuild. It fails with an error.

The *proposal* is to rebuild the plugin -- which Masahiro nacked because
he claims GCC mismatches aren't supported for OOT builds (plugin or
not).

Your nack is for a different reason: GCC plugins are second-class
citizens. Fair enough...

--
Josh