public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mart Raudsepp <leio@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Adding a warning to description of global flag "profile".
Date: Mon, 27 Jul 2009 02:05:48 +0300	[thread overview]
Message-ID: <1248649548.31412.14.camel@localhost> (raw)
In-Reply-To: <4A69791C.7010200@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 1145 bytes --]

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: leio@gentoo.org
Weblog: http://planet.gentoo.org/developers/leio

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  parent reply	other threads:[~2009-07-26 23:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-24  9:04 [gentoo-dev] Adding a warning to description of global flag "profile" Samuli Suominen
2009-07-26 20:48 ` Mike Frysinger
2009-07-26 23:05 ` Mart Raudsepp [this message]
2009-07-27  8:57   ` [gentoo-dev] " Ryan Hill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1248649548.31412.14.camel@localhost \
    --to=leio@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox