The patch titled Subject: configs/debug: restore DEBUG_INFO=y for overriding has been added to the -mm tree. Its filename is configs-debug-restore-debug_info=y-for-overriding.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/configs-debug-restore-debug_info=y-for-overriding.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/configs-debug-restore-debug_info=y-for-overriding.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Qian Cai <quic_qiancai@xxxxxxxxxxx> Subject: configs/debug: restore DEBUG_INFO=y for overriding Previously, I failed to realize that Kees' patch [1] has not been merged into the mainline yet, and dropped DEBUG_INFO=y too eagerly from the mainline. As the results, "make debug.config" won't be able to flip DEBUG_INFO=n from the existing .config. This should close the gaps of a few weeks before Kees' patch is there, and work regardless of their merging status anyway. [1] https://lore.kernel.org/all/20220125075126.891825-1-keescook@xxxxxxxxxxxx/ Link: https://lkml.kernel.org/r/20220308153524.8618-1-quic_qiancai@xxxxxxxxxxx Signed-off-by: Qian Cai <quic_qiancai@xxxxxxxxxxx> Reported-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx> Reviewed-by: Daniel Thompson <daniel.thompson@xxxxxxxxxx> Cc: Kees Cook <keescook@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/configs/debug.config | 1 + 1 file changed, 1 insertion(+) --- a/kernel/configs/debug.config~configs-debug-restore-debug_info=y-for-overriding +++ a/kernel/configs/debug.config @@ -16,6 +16,7 @@ CONFIG_SYMBOLIC_ERRNAME=y # # Compile-time checks and compiler options # +CONFIG_DEBUG_INFO=y CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_FRAME_WARN=2048 _ Patches currently in -mm which might be from quic_qiancai@xxxxxxxxxxx are configs-debug-restore-debug_info=y-for-overriding.patch