[Top][All Lists]
[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.
- [Bug binutils/14444] New: objdump fails on .ko with -gdwarf-4, viriketo at gmail dot com, 2012/08/08
- [Bug binutils/14444] objdump fails on .ko with -gdwarf-4, viriketo at gmail dot com, 2012/08/08
- [Bug binutils/14444] objdump fails on .ko with -gdwarf-4, hjl.tools at gmail dot com, 2012/08/09
- [Bug binutils/14444] objdump fails on .ko with -gdwarf-4,
viriketo at gmail dot com <=
- [Bug binutils/14444] objdump fails on .ko with -gdwarf-4, hjl.tools at gmail dot com, 2012/08/09
- [Bug binutils/14444] objdump fails on .ko with -gdwarf-4tl, viriketo at gmail dot com, 2012/08/09
- [Bug binutils/14444] objdump fails on .ko with -gdwarf-4tl, amodra at gmail dot com, 2012/08/09
- [Bug binutils/14444] objdump fails on .ko with -gdwarf-4tl, cvs-commit at gcc dot gnu.org, 2012/08/09
- [Bug binutils/14444] objdump fails on .ko with -gdwarf-4tl, amodra at gmail dot com, 2012/08/09