Dear Arnaldo,
Thank you for your answer.
Am 24.04.25 um 22:08 schrieb Arnaldo Carvalho de Melo:
On Thu, Apr 24, 2025, 4:59 PM Paul Menzel <pmenzel@xxxxxxxxxxxxx> wrote:
Am 24.04.25 um 20:07 schrieb Alan Maguire:
On 22/04/2025 14:33, Paul Menzel wrote:
Trying to build Linux 6.12.23 with BTF and pahole 1.30, I get the build
failure below:
$ more .config
[…]
#
# Compile-time checks and compiler options
#
CONFIG_DEBUG_INFO=y
CONFIG_AS_HAS_NON_CONST_ULEB128=y
# CONFIG_DEBUG_INFO_NONE is not set
# CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set
# CONFIG_DEBUG_INFO_DWARF4 is not set
There are partial units, please try with the above set
Sorry, but what should I set exactly? I am unable to set all, as they
exclude each other. With `CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y` I
get the same error.
```
[…]
#
# Compile-time checks and compiler options
#
CONFIG_DEBUG_INFO=y
CONFIG_AS_HAS_NON_CONST_ULEB128=y
# CONFIG_DEBUG_INFO_NONE is not set
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
# CONFIG_DEBUG_INFO_DWARF4 is not set
# CONFIG_DEBUG_INFO_DWARF5 is not set
# CONFIG_DEBUG_INFO_REDUCED is not set
CONFIG_DEBUG_INFO_COMPRESSED_NONE=y
# CONFIG_DEBUG_INFO_COMPRESSED_ZLIB is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
CONFIG_DEBUG_INFO_BTF=y
[…]
```
Kind regards,
Paul