[Bug 2064539] Re: Revert back frame pointers for ppc64el (remove -fno-omit-frame-pointer)
Frank Heimes
2064539 at bugs.launchpad.net
Mon Jul 15 08:41:55 UTC 2024
** Summary changed:
- Revert back frame pointers for ppc64el (remove -fno-omit-framepointer)
+ Revert back frame pointers for ppc64el (remove -fno-omit-frame-pointer)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/2064539
Title:
Revert back frame pointers for ppc64el (remove -fno-omit-frame-
pointer)
Status in The Ubuntu-power-systems project:
New
Status in dpkg package in Ubuntu:
New
Status in glibc package in Ubuntu:
New
Status in linux package in Ubuntu:
New
Status in dpkg source package in Noble:
New
Status in glibc source package in Noble:
New
Status in linux source package in Noble:
New
Status in dpkg source package in Oracular:
New
Status in glibc source package in Oracular:
New
Status in linux source package in Oracular:
New
Bug description:
Power's Linux ABIs all require an explicit call chain be stored on the call stack frames which are all accessible via the stack pointer.
Therefore, having a (soft/simulated) frame pointer does not improve backtraces at all on Power.
However, forcing a frame pointer via the -fno-omit-frame-pointer option negatively affects performance for multiple reasons: extra prologue/epilogue overhead and fewer shrink-wrapping opportunities.
Given -fno-omit-frame-pointer does not provide any improvements (backtraces or otherwise) and only reduces performance, -fno-omit-frame-pointers should not be used on Power.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/2064539/+subscriptions
More information about the foundations-bugs
mailing list