On Wed, Jan 03, 2024 at 05:03:17PM -0500, Kent Overstreet wrote: > On Wed, Jan 03, 2024 at 08:20:10AM -0800, Nick Desaulniers wrote: > > On Tue, Jan 2, 2024 at 9:53 AM Mark Wielaard <mark@xxxxxxxxx> wrote: > > > > > > This seems to need Qualcomm to upstream support for this processor > > > type to bintuils and elfutils. > > > > Probably should disable BTF for hexagon until then. > > Do we want to include a patch for that in the header cleanup tree? This issue is reproducible on mainline so I don't think there needs to be a patch for this in the header cleanup tree. As for the patch, I assume it would look something like this? diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 4405f81248fb..1b939f5583eb 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -378,6 +378,8 @@ config DEBUG_INFO_BTF depends on !GCC_PLUGIN_RANDSTRUCT || COMPILE_TEST depends on BPF_SYSCALL depends on !DEBUG_INFO_DWARF5 || PAHOLE_VERSION >= 121 + # pahole uses elfutils, which does not have support for Hexagon relocations + depends on !HEXAGON help Generate deduplicated BTF type information from DWARF debug info. Turning this on expects presence of pahole tool, which will convert