public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
To: Oleg Smolsky <osmolsky@netskope.com>,
	Libc-help <libc-help@sourceware.org>
Subject: Re: Q: -fno-omit-frame-pointer
Date: Thu, 1 Apr 2021 11:38:01 -0300	[thread overview]
Message-ID: <b68c5513-21fb-d9f8-cca6-e58718796e2a@linaro.org> (raw)
In-Reply-To: <CAAucFJejMD41G5O3OwONe7cXZCVXwSL8NVOWv2zOPE2L4FCp0A@mail.gmail.com>



On 31/03/2021 18:23, Oleg Smolsky via Libc-help wrote:
> Folks, what is the default for x88-64 builds w.r.t. the frame pointers? (I
> think it's "off"). I couldn't find a configure.ac option to tweak that...
> yet it's easy to force via CFLAGS.
> 
> Is glibc known to work with the frame pointers? Does the test suite cover
> whatever kinks come from forcing that via CFLAGS?
> 

We use the compiler and cflags default with exception of some specific
objects (and to which I am not it is strictly required, the exception
based mechanism on most architectures are done through libgcc and
dwarf unwind).

At least for i386, we fixed some issues to build with -fno-omit-frame-pointer
(BZ#21029).  Afaik gcc 4.6 set to -fomit-frame-pointer as default, but
I am not sure if it is enforced on all architectures.

  reply	other threads:[~2021-04-01 14:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-31 21:23 Oleg Smolsky
2021-04-01 14:38 ` Adhemerval Zanella [this message]
2021-04-07  7:00 ` Linda A. Walsh

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=b68c5513-21fb-d9f8-cca6-e58718796e2a@linaro.org \
    --to=adhemerval.zanella@linaro.org \
    --cc=libc-help@sourceware.org \
    --cc=osmolsky@netskope.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).