Bug#567533: -O interferes with debugging on amd64 (oprofile doesn't like -fomit-frame-pointers)
reassign 567533 oprofile
thanks
On 01/29/2010 06:04 PM, Timothy Brownawell wrote:
> Package: g++
>
> -O is turning on -fomit-frame-pointers on amd64, which interferes with debugging
> performance issues (because it prevents oprofile from generating callgraph
> information). "man g++" says
> -O also turns on -fomit-frame-pointer on machines where doing so
> does not interfere with debugging.
> , but here it is turning it on where is *does* interfere with debugging.
same on ix86 with GCC-4.6. oprofile should handle that.
Reply to: