Re: [GIT PULL] gcc-plugins updates for v5.11-rc1

From: Linus Torvalds
Date: Wed Dec 16 2020 - 15:29:35 EST


On Wed, Dec 16, 2020 at 12:23 PM Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
> Hmm. Yeah, that's a bug. I think that's an existing bug, though. I feel
> like I scratched my head on that too. I will see if there is a sensible
> way to have Kbuild "notice" that -- I hope there's an easier way to
> invalidate all object files instead of adding all the plugins as a dep
> to all .o builds. O_o

We already have some support for checking the compiler version. I
wonder if the plugins could add themselves to the version name in
there somehow..

But I don't think it's a big deal, and I won't worry about it. I do
hope we can deprecate the plugins some day, it has always made me very
nervous to have random code at that level.

Linus