Thread (37 messages) 37 messages, 6 authors, 2021-02-03

Re: [PATCH v6 1/2] Kbuild: make DWARF version a choice

From: Jakub Jelinek <hidden>
Date: 2021-01-29 21:43:19
Also in: linux-kbuild, lkml

On Fri, Jan 29, 2021 at 04:32:32PM -0500, Arvind Sankar wrote:
Given what Jakub is saying, i.e. it was previously impossible to get
dwarf2 with gcc, and you get dwarf4 whether or not DEBUG_INFO_DWARF4 was
It isn't impossible to get it, -gdwarf-2 works, it is just not a very good
choice (at least unless one knows some debug info consumer is not DWARF3 or
later ready).
Though, even gcc -gdwarf-2 will use many extensions from DWARF3 and later,
as long as there is no way to describe stuff in DWARF2.  -gstrict-dwarf
option requests that no DWARF extensions are used.

	Jakub
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help