[GIT PULL] Kbuild fixes for 6.18 #1
From: Nathan Chancellor
Date: Sat Oct 11 2025 - 15:46:45 EST
Hi Linus,
Please pull the initial round of fixes for Kbuild for 6.18. Everything
but the final change has been in -next for a couple of cycles but I
wanted to record some last minute tags so it is recently rebased.
If there are any issues, please let me know.
Cheers,
Nathan
----------------------------------------------------------------
The following changes since commit 2ea77fca84f07849aa995271271340d262d0c2e9:
modpost: Initialize builtin_modname to stop SIGSEGVs (2025-09-28 07:54:07 -0400)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux.git tags/kbuild-fixes-6.18-1
for you to fetch changes up to b0f2942a16017f88395d768afedd7373860968ce:
kbuild: Use '--strip-unneeded-symbol' for removing module device table symbols (2025-10-10 14:50:35 -0700)
----------------------------------------------------------------
Kbuild fixes for 6.18 #1
- Fix UAPI types check in headers_check.pl
- Only enable -Werror for hostprogs with CONFIG_WERROR / W=e
- Ignore fsync() error when output of gen_init_cpio is a pipe
- Several little build fixes for recent modules.builtin.modinfo series
Signed-off-by: Nathan Chancellor <nathan@xxxxxxxxxx>
----------------------------------------------------------------
Dmitry Safonov (1):
gen_init_cpio: Ignore fsync() returning EINVAL on pipes
Geert Uytterhoeven (1):
kbuild: uapi: Strip comments before size type check
Nathan Chancellor (6):
scripts/Makefile.extrawarn: Respect CONFIG_WERROR / W=e for hostprogs
kbuild: Restore pattern to avoid stripping .rela.dyn from vmlinux
kbuild: Add '.rel.*' strip pattern for vmlinux
s390/vmlinux.lds.S: Move .vmlinux.info to end of allocatable sections
Merge patch series "kbuild: Fixes for fallout from recent modules.builtin.modinfo series"
kbuild: Use '--strip-unneeded-symbol' for removing module device table symbols
arch/s390/kernel/vmlinux.lds.S | 44 +++++++++++++++++++++---------------------
scripts/Makefile.extrawarn | 8 +++++---
scripts/Makefile.vmlinux | 7 +++++--
usr/gen_init_cpio.c | 5 ++++-
usr/include/headers_check.pl | 2 ++
5 files changed, 38 insertions(+), 28 deletions(-)