gcc 4.2 miscompilation with -O2 -fno-omit-frame-pointer on amd64

Ryan Stone rysto32 at gmail.com
Fri Dec 9 20:10:40 UTC 2011


On Fri, Dec 9, 2011 at 1:15 PM, Gleb Kurtsou <gleb.kurtsou at 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.


More information about the freebsd-hackers mailing list