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

From: Kees Cook
Date: Wed Dec 16 2020 - 15:24:03 EST


On Wed, Dec 16, 2020 at 11:24:04AM -0800, Linus Torvalds wrote:
> On Tue, Dec 15, 2020 at 12:15 PM Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> >
> > Please pull these gcc-plugins updates for v5.11-rc1.
>
> Hmm, I pulled this and then did an allmodconfig build.
>
> I expected that to be a full rebuild, since the plugins got
> recompiled, but it turned out to just take 16 seconds because it only
> compiled the plugins, not any of the object files.

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

Thanks for the heads-up!

--
Kees Cook