Re: [PATCH] gcc-plugins: Disable GCC plugins for compile test builds

From: Mark Brown
Date: Wed Apr 09 2025 - 13:29:32 EST


On Wed, Apr 09, 2025 at 08:33:03AM -0700, Linus Torvalds wrote:
> On Wed, 9 Apr 2025 at 05:20, Mark Brown <broonie@xxxxxxxxxx> wrote:

> > Note that the patch is only disabling for build coverage builds where
> > the resulting binaries generally aren't going to actually be run.

> Well, there's a reason we do build coverage - we also want to test
> that the non-build coverage case builds.

> And it's not actually obvious that it does - it's in fact rather
> likely that the gcc plugin is broken in general, and it just so
> happens that it's the build bots that find it.

Sadly it seems like the build bots didn't find it, or at least if they
found it they didn't identify it well enough to end up with reporting
the issue to someone who'd fix it. I ran into it because I do
allmodconfig builds as part of applying things since both you and
Stephen do them and that exploded in my face at -rc1.

> Which is why I honestly would prefer to just disable the plugins in general.

> Because the problem is the plugin, not the build coverage.

Well, yes.

Attachment: signature.asc
Description: PGP signature