On Fri, Mar 14, 2025 at 05:01:21PM +0100, Andreas Beckmann wrote:
> Package: pahole
> Version: 1.29-2
> Severity: important
> Control: affects -1 + src:nvidia-open-gpu-kernel-modules

Hi Andres,

Thank you for your very detailed report, it was very easy to forward
to the upstream devs and get the right eyes on it.

For the first problem, there is a candidate patch [0].

> Second problem:
> 
>     dwarf_expr: unhandled 0x12 DW_OP_ operation
>     Unsupported DW_TAG_reference_type(0x10): type: 0x28172
>     Error while encoding BTF.
> 
> pahole reports an error, but nevertheless exits with 0.
> Is the resulting .ko file still OK?

The patch above fixes also bad behavior and indeed the tool would return
an error and an appropriate status.

> What is causing these "unsupported" messages?
> Is it possible to avoid them by adding some appropriate options?
> I found https://github.com/NVIDIA/open-gpu-kernel-modules/issues/756
> which attempts to add --lang_exclude=c++ to the command line, but that
> didn't make any difference for me.

I think you may find this other message interesting [1].

> Andreas

Dom


[0] 
https://lore.kernel.org/dwarves/[email protected]/T/#u
[1] 
https://lore.kernel.org/dwarves/Z-JzFrXaopQCYd6h@localhost/T/#m7d3a6baed86ac6def78ee45a0d554d4487f84305

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

Attachment: signature.asc
Description: PGP signature

Reply via email to