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 |