Shall we modify '-g' to '-g3' to have gcc save the macro info?

Sérgio Basto sergio at serjux.com
Sat Jan 26 13:13:38 UTC 2013


On Qua, 2013-01-16 at 15:36 +0100, Jakub Jelinek wrote: 
> On Wed, Jan 16, 2013 at 02:26:00PM +0100, Jan Kratochvil wrote:
> > On Wed, 16 Jan 2013 04:12:29 +0100, xning wrote:
> > > Shall we should modify '-g' to '-g3' to have gcc save the macro
> > > info? So when we install *-debuginfo packages, we can look up a
> > > macro definition, just like we can look up a function definition.
> > 
> > That would be great, I have not found any official request for it, there was
> > only short -g3 discussion in:
> > 	Summary/Minutes from today's FESCo Meeting (2012-06-18)
> > 	http://lists.fedoraproject.org/pipermail/devel/2012-June/168884.html
> > 
> > The new -g3 format by Jakub Jelinek has only very small debug info size
> > increase requirement (FIXME: missing numbers here).
> 
> The tests performed on average meant that all or most of the space savings
> thanks to dwz were consumed again by the .debug_macro addition (+ .debug_str
> growth), which is why I've given up on the request to use -g3 in
> RPM_OPT_FLAGS by default.

What is state of this macro , to have -g3 we need update what ? rpm ?
rpmbuild ? 


-- 
Sérgio M. B.



More information about the devel mailing list