mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* linux-next: build failure in the last build
@ 2026-09-24 18:52 Mark Brown
  2026-09-24 20:28 ` Aaron Tomlin
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2026-09-24 18:52 UTC (permalink / raw)
  To: Aaron Tomlin, Andrew Morton
  Cc: Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 832 bytes --]

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.  

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next: build failure in the last build
  2026-09-24 18:52 linux-next: build failure in the last build Mark Brown
@ 2026-09-24 20:28 ` Aaron Tomlin
  2026-09-24 20:36   ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Aaron Tomlin @ 2026-09-24 20:28 UTC (permalink / raw)
  To: Mark Brown
  Cc: Andrew Morton, Linux Kernel Mailing List,
	Linux Next Mailing List, linux-modules

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next: build failure in the last build
  2026-09-24 20:28 ` Aaron Tomlin
@ 2026-09-24 20:36   ` Mark Brown
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Brown @ 2026-09-24 20:36 UTC (permalink / raw)
  To: Aaron Tomlin
  Cc: Andrew Morton, Linux Kernel Mailing List,
	Linux Next Mailing List, linux-modules

[-- Attachment #1: Type: text/plain, Size: 1277 bytes --]

On Thu, Sep 24, 2026 at 04:28:07PM -0400, Aaron Tomlin wrote:
> On Thu, Sep 24, 2026 at 07:52:39PM +0100, Mark Brown wrote:

> > 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

> > I have reverted that commit and 1ca4515ee4e01 (module: rename
> > module_blacklist to module_denylist) which collided with it.  

> 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.

This was a completely clean build, I only do one of the allyesconfigs a
day and the builds are done in tmpfs with the machine powered off
between -next runs.  My first guess would be that you have overflowed
some size limit in something.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-09-24 20:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-24 18:52 linux-next: build failure in the last build Mark Brown
2026-09-24 20:28 ` Aaron Tomlin
2026-09-24 20:36   ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®