This is a note to let you know that I've just added the patch titled Kconfig.debug: simplify the dependency of DEBUG_INFO_DWARF4/5 to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: kconfig.debug-simplify-the-dependency-of-debug_info_dwarf4-5.patch and it can be found in the queue-5.15 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From foo@baz Tue Oct 18 08:47:40 AM CEST 2022 From: Masahiro Yamada <masahiroy@xxxxxxxxxx> Date: Wed, 5 Oct 2022 01:29:03 +0900 Subject: Kconfig.debug: simplify the dependency of DEBUG_INFO_DWARF4/5 From: Masahiro Yamada <masahiroy@xxxxxxxxxx> commit 4f001a21080ff2e2f0e1c3692f5e119aedbb3bc1 upstream. Commit c0a5c81ca9be ("Kconfig.debug: drop GCC 5+ version check for DWARF5") could have cleaned up the code a bit more. "CC_IS_CLANG &&" is unneeded. No functional change is intended. Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx> Reviewed-by: Nathan Chancellor <nathan@xxxxxxxxxx> [nathan: Only apply to DWARF5, as 5.15 does not have 32ef9e5054ec032] Signed-off-by: Nathan Chancellor <nathan@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- lib/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -295,7 +295,7 @@ config DEBUG_INFO_DWARF4 config DEBUG_INFO_DWARF5 bool "Generate DWARF Version 5 debuginfo" - depends on !CC_IS_CLANG || (CC_IS_CLANG && (AS_IS_LLVM || (AS_IS_GNU && AS_VERSION >= 23502))) + depends on !CC_IS_CLANG || AS_IS_LLVM || (AS_IS_GNU && AS_VERSION >= 23502) depends on !DEBUG_INFO_BTF help Generate DWARF v5 debug info. Requires binutils 2.35.2, gcc 5.0+ (gcc Patches currently in stable-queue which might be from masahiroy@xxxxxxxxxx are queue-5.15/lib-kconfig.debug-add-check-for-non-constant-.-s-u-leb128-support-to-dwarf5.patch queue-5.15/kconfig.debug-simplify-the-dependency-of-debug_info_dwarf4-5.patch queue-5.15/kconfig.debug-add-toolchain-checks-for-debug_info_dwarf_toolchain_default.patch queue-5.15/kbuild-remove-the-target-in-signal-traps-when-interr.patch queue-5.15/hardening-avoid-harmless-clang-option-under-config_init_stack_all_zero.patch queue-5.15/kbuild-rpm-pkg-fix-breakage-when-v-1-is-used.patch queue-5.15/hardening-remove-clang-s-enable-flag-for-ftrivial-auto-var-init-zero.patch