Skip to contentSkip to conversation

linux-next: build failure after merge of the mm tree

PATCH Stephen Rothwell 1 participant 1 message Jul 9, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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 <[email protected]>
Date: Wed, 10 Jul 2024 09:28:02 +1000
Subject: [PATCH] fixup for "init/modpost: conditionally check section mismatch to __meminit*"

---
 arch/powerpc/kernel/vmlinux.lds.S | 2 --
 1 file changed, 2 deletions(-)
arch/powerpc/kernel/vmlinux.lds.S +0 -2
index f420df7888a7..7ab4e2fb28b1 100644
@@ -123,8 +123,6 @@ SECTIONS
 		 */
 		*(.sfpr);
 		*(.text.asan.* .text.tsan.*)
-		MEM_KEEP(init.text)
-		MEM_KEEP(exit.text)
 	} :text
 
 	. = ALIGN(PAGE_SIZE);
Signature · 5 lines
2.43.0

-- 
Cheers,
Stephen Rothwell