Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Aug 21, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the mm-hotfixes tree, today's linux-next build (powerpc allyesconfig) failed like this:

ld: mm/kasan/init.o:(.toc+0x0): undefined reference to `kasan_early_shadow_p4d'

Caused by commit

4b99d7a3e69a ("mm: introduce and use {pgd,p4d}_populate_kernel()")

I have reverted that commit (and the following 07cf1bc1f659) for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 5 lines · Stephen Rothwell

Hi all,

After merging the mm-hotfixes tree, today's linux-next build (powerpc allyesconfig) failed like this:

Quoted 7 lines

ld: mm/kasan/init.o:(.toc+0x0): undefined reference to `kasan_early_shadow_p4d'

Caused by commit

4b99d7a3e69a ("mm: introduce and use {pgd,p4d}_populate_kernel()")

I have reverted that commit (and the following 07cf1bc1f659) for today.

Hi Stephen, thanks for reporting the build error.
I've sent a fix for it [1], and hopefully we can add it to mm-hotfixes soon.

[1] https://lore.kernel.org/linux-mm/[email protected]

Signature · 2 lines
Cheers,
Harry / Hyeonggon