Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Dec 2011 15:10:38 -0500
From:      Ryan Stone <rysto32@gmail.com>
To:        Gleb Kurtsou <gleb.kurtsou@gmail.com>
Cc:        mdf@freebsd.org, freebsd-hackers@freebsd.org, Piotr Nowak <pn@semihalf.com>, Rafal Jaworowski <raj@semihalf.com>, Nathan Whitehorn <nwhitehorn@freebsd.org>, Arnaud Lacombe <lacombar@gmail.com>
Subject:   Re: gcc 4.2 miscompilation with -O2 -fno-omit-frame-pointer on amd64
Message-ID:  <CAFMmRNwt62NDhan72%2BMVFw1iYswP2ixpKMyKnMCnd_KNK0zVbw@mail.gmail.com>
In-Reply-To: <20111209181550.GA3555@reks>
References:  <20111119100150.GA1560@reks> <CACqU3MXf%2BsbTpZMbqugmMKKb1BEbp6sNzeTkXfvnQtZ1E4ukEA@mail.gmail.com> <BA73AB23-650A-4241-BBAC-BA01BD372AA3@semihalf.com> <20111208090159.GA1924@cq1> <4EE0EB8C.7050800@freebsd.org> <6D023449-EDEA-4B1C-975D-54AA2F4328CE@semihalf.com> <20111209181550.GA3555@reks>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 9, 2011 at 1:15 PM, Gleb Kurtsou <gleb.kurtsou@gmail.com> wrote:
> -fno-omit-frame-pointer is there for kernel debugger to be able to
> generate backtraces.

It's also needed by the DTrace stack() action, hwpmc callchain capture
and stack(9).  Disabling it as anything other than a very short-term
bandaid is a non-starter.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFMmRNwt62NDhan72%2BMVFw1iYswP2ixpKMyKnMCnd_KNK0zVbw>