linux-next: build failure after merge of the mm-hotfixes tree
Mark Brown
maintainerHi 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)
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.
Quoted 5 lines · Mark Brown
Hi all,
After merging the mm-hotfixes tree, today's linux-next build (arm64 allnoconfig) failed like this:
Quoted 9 lines
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 withinit_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.
Quoted 5 lines
I have used the version from next-20260420 instead. The commit removed the
system_supports_mte()check fromtag_clear_highpages()which makes the MTE operations in the function unconditional and goes badly when MTE is disabled inKconfig, thesystem_supports_mte()check should be added back.
Right, or the function moved. But likely it will be added back for other reasons.
Signature · 3 lines
Cheers, David
Mark Brown
maintainerQuoted 10 lines · David Hildenbrand (Arm)
Quoted 7 lines · Mark Brown
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'
Quoted 8 lines
Quoted 3 lines
Caused by commit
99e63a49650cc(mm/page_alloc: fix initialization of tags of the huge zero folio withinit_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.
To be clear linux-next merges the trees that maintainers are publishing, the standard fix for straight failures like this is to merge the last version that worked. Sometimes reverts do get applied but more usually for things that only come up in the final builds.
Quoted 1 line
Quoted 1 line
I have used the version from next-20260420 instead. The commit removed
The commit is also present in the mm-unstable tree, I have also used the version of that from 20260420.
Quoted 18 lines · Mark Brown
Quoted 16 lines · David Hildenbrand (Arm)
Quoted 11 lines · Mark Brown
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 withinit_on_free)The patch will get resent (and should not have immediately been queued in the mm-hotfixes branch).
Quoted 6 lines
Quoted 1 line
Feel free to drop the patch on your tree.
To be clear linux-next merges the trees that maintainers are publishing, the standard fix for straight failures like this is to merge the last version that worked. Sometimes reverts do get applied but more usually for things that only come up in the final builds.
If that unblocks you, great.
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
I have used the version from next-20260420 instead. The commit removed
The commit is also present in the mm-unstable tree, I have also used the version of that from 20260420.
Yeah, it should have landed on mm-new first for 1/2 days.
Signature · 3 lines
Cheers, David
Mark Brown
maintainerQuoted 7 lines · Mark Brown
Quoted 3 lines · David Hildenbrand (Arm)
Quoted 1 line · Mark Brown
I have used the version from next-20260420 instead. The commit removed
The commit is also present in the mm-unstable tree, I have also used the version of that from 20260420.
And similarly for the mm-nonmm-unstable tree.
Quoted 8 lines · Mark Brown
Quoted 5 lines · Mark Brown
On Tue, Apr 21, 2026 at 03:06:32PM +0200, David Hildenbrand (Arm) wrote:
The commit is also present in the mm-unstable tree, I have also used the version of that from 20260420.
And similarly for the mm-nonmm-unstable tree.
I think Andrew uses the hotfixes tree as the base for the -unstable trees. So anything that ends up in there gets fast-tracked into -next. Not good :(
Signature · 3 lines
Cheers, David
Quoted 5 lines · On Tue, 21 Apr 2026 15:42:29 +0200 "David Hildenbrand (Arm)"…
Quoted 4 lines · Mark Brown
Quoted 3 lines · Mark Brown
On Tue, Apr 21, 2026 at 03:06:32PM +0200, David Hildenbrand (Arm) wrote:
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
The commit is also present in the mm-unstable tree, I have also used the version of that from 20260420.
And similarly for the mm-nonmm-unstable tree.
I think Andrew uses the hotfixes tree as the base for the -unstable trees. So anything that ends up in there gets fast-tracked into -next. Not good :(
Always been this way. The expectation is that a hotfix is small, time-sensitive and fixes something which is broken in linux-next. It's exceedingly rare for a hotfix to break the build!
I'll drop this patch.
Quoted 7 lines · Andrew Morton
Quoted 5 lines · On Tue, 21 Apr 2026 15:42:29 +0200 "David Hildenbrand (Arm)"…
Quoted 3 lines · Mark Brown
And similarly for the mm-nonmm-unstable tree.
Quoted 7 lines
Quoted 3 lines
I think Andrew uses the hotfixes tree as the base for the -unstable trees. So anything that ends up in there gets fast-tracked into -next. Not good :(
Always been this way. The expectation is that a hotfix is small, time-sensitive and fixes something which is broken in linux-next. It's exceedingly rare for a hotfix to break the build!
Yeah, it's also exceedingly rare for my cross-compilations to not catch that :(
Even the build bots did not catch that on my private github branches.
Quoted 1 line
I'll drop this patch.
I'll resend v2 later. Maybe we can let that rest in mm-new for 2 days to get some build coverage.
Signature · 3 lines
Cheers, David
Quoted 12 lines · On Tue, 21 Apr 2026 16:20:25 +0200 "David Hildenbrand (Arm)"…
Quoted 11 lines · Andrew Morton
Quoted 8 lines · On Tue, 21 Apr 2026 15:42:29 +0200 "David Hildenbrand (Arm)"…
Quoted 3 lines · Mark Brown
And similarly for the mm-nonmm-unstable tree.
I think Andrew uses the hotfixes tree as the base for the -unstable trees. So anything that ends up in there gets fast-tracked into -next. Not good :(
Quoted 8 lines
Quoted 3 lines
Always been this way. The expectation is that a hotfix is small, time-sensitive and fixes something which is broken in linux-next. It's exceedingly rare for a hotfix to break the build!
Yeah, it's also exceedingly rare for my cross-compilations to not catch that :(
Even the build bots did not catch that on my private github branches.
And I'm presently away from my build machine.
Quoted 4 lines
Quoted 1 line
I'll drop this patch.
I'll resend v2 later. Maybe we can let that rest in mm-new for 2 days to get some build coverage.
OK.
I *could* start giving hotfixes a run in mm-new first, although
- it'll add a few days additional latency (which people sometimes get upset about)
- haven't really seen a need for this before
- coverage is mm-new is poor - for example, this error probably wouldn't have been found until Mark grabbed the patch via mm-hotfixes.
Quoted 11 lines
Quoted 4 lines
Quoted 1 line
I'll drop this patch.
I'll resend v2 later. Maybe we can let that rest in mm-new for 2 days to get some build coverage.
OK.
I *could* start giving hotfixes a run in mm-new first, although
- it'll add a few days additional latency (which people sometimes get upset about)
Yes, for some more urgent stuff we don't want that. 1 day is probably okay, until we know the bots went crazy on it.
Quoted 3 lines
- haven't really seen a need for this before
It happens rarely indeed.
Quoted 2 lines
- coverage is mm-new is poor - for example, this error probably wouldn't have been found until Mark grabbed the patch via mm-hotfixes.
I get daily build reports against mm-new, for example, mail from this night
"
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
branch HEAD: f4279f87cd6c82ebdaccdc56f38e7b80ca7fcc03 mm/vmstat: spread vmstat_update requeue across the stat interval
elapsed time: 1161m
configs tested: 157
configs skipped: 6
The following configs have been built successfully. More configs may be tested in the coming days.
tested configs:
alpha allnoconfig gcc-15.2.0 alpha allyesconfig gcc-15.2.0 alpha defconfig gcc-15.2.0 arc allmodconfig gcc-15.2.0 arc allnoconfig gcc-15.2.0 arc allyesconfig gcc-15.2.0 arc defconfig gcc-15.2.0 arc randconfig-001-20260419 gcc-12.5.0 arc randconfig-002-20260419 gcc-12.5.0 arm allnoconfig clang-23 arm allyesconfig gcc-15.2.0 arm defconfig clang-23 arm gemini_defconfig clang-20 arm randconfig-001-20260419 gcc-8.5.0 arm randconfig-002-20260419 gcc-11.5.0 arm randconfig-003-20260419 clang-23 arm randconfig-004-20260419 clang-23 arm64 allmodconfig clang-19 arm64 allnoconfig gcc-15.2.0 arm64 defconfig gcc-15.2.0 arm64 randconfig-001-20260419 clang-16 arm64 randconfig-002-20260419 clang-23 arm64 randconfig-003-20260419 clang-23 arm64 randconfig-004-20260419 gcc-8.5.0
...
"
I suppose that was before you pushed the change? Because I'd assume allnoconfig would have found it.
But maybe there is some more secret sauce to reproduce it.
Signature · 3 lines
Cheers, David
Quoted 7 lines · On Tue, 21 Apr 2026 16:35:48 +0200 "David Hildenbrand (Arm)"…
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
I'll drop this patch.
I'll resend v2 later. Maybe we can let that rest in mm-new for 2 days to get some build coverage.
OK.
Quoted 7 lines
Quoted 4 lines
I *could* start giving hotfixes a run in mm-new first, although
- it'll add a few days additional latency (which people sometimes get upset about)
Yes, for some more urgent stuff we don't want that. 1 day is probably okay, until we know the bots went crazy on it.
OK.
Quoted 4 lines
Quoted 2 lines
- coverage is mm-new is poor - for example, this error probably wouldn't have been found until Mark grabbed the patch via mm-hotfixes.
I get daily build reports against mm-new, for example, mail from this night
Aren't you lucky ;). Is it possible to add a cc:mm-commits to that script?
Quoted 1 line
I suppose that was before you pushed the change?
I think so. I added it to mm-hotfixes
Date: Tue, 21 Apr 2026 00:12:18 -0700
and pushed shortly after that.
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
- coverage is mm-new is poor - for example, this error probably wouldn't have been found until Mark grabbed the patch via mm-hotfixes.
I get daily build reports against mm-new, for example, mail from this night
Aren't you lucky ;). Is it possible to add a cc:mm-commits to that script?
Hehe, if it finds something that is broken, it sends mails to the list like [1]
I only get the build summaries. While we were testing the 0day integration of mm-new, we tried to keep the noise for other to a minimum.
@Phil, could we also Cc [email protected] and Andrew on the build summaries for mm-new, like the one from yesterday:
"[akpm-mm:mm-new] BUILD SUCCESS f4279f87cd6c82ebdaccdc56f38e7b80ca7fcc03"
Thanks!
[1] https://lore.kernel.org/all/[email protected]/
Signature · 3 lines
Cheers, David
Quoted 9 lines · David Hildenbrand (Arm)
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
- coverage is mm-new is poor - for example, this error probably wouldn't have been found until Mark grabbed the patch via mm-hotfixes.
I get daily build reports against mm-new, for example, mail from this night
Aren't you lucky ;). Is it possible to add a cc:mm-commits to that script?
Quoted 8 lines
Hehe, if it finds something that is broken, it sends mails to the list like [1]
I only get the build summaries. While we were testing the 0day integration of mm-new, we tried to keep the noise for other to a minimum.
@Phil, could we also Cc [email protected] and Andrew on the build summaries for mm-new, like the one from yesterday:
Got it, I will configure the bot to add cc for [email protected] and Andrew.
Quoted 11 lines
"[akpm-mm:mm-new] BUILD SUCCESS
f4279f87cd6c82ebdaccdc56f38e7b80ca7fcc03"Thanks!
[1] https://lore.kernel.org/all/[email protected]/
Signature · 3 lines
Cheers, David
Quoted 9 lines · Philip Li
Quoted 8 lines · David Hildenbrand (Arm)
Quoted 4 lines
Aren't you lucky ;). Is it possible to add a cc:mm-commits to that script?
Hehe, if it finds something that is broken, it sends mails to the list like [1]
Quoted 8 lines
Quoted 5 lines
I only get the build summaries. While we were testing the 0day integration of mm-new, we tried to keep the noise for other to a minimum.
@Phil, could we also Cc [email protected] and Andrew on the build summaries for mm-new, like the one from yesterday:
Got it, I will configure the bot to add cc for [email protected] and Andrew.
Awesome, thanks!
Signature · 3 lines
Cheers, David
Mark Brown
maintainerQuoted 10 lines · Andrew Morton
Quoted 8 lines · On Tue, 21 Apr 2026 15:42:29 +0200 "David Hildenbrand (Arm)"…
Quoted 3 lines · Mark Brown
On Tue, Apr 21, 2026 at 02:21:48PM +0100, Mark Brown wrote:
And similarly for the mm-nonmm-unstable tree.
I think Andrew uses the hotfixes tree as the base for the -unstable trees. So anything that ends up in there gets fast-tracked into -next. Not good :(
Quoted 5 lines
Always been this way. The expectation is that a hotfix is small, time-sensitive and fixes something which is broken in linux-next. It's exceedingly rare for a hotfix to break the build!
I'll drop this patch.
Thanks. David, to be clear none of this is much more than a minor annoyance - I'm just reporting all the trees I'm holding back so there's a paper trail for anyone who goes looking to figure out why that's been done.
Quoted 8 lines · Mark Brown
Quoted 6 lines · Andrew Morton
Quoted 3 lines · On Tue, 21 Apr 2026 15:42:29 +0200 "David Hildenbrand (Arm)"…
I think Andrew uses the hotfixes tree as the base for the -unstable trees. So anything that ends up in there gets fast-tracked into -next. Not good :(
Quoted 8 lines
Quoted 5 lines
Always been this way. The expectation is that a hotfix is small, time-sensitive and fixes something which is broken in linux-next. It's exceedingly rare for a hotfix to break the build!
I'll drop this patch.
Thanks. David, to be clear none of this is much more than a minor annoyance
Right, and I want you to have as little such annoyances as possible :)
Signature · 3 lines
Cheers, David