diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-09-13 20:37:54 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-09-14 06:03:29 +0300 |
commit | 5277d130947ba8c0d54c16eed89eb97f0b6d2e5a (patch) | |
tree | 3fbae5a1e61f31f22b05fcbad48cf8520928e477 /net/ethtool/ioctl.c | |
parent | 42450f7a9086cf38e97c3aeeaabd229af7abbbad (diff) | |
download | linux-5277d130947ba8c0d54c16eed89eb97f0b6d2e5a.tar.xz |
btf: require pahole 1.21+ for DEBUG_INFO_BTF with default DWARF version
As described in commit 42d9b379e3e1 ("lib/Kconfig.debug: Allow BTF +
DWARF5 with pahole 1.21+"), the combination of CONFIG_DEBUG_INFO_BTF
and CONFIG_DEBUG_INFO_DWARF5 requires pahole 1.21+.
GCC 11+ and Clang 14+ default to DWARF 5 when the -g flag is passed.
For the same reason, the combination of CONFIG_DEBUG_INFO_BTF and
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is also likely to require
pahole 1.21+ these days. (At least, it is uncertain whether the actual
requirement is pahole 1.16+ or 1.21+.)
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Alan Maguire <alan.maguire@oracle.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20240913173759.1316390-3-masahiroy@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/ethtool/ioctl.c')
0 files changed, 0 insertions, 0 deletions