On Fri, Sep 11, 2026 at 06:33:33PM +0100, David Laight wrote:
On Thu, 10 Sep 2026 17:42:35 +0200
Nicolas Schier [off-list ref] wrote:
...
quoted
Yes, skimming through the patch, I thought about that, too. Moving more
cc option checks to Kconfig will make building out-of-tree kmods with a
different compiler more dangerous. Maybe we will have to make the
warning in Makefile's prepare (external kmods) target a bit louder.
One problem is that distributions have a nasty habit of shipping kernels
that are compiled with a different compiler version to they actually
ship as a compiler.
In some cases the versions are clearly the same - but the version
strings differ.
yeah, I guess you hit the mark.
--
Nicolas