On Fri, 2009-07-24 at 12:04 +0300, Samuli Suominen wrote:
> Would it be OK if I change
> 
> [-    ] profile - Adds support for software performance analysis (will
> likely vary from ebuild to ebuild)
> 
> To
> 
> [-    ] profile - Adds support for software performance analysis
> (WARNING: DON'T ENABLE UNLESS YOU KNOW WHAT YOU ARE DOING.)
> 
> Or something similar? Suggestions welcome. People seem to add it
> randomly in combination with -fomit-frame-pointer which breaks with -pg
> as expected.

Note that -fomit-frame-pointer is the default with stable gcc (4.3 at
least) on many architectures - some of those that can still debug with
gdb without frame pointers thanks to location lists generated to debug
sections by default with -g on those platforms. This includes at least
amd64, and I believe x86.
However it might not default enable in combination with -pg, not sure
about that. Lets say this is a call for testing that, as combinatory
CFLAGS enabling -fomit-frame-pointer is your reasoning here.

-- 
Mart Raudsepp
Gentoo Developer
Mail: l...@gentoo.org
Weblog: http://planet.gentoo.org/developers/leio

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to