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

Christoph Hellwig
2021-01-27T18:45:55Z

On Wed, Jan 27, 2021 at 12:38:56PM -0600, Josh Poimboeuf wrote:
> On Wed, Jan 27, 2021 at 06:02:15PM +0000, Christoph Hellwig wrote:
> > Please don't add all this garbage. We only add infrastructure to the
> > kernel for what the kernel itself needs, not for weird out of tree
> > infrastructure.
>
> This isn't new, the kernel already has the infrastructure for building
> out-of-tree modules. It's widely used. Are you suggesting we remove
> it? Good luck with that...
>
> Either it should be supported, or not. Make the case either way. But I
> can't understand why people are advocating to leave it half-broken.

It is not support as any kind of interface. It is a little aid for
local development. Adding any kond of complexities for out of tree
modules is a complete no-go.