Re: [PATCH] configs/debug: set CONFIG_DEBUG_INFO=y properly

Qian Cai
2022-03-08T15:11:18Z

On Tue, Mar 08, 2022 at 02:30:29PM +0000, Daniel Thompson wrote:
> That is *not* an example of debug.config working correctly. It is an
> example that only works by accident because the arm64 defconfig already
> included CONFIG_DEBUG_INFO=y (that's why I explicitly disabled it in my
> example demonstrating the problem before I applied debug.config).
>
> However debug.config is not specific to arm64 and, for v5.17-rc7 it is
> also not working with the defconfigs for (at least) arm, powerpc, riscv and
> x86 (both i386 and x86_64).
>
> I'm still of the view that any change that removes CONFIG_DEBUG_INFO=y
> cannot be sensibly applied to kernels that do not include Kees' patch.

Okay, good points. I'll make a patch for v5.17, so people don't need to
wait for a few weeks for flip DEBUG_INFO without Kees' patch then.