bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/14444] objdump fails on .ko with -gdwarf-4


From: viriketo at gmail dot com
Subject: [Bug binutils/14444] objdump fails on .ko with -gdwarf-4
Date: Thu, 09 Aug 2012 17:30:47 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=14444

--- Comment #3 from LluĂ­s Batlle <viriketo at gmail dot com> 2012-08-09 
17:30:47 UTC ---
All my kernel modules have that trouble.

I only run 'make' for the modules in the linux kernel, with gcc 4.6.3, with
DEBUG_INFO enabled, and this patch:
--- a/Makefile
+++ b/Makefile
@@ -593,8 +593,8 @@ endif
 endif

 ifdef CONFIG_DEBUG_INFO
-KBUILD_CFLAGS  += -g
-KBUILD_AFLAGS  += -gdwarf-2
+KBUILD_CFLAGS  += -gdwarf-4 -fvar-tracking-assignments
+KBUILD_AFLAGS  += -gdwarf-4
 endif

 ifdef CONFIG_DEBUG_INFO_REDUCED

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]