Gentoo Archives: gentoo-dev

From: Mart Raudsepp <leio@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Adding a warning to description of global flag "profile".
Date: Sun, 26 Jul 2009 23:00:21
Message-Id: 1248649548.31412.14.camel@localhost
In Reply to: [gentoo-dev] Adding a warning to description of global flag "profile". by Samuli Suominen
1 On Fri, 2009-07-24 at 12:04 +0300, Samuli Suominen wrote:
2 > Would it be OK if I change
3 >
4 > [- ] profile - Adds support for software performance analysis (will
5 > likely vary from ebuild to ebuild)
6 >
7 > To
8 >
9 > [- ] profile - Adds support for software performance analysis
10 > (WARNING: DON'T ENABLE UNLESS YOU KNOW WHAT YOU ARE DOING.)
11 >
12 > Or something similar? Suggestions welcome. People seem to add it
13 > randomly in combination with -fomit-frame-pointer which breaks with -pg
14 > as expected.
15
16 Note that -fomit-frame-pointer is the default with stable gcc (4.3 at
17 least) on many architectures - some of those that can still debug with
18 gdb without frame pointers thanks to location lists generated to debug
19 sections by default with -g on those platforms. This includes at least
20 amd64, and I believe x86.
21 However it might not default enable in combination with -pg, not sure
22 about that. Lets say this is a call for testing that, as combinatory
23 CFLAGS enabling -fomit-frame-pointer is your reasoning here.
24
25 --
26 Mart Raudsepp
27 Gentoo Developer
28 Mail: leio@g.o
29 Weblog: http://planet.gentoo.org/developers/leio

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies