Hi all, After merging the mm tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: ld: cannot find MEM_KEEP: No such file or directory Caused by commit 78e70fd784bd ("init/modpost: conditionally check section mismatch to __meminit*") from the mm-nonmm-unstable branch of the mm tree. grep is your friend :-) I have applied the following fix patch for today. From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Date: Wed, 10 Jul 2024 09:28:02 +1000 Subject: [PATCH] fixup for "init/modpost: conditionally check section mismatch to __meminit*" Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> --- arch/powerpc/kernel/vmlinux.lds.S | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index f420df7888a7..7ab4e2fb28b1 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S @@ -123,8 +123,6 @@ SECTIONS */ *(.sfpr); *(.text.asan.* .text.tsan.*) - MEM_KEEP(init.text) - MEM_KEEP(exit.text) } :text . = ALIGN(PAGE_SIZE); -- 2.43.0 -- Cheers, Stephen Rothwell
Attachment:
pgpdYlqvN26ln.pgp
Description: OpenPGP digital signature