[ros-dev] [ros-diffs] [akhaldi] 57313: * Don't use -momit-leaf-frame-pointer in debug gcc builds, it messes up stack traces. * Remove it from the amd64 gcc builds too.

Thomas Faber thfabba at gmx.de
Mon Sep 17 06:58:24 UTC 2012


On 2012-09-17 01:48, Timo Kreuzer wrote:
> Amd64 doesn't need a frame pointer. Backtraces are made based on unwind
> tables. At least if GCC conforms to the ABI.

That's why the option was removed. It doesn't do anything anyway ;)
Any form of -O implies -fomit-frame-pointer on AMD64 AFAIK.



More information about the Ros-dev mailing list