config sets CONFIG_DEBUG_INFO_DWARF4=y and config.x86_64 sets CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y. Both are members of the same "Debug information" choice, so on x86_64 the fragments contradict each other and which one survives depends on the order they are merged. Neither needs a specific DWARF version; CONFIG_DEBUG_INFO_BTF does not depend on DWARF4. They only need any member other than DEBUG_INFO_NONE, which the generic fragment already provides for every architecture. Signed-off-by: Ricardo B. Marlière (SUSE) --- tools/testing/selftests/bpf/config.x86_64 | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/testing/selftests/bpf/config.x86_64 b/tools/testing/selftests/bpf/config.x86_64 index 523e0d29bbd4..a6e9766b6b7e 100644 --- a/tools/testing/selftests/bpf/config.x86_64 +++ b/tools/testing/selftests/bpf/config.x86_64 @@ -44,7 +44,6 @@ CONFIG_CRYPTO_SEQIV=y CONFIG_CRYPTO_XXHASH=y CONFIG_DCB=y CONFIG_DEBUG_ATOMIC_SLEEP=y -CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y CONFIG_DEBUG_MEMORY_INIT=y CONFIG_DEFAULT_FQ_CODEL=y CONFIG_DEFAULT_RENO=y --- base-commit: 9437ee8b6cf607e883b36e44bd755968daaebd48 change-id: 20261127-selftests-bpf-config_dwarf-de38c19b7da6 Best regards, -- Ricardo B. Marlière (SUSE)