diff options
author | Nathan Chancellor <[email protected]> | 2024-01-05 12:13:04 -0700 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-01-12 15:20:45 -0800 |
commit | aaa2c9a97c22af5bf011f6dd8e0538219b45af88 (patch) | |
tree | 66a8806c9d691d2e914d59d506a980db5b2067c9 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 65cc86800cf27d8e2da3439c834aef96d93fef63 (diff) |
lib/Kconfig.debug: disable CONFIG_DEBUG_INFO_BTF for Hexagon
pahole, which generates BTF, relies on elfutils to process DWARF debug
info. Because kernel modules are relocatable files, elfutils needs to
resolve relocations when processing the DWARF .debug sections.
Hexagon is not supported in binutils or elfutils, so elfutils is unable to
process relocations in kernel modules, causing pahole to crash during BTF
generation.
Do not allow CONFIG_DEBUG_INFO_BTF to be selected for Hexagon until it is
supported in elfutils, so that there are no more cryptic build failures
during BTF generation.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Nathan Chancellor <[email protected]>
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Suggested-by: Nick Desaulniers <[email protected]>
Acked-by: Brian Cain <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions