Skip to contentSkip to conversation

Kbuild fixes for 7.0 #2

GIT PULL Merged Nathan Chancellor 2 participants 2 messages Mar 7 Kbuild

lore
Share & tools
lore

Nathan Chancellor

author maintainer
#0 lore raw

Hi Linus,

Please pull this second round of Kbuild fixes for 7.0. While the number of files changed might look kind of scary for a fixes pull request, it is due to having to modify individual architecture vmlinux linker scripts to move .modinfo out of the ELF_DETAILS macro, so the actual change is fairly minimal (just dropping .modinfo from compressed kernel images and the like).

If there are any issues, please let me know.

Cheers,
Nathan

The following changes since commit 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f:

Linux 7.0-rc1 (2026-02-22 13:18:59 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux.git tags/kbuild-fixes-7.0-2

for you to fetch changes up to fdb12c8a24a453bdd6759979b6ef1e04ebd4beb4:

kbuild: Leave objtool binary around with 'make clean' (2026-03-02 14:22:39 -0700)

----------------------------------------------------------------
Second round of Kbuild fixes for 7.0

- Split out .modinfo section from ELF_DETAILS macro, as that macro may be used in other areas that expect to discard .modinfo, breaking certain image layouts

- Adjust genksyms parser to handle optional attributes in certain declarations, necessary after commit 07919126ecfc ("netfilter:
annotate NAT helper hook pointers with __rcu")

- Include resolve_btfids in external module build created by scripts/package/install-extmod-build when it may be run on external modules

- Avoid removing objtool binary with 'make clean', as it is required for external module builds

----------------------------------------------------------------
Nathan Chancellor (3):
kbuild: Split .modinfo out from ELF_DETAILS
genksyms: Fix parsing a declarator with a preceding attribute
kbuild: Leave objtool binary around with 'make clean'

Thomas Weißschuh (1):
kbuild: install-extmod-build: Package resolve_btfids if necessary

 Makefile                                  | 8 ++++----
 arch/alpha/kernel/vmlinux.lds.S           | 1 +
 arch/arc/kernel/vmlinux.lds.S             | 1 +
 arch/arm/boot/compressed/vmlinux.lds.S    | 1 +
 arch/arm/kernel/vmlinux-xip.lds.S         | 1 +
 arch/arm/kernel/vmlinux.lds.S             | 1 +
 arch/arm64/kernel/vmlinux.lds.S           | 1 +
 arch/csky/kernel/vmlinux.lds.S            | 1 +
 arch/hexagon/kernel/vmlinux.lds.S         | 1 +
 arch/loongarch/kernel/vmlinux.lds.S       | 1 +
 arch/m68k/kernel/vmlinux-nommu.lds        | 1 +
 arch/m68k/kernel/vmlinux-std.lds          | 1 +
 arch/m68k/kernel/vmlinux-sun3.lds         | 1 +
 arch/mips/kernel/vmlinux.lds.S            | 1 +
 arch/nios2/kernel/vmlinux.lds.S           | 1 +
 arch/openrisc/kernel/vmlinux.lds.S        | 1 +
 arch/parisc/boot/compressed/vmlinux.lds.S | 1 +
 arch/parisc/kernel/vmlinux.lds.S          | 1 +
 arch/powerpc/kernel/vmlinux.lds.S         | 1 +
 arch/riscv/kernel/vmlinux.lds.S           | 1 +
 arch/s390/kernel/vmlinux.lds.S            | 1 +
 arch/sh/kernel/vmlinux.lds.S              | 1 +
 arch/sparc/kernel/vmlinux.lds.S           | 1 +
 arch/um/kernel/dyn.lds.S                  | 1 +
 arch/um/kernel/uml.lds.S                  | 1 +
 arch/x86/boot/compressed/vmlinux.lds.S    | 2 +-
 arch/x86/kernel/vmlinux.lds.S             | 1 +
 include/asm-generic/vmlinux.lds.h         | 4 +++-
 scripts/genksyms/parse.y                  | 4 ++--
 scripts/package/install-extmod-build      | 4 ++++
 tools/objtool/Makefile                    | 8 +++++---
 31 files changed, 44 insertions(+), 11 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 6 Mar 2026 18:12:49 -0700:

The pull request you sent on Fri, 6 Mar 2026 18:12:49 -0700:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux.git tags/kbuild-fixes-7.0-2

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/4ae12d8bd9a830799db335ee661d6cbc6597f838

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html