[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20220309171043.33e048bb8bc43e5f483fa102@linux-foundation.org>
Date: Wed, 9 Mar 2022 17:10:43 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Qian Cai <quic_qiancai@...cinc.com>
Cc: <linux-kernel@...r.kernel.org>,
Daniel Thompson <daniel.thompson@...aro.org>,
Kees Cook <keescook@...omium.org>
Subject: Re: [PATCH] configs/debug: Restore DEBUG_INFO=y for overriding
On Tue, 8 Mar 2022 10:35:24 -0500 Qian Cai <quic_qiancai@...cinc.com> wrote:
> 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@chromium.org/
>
> ...
>
> --- a/kernel/configs/debug.config
> +++ b/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
Thanks, I queued this for 5.17,
Powered by blists - more mailing lists