[GIT PULL] Kbuild fixes for 7.4 #2
From: Nathan Chancellor
Date: Mon Nov 23 2026 - 22:52:08 EST
Hi Linus,
Please pull these two small fixes for 7.4. If there are any problems,
please let me know.
Cheers,
Nathan
The following changes since commit 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4:
Linux 7.4-rc1 (2026-11-01 13:26:31 -0800)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux.git tags/kbuild-fixes-7.4-2
for you to fetch changes up to 3df238d7a9f5ac7d78115958fd7a36139f61ca34:
kbuild: AutoFDO: Disable Profi (-fno-sample-profile-use-profi) (2026-11-11 00:17:27 -0600)
----------------------------------------------------------------
Second round of Kbuild fixes for 7.4
- Move GCC 17's implementation of -Wconstant-logical-operand to W=2
to fix builds with -Werror
- Disable LLVM's flow-based profile inference algorithm (Profi) for
AutoFDO, which can degrade runtime performance and cause pathological
compilation time issues
----------------------------------------------------------------
Douglas Anderson (1):
kbuild: AutoFDO: Disable Profi (-fno-sample-profile-use-profi)
Vineet Gupta (1):
kbuild: move gcc's -Wconstant-logical-operand to W=2
scripts/Kconfig.toolchain | 3 +++
scripts/Makefile.autofdo | 3 +++
scripts/Makefile.warn | 1 +
3 files changed, 7 insertions(+)