[PATCH 2/2] arm64: defconfig: Enable DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT

Ard Biesheuvel ardb at kernel.org
Sun Jul 24 22:44:29 PDT 2022


On Sun, 24 Jul 2022 at 18:51, John Garry <john.garry at huawei.com> wrote:
>
> Since commit f9b3cd245784 ("Kconfig.debug: make DEBUG_INFO selectable
> from a choice") faddr2line has stopped working by default as it relies
> on CONFIG_DEBUG_INFO.
>
> Enable CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT to get it working again,
> which seems the sensible config option to use.
>
> Signed-off-by: John Garry <john.garry at huawei.com>

Acked-by: Ard Biesheuvel <ardb at kernel.org>

> ---
>  arch/arm64/configs/defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index de662de0bb4d..43e3550afa45 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -1311,6 +1311,7 @@ CONFIG_CRYPTO_DEV_HISI_TRNG=m
>  CONFIG_CMA_SIZE_MBYTES=32
>  CONFIG_PRINTK_TIME=y
>  CONFIG_DEBUG_KERNEL=y
> +CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
>  CONFIG_MAGIC_SYSRQ=y
>  CONFIG_DEBUG_FS=y
>  # CONFIG_SCHED_DEBUG is not set
> --
> 2.35.3
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel



More information about the linux-arm-kernel mailing list