From 33f3a456c7de648b997c41457d68c45e7a71490f Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Fri, 30 Jun 2023 17:47:08 +0100 Subject: [PATCH] resources: Disable CONFIG_DEBUG_INFO in kernel config This bloats the size of the kernel considerably and is a regression relative to the older version of the kernel. See: https://github.com/cloud-hypervisor/cloud-hypervisor/issues/5190#issuecomment-1614885046 Signed-off-by: Rob Bradford --- resources/linux-config-aarch64 | 2 +- resources/linux-config-x86_64 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/linux-config-aarch64 b/resources/linux-config-aarch64 index 45d764239..13e559672 100644 --- a/resources/linux-config-aarch64 +++ b/resources/linux-config-aarch64 @@ -3055,7 +3055,7 @@ CONFIG_DEBUG_MISC=y # # Compile-time checks and compiler options # -CONFIG_DEBUG_INFO=y +# CONFIG_DEBUG_INFO is not set CONFIG_AS_HAS_NON_CONST_LEB128=y # CONFIG_DEBUG_INFO_NONE is not set CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y diff --git a/resources/linux-config-x86_64 b/resources/linux-config-x86_64 index ca3251522..35f90ea93 100644 --- a/resources/linux-config-x86_64 +++ b/resources/linux-config-x86_64 @@ -2929,7 +2929,7 @@ CONFIG_DEBUG_MISC=y # # Compile-time checks and compiler options # -CONFIG_DEBUG_INFO=y +# CONFIG_DEBUG_INFO is not set CONFIG_AS_HAS_NON_CONST_LEB128=y # CONFIG_DEBUG_INFO_NONE is not set CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y