Re: linux-next: build failure in the last build

From: Aaron Tomlin

Date: Thu Sep 24 2026 - 16:28:41 EST


On Thu, Sep 24, 2026 at 07:52:39PM +0100, Mark Brown wrote:
> Hi all,
>
> After merging the pagemap-headers tree, today's linux-next build
> (arm64 allyesconfig) failed like this:
>
> ld: can not size stub section: file truncated
> `$d' referenced in section `__patchable_function_entries' of kernel/kheaders.o: defined in discarded section `.discard.addressable' of kernel/kheaders.o
> `$d' referenced in section `.init_array' of kernel/kheaders.o: defined in discarded section `.discard.addressable' of kernel/kheaders.o
> `$d' referenced in section `.initcall.modnames' of kernel/kheaders.o: defined in discarded section `.note.gnu.property' of kernel/kheaders.o
>
> Caused by commit
>
> 69efc02bccc76 (module: extend module_blacklist parameter to built-in modules)
>
> I have reverted that commit and 1ca4515ee4e01 (module: rename
> module_blacklist to module_denylist) which collided with it.

Hi Mark,

Thank you for the report.

At first glance, this appears to be caused by a corrupted/truncated
kernel/kheaders.o on the build runner rather than an issue in the patch
itself, no? Could you try a clean rebuild of arm64 allyesconfig with the
commits re-applied? It should build cleanly.

I will take a detailed look.


Kind regards,
--
Aaron Tomlin