Ubuntu 24.10 To Enable Frame Pointers For More Packages

Written by Michael Larabel in Ubuntu on 8 July 2024 at 03:52 PM EDT. 1 Comment
With Ubuntu 24.04 LTS was a fundamental change made by Canonical to enable frame pointers by default for their packages in the name of improving the debugging and profiling experience. This has been as part of a broader push by Canonical to focus more on Ubuntu Linux performance and ensuring the needs of developers are met. With Ubuntu 24.10, more of the packages will have frame pointer support enabled.

While the intent with Ubuntu 24.04 LTS was to have all packages with frame pointers left in place by way of the "-fno-omit-frame-pointer" compiler flag, the option wasn't honored by all of the packages. In particular, for packages relying on hard-coded compiler flags that in turn followed the compiler default behavior of omitting the frame pointer.

Ubuntu 24.04 LTS desktop with terminal

From last week's Ubuntu Foundations Team status updates, there's a push to address those packages where frame pointers aren't currently present. Multiple engineers at Canonical have been working to ensure frame pointers are enabled for relevant packages. Among the recently updated packages for Ubuntu 24.10 to ensure frame pointers are Authbind, Gobi-launcher, ubuntu-drivers-common, tftp-hpa, lp-solve, lshw, U-Boot tools, Crash, ipvsadm, google-compute-engine-oslogin, and others.

While the immediate focus is on ensuring packages are built with frame pointers to enhance debugging/profiling, these packaging fixes are ultimately good for ensuring other compiler options are also honored in the future. These packaging fixes are basically ensuring that the packages are honoring the CFLAGS/CXXFLAGS from the dpkg environment when being built. So these fixes will also help in the event Canonical down the line decides to use more aggressive compiler optimization defaults or other compiler tuning flags for packages moving forward.

It will be interesting to see what more Canonical pursues on the performance front for Ubuntu 24.10 that is due for release in October.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week