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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to