mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* build failure for stablerc
@ 2026-05-25 19:39 Toralf Förster
  2026-05-26  7:31 ` Petr Pavlu
  0 siblings, 1 reply; 3+ messages in thread
From: Toralf Förster @ 2026-05-25 19:39 UTC (permalink / raw)
  To: linux-modules, linux-kbuild; +Cc: Linux Kernel

Hi,

at a small Hetzner VPS at x86 the compilation of the stablerc 
v7.0.5-1656-ge79d5c5d57c0 fails under Ubuntu-26.04 with

  WRAP    arch/x86/include/generated/asm/mmiowb.h
  WRAP    arch/x86/include/generated/asm/module.lds.h
  WRAP    arch/x86/include/generated/asm/rwonce.h
  UPD     include/generated/utsrelease.h
  CC      /root/linux/tools/objtool/libsubcmd/run-command.o
  HOSTCC  scripts/gendwarfksyms/gendwarfksyms.o
In file included from scripts/gendwarfksyms/gendwarfksyms.c:12:
scripts/gendwarfksyms/gendwarfksyms.h:6:10: fatal error: dwarf.h: No 
such file or directory
    6 | #include <dwarf.h>
      |          ^~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.host:131: 
scripts/gendwarfksyms/gendwarfksyms.o] Error 1
make[2]: *** [scripts/Makefile.build:548: scripts/gendwarfksyms] Error 2
make[1]: *** [/root/linux/Makefile:1325: scripts] Error 2
make[1]: *** Waiting for unfinished jobs....
  CC      /root/linux/tools/objtool/libsubcmd/sigchain.o


The .config was derived from the Hetzner image and tweaked via [1]


[1] 
https://github.com/toralf/tor-relays/blob/main/playbooks/roles/setup_kernel/defaults/main.yaml#L9 


-- 
Toralf


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

* Re: build failure for stablerc
  2026-05-25 19:39 build failure for stablerc Toralf Förster
@ 2026-05-26  7:31 ` Petr Pavlu
  2026-05-26 17:17   ` Toralf Förster
  0 siblings, 1 reply; 3+ messages in thread
From: Petr Pavlu @ 2026-05-26  7:31 UTC (permalink / raw)
  To: Toralf Förster; +Cc: linux-modules, linux-kbuild, Linux Kernel

On 5/25/26 9:39 PM, Toralf Förster wrote:
> Hi,
> 
> at a small Hetzner VPS at x86 the compilation of the stablerc v7.0.5-1656-ge79d5c5d57c0 fails under Ubuntu-26.04 with
> 
>  WRAP    arch/x86/include/generated/asm/mmiowb.h
>  WRAP    arch/x86/include/generated/asm/module.lds.h
>  WRAP    arch/x86/include/generated/asm/rwonce.h
>  UPD     include/generated/utsrelease.h
>  CC      /root/linux/tools/objtool/libsubcmd/run-command.o
>  HOSTCC  scripts/gendwarfksyms/gendwarfksyms.o
> In file included from scripts/gendwarfksyms/gendwarfksyms.c:12:
> scripts/gendwarfksyms/gendwarfksyms.h:6:10: fatal error: dwarf.h: No such file or directory
>    6 | #include <dwarf.h>
>      |          ^~~~~~~~~
> compilation terminated.
> make[3]: *** [scripts/Makefile.host:131: scripts/gendwarfksyms/gendwarfksyms.o] Error 1
> make[2]: *** [scripts/Makefile.build:548: scripts/gendwarfksyms] Error 2
> make[1]: *** [/root/linux/Makefile:1325: scripts] Error 2
> make[1]: *** Waiting for unfinished jobs....
>  CC      /root/linux/tools/objtool/libsubcmd/sigchain.o
Gendwarfksyms requires libdw, see Documentation/kbuild/gendwarfksyms.rst
[1]. Is the library and its development files installed on your system?
If you write a trivial program that includes <dwarf.h>, can the compiler
find it in the default search locations?

[1] https://github.com/torvalds/linux/blob/v7.1-rc5/Documentation/kbuild/gendwarfksyms.rst

-- Petr

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

* Re: build failure for stablerc
  2026-05-26  7:31 ` Petr Pavlu
@ 2026-05-26 17:17   ` Toralf Förster
  0 siblings, 0 replies; 3+ messages in thread
From: Toralf Förster @ 2026-05-26 17:17 UTC (permalink / raw)
  To: Petr Pavlu; +Cc: linux-modules, linux-kbuild, Linux Kernel

On 26/05/2026 09:31, Petr Pavlu wrote:
> Gendwarfksyms requires libdw, see Documentation/kbuild/gendwarfksyms.rst
> [1]. Is the library and its development files installed on your system?
That was it - I've to install libdw-dev under Ubuntu-26.04.

Thx.

-- 
Toralf


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

end of thread, other threads:[~2026-05-26 17:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-25 19:39 build failure for stablerc Toralf Förster
2026-05-26  7:31 ` Petr Pavlu
2026-05-26 17:17   ` Toralf Förster

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®