Fedora Linux is considering adopting Thin Link Time Optimization (Thin LTO) for its Fedora 47 release. The change aims to improve build speeds and reduce memory usage compared to traditional “fat” LTO.
A change proposal has been filed to utilize Thin LTO rather than Fat LTO for link-time optimizations within Fedora 47. Thin LTO is described as quicker and more memory efficient than traditional link-time optimizations, and is activated with the `-flto=thin` compiler flag. The proposal suggests introducing a new RPM macro to facilitate the adoption of LTO with thin objects.
The change would not mandate LTO usage for all packages, but would allow Fedora packagers to add Thin LTO to existing packages or switch from full LTO to Thin LTO to evaluate build time improvements and performance gains. The hope is that more Fedora packages could leverage link-time optimizations where they are not currently used.
The proposal is currently awaiting a vote from the Fedora Engineering and Steering Committee (FESCo). Thin LTO is noted to be more scalable while maintaining much of the performance benefits of full LTO.
Read the original coverage
💬 Comments
📜 Comment Policy