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

David Hildenbrand (Arm)
2026-04-21T13:06:35Z

On 4/21/26 14:59, Mark Brown wrote:
> Hi all,
>
> After merging the mm-hotfixes tree, today's linux-next build (arm64
> allnoconfig) failed like this:
>
> ld: Unexpected GOT/PLT entries detected!
> ld: Unexpected run-time procedure linkages detected!
> ld: arch/arm64/mm/fault.o: in function `tag_clear_highpages':
> fault.c:(.text+0xc40): undefined reference to `mte_clear_page_tags'
>
> Caused by commit
>
> 99e63a49650cc (mm/page_alloc: fix initialization of tags of the huge zero folio with init_on_free)
>

The patch will get resent (and should not have immediately been queued
in the mm-hotfixes branch).

Feel free to drop the patch on your tree.

> I have used the version from next-20260420 instead. The commit removed
> the system_supports_mte() check from tag_clear_highpages() which makes
> the MTE operations in the function unconditional and goes badly when MTE
> is disabled in Kconfig, the system_supports_mte() check should be added
> back.

Right, or the function moved. But likely it will be added back for other
reasons.

--
Cheers,

David