Thread (105 messages) flat view 105 messages, 14 authors, 5d ago

Re: [PATCH 12/23] kbuild: avoid re-running compiler and linker probes

From: Nicolas Schier <hidden>
Date: 2026-09-11 18:18:07
Also in: linux-arch, linux-efi, linux-kbuild, linux-riscv, lkml, llvm, rust-for-linux

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help