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

From: Josh Poimboeuf
Date: Wed Mar 03 2021 - 14:38:39 EST


On Thu, Mar 04, 2021 at 03:49:35AM +0900, Masahiro Yamada wrote:
> > This problem is becoming more prevalent. We will need to fix it one way
> > or another, if we want to support distro adoption of these GCC
> > plugin-based features.
> >
> > Frank suggested a possibly better idea: always rebuild the plugins when
> > the GCC version changes.
>
>
> That is just another form of the previous patch,
> which was already rejected.
>
>
> - That is a hack just for external modules
> - Our consensus is, use the same version for the kernel and external modules
>
>
>
> I use Ubuntu, and I do not see such a problem.
> (I have never seen it on Debian either, except sid.)
>
> I see Fedora providing GCC whose version is different
> from the one used for building the kernel.
> That is a problem on the distribution side.

I don't understand. Are you suggesting that a distro should always
release GCC and kernel updates simultaneously?

How is this problem specific to Fedora? Please be specific about what
Ubuntu and Debian do, which Fedora doesn't do.

Adding Linus, who indicated in another thread that we shouldn't force
exact GCC versions because there's no technical reason to do so.

--
Josh