public inbox for dwarves@vger.kernel.org
 help / color / mirror / Atom feed
* parallel pahole hangs while building modules from nvidia-open-kernel-dkms
@ 2025-03-25  9:10 Domenico Andreoli
  2025-03-25 11:32 ` Alan Maguire
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Domenico Andreoli @ 2025-03-25  9:10 UTC (permalink / raw)
  To: dwarves

Hi,

  This a forward of Debian bug report [0] where you can find more
details. At [1] and [2] you can get the kernel and module to reproduce.
I could reproduce on both amd64 and arm64 using pahole 1.29.

This is marked as serious severity because it makes the autobuilder hang
as well [3].

Could you please help?

Regards,
Domenico


The command to succeed:

This simplified (sequential) command succeeds:

cp nvidia-modeset.base.ko nvidia-modeset.ko
LLVM_OBJCOPY="x86_64-linux-gnu-objcopy" pahole -J --btf_features=encode_force,var,float,enum64,decl_tag,type_tag,optimized_func,consistent_func,decl_tag_kfuncs --btf_features=distilled_base --btf_base vmlinux nvidia-modeset.ko -j1
echo $?

producing this output:
===== 8< =====
dwarf_expr: unhandled 0x12 DW_OP_ operation
Unsupported DW_TAG_reference_type(0x10): type: 0x28172
Error while encoding BTF.
0
===== >8 =====


While this (parallel) command hangs:

cp nvidia-modeset.base.ko nvidia-modeset.ko
LLVM_OBJCOPY="x86_64-linux-gnu-objcopy" pahole -J --btf_features=encode_force,var,float,enum64,decl_tag,type_tag,optimized_func,consistent_func,decl_tag_kfuncs --btf_features=distilled_base --btf_base vmlinux nvidia-modeset.ko -j2
echo $?

producing this output:
===== 8< =====
dwarf_expr: unhandled 0x12 DW_OP_ operation
dwarf_expr: unhandled 0x12 DW_OP_ operation
dwarf_expr: unhandled 0x12 DW_OP_ operation
dwarf_expr: unhandled 0x12 DW_OP_ operation
Unsupported DW_TAG_reference_type(0x10): type: 0x28172
Error while encoding BTF.
Terminated
143
===== >8 =====


[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100503
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1100503;filename=vmlinux.zst;msg=19
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1100503;filename=nvidia-modeset.base.ko.zst;msg=12
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1101262

-- 
rsa4096: 3B10 0CA1 8674 ACBA B4FE  FCD2 CE5B CF17 9960 DE13
ed25519: FFB4 0CC3 7F2E 091D F7DA  356E CC79 2832 ED38 CB05

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

end of thread, other threads:[~2025-03-31 13:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-25  9:10 parallel pahole hangs while building modules from nvidia-open-kernel-dkms Domenico Andreoli
2025-03-25 11:32 ` Alan Maguire
2025-03-26 20:48 ` Ihor Solodrai
2025-03-28  9:05   ` Domenico Andreoli
2025-03-28 16:25     ` Ihor Solodrai
2025-03-28 17:55       ` Ihor Solodrai
2025-03-28 20:25 ` Ihor Solodrai
2025-03-31 13:17   ` Alan Maguire

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