[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210303191516.6ksxmng4pis7ue4p@treble>
Date: Wed, 3 Mar 2021 13:15:16 -0600
From: Josh Poimboeuf <jpoimboe@...hat.com>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Michal Marek <michal.lkml@...kovi.net>,
linux-hardening@...r.kernel.org,
Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>,
Justin Forbes <jforbes@...hat.com>,
Ondrej Mosnacek <omosnace@...hat.com>,
Frank Eigler <fche@...hat.com>,
Kees Cook <keescook@...omium.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: [PATCH RFC] gcc-plugins: Handle GCC version mismatch for OOT
modules
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
Powered by blists - more mailing lists