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

John Garry john.garry at huawei.com
Sun Jul 24 09:43:24 PDT 2022


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>
---
 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




More information about the linux-arm-kernel mailing list