[Vivid][PATCH] UBUNTU: disable CONFIG_DEBUG_INFO_SPLIT

Mauricio Faria de Oliveira mauricfo at linux.vnet.ibm.com
Thu Jan 22 16:07:58 UTC 2015


BugLink: https://bugs.launchpad.net/bugs/1413646

The kernel option CONFIG_DEBUG_INFO_SPLIT has been enabled in commit bb5f2d940954fb389f16a0f7ad05b5a53a7e5227.

It moves debuginfo to .dwo files, using gcc -split-dwarf.
The kernel packaging received no updates to include the .dwo files, AFAICT.

This results in gdb/crash not unable to find/read the kernel debug symbols, because the .dwo files are not present.

Possible solutions include:
 1) Disable CONFIG_DEBUG_INFO_SPLIT
 2) Update the packaging to include .dwo files.

This patch implements option #1.

Signed-off-by: Mauricio Faria de Oliveira <mauricfo at linux.vnet.ibm.com>
---
 debian.master/config/config.common.ubuntu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index 2183152..9d41af0 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -1557,7 +1557,7 @@ CONFIG_DEBUG_IMX_UART_PORT=1
 CONFIG_DEBUG_INFO=y
 CONFIG_DEBUG_INFO_DWARF4=y
 # CONFIG_DEBUG_INFO_REDUCED is not set
-CONFIG_DEBUG_INFO_SPLIT=y
+# CONFIG_DEBUG_INFO_SPLIT is not set
 CONFIG_DEBUG_KERNEL=y
 # CONFIG_DEBUG_KMEMLEAK is not set
 # CONFIG_DEBUG_KOBJECT is not set
-- 
2.1.0





More information about the kernel-team mailing list