News: 0001656481

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Fedora 47 Considering Use Of Thin LTO Compiler Optimizations

([Fedora] 5 Hours Ago Thin LTO vs. Fat LTO)


A change proposal filed for what would be part of Fedora Linux 47 is on making use of Thin LTO rather than Fat LTO for link-time optimizations. With Thin LTO being more memory efficient and faster build speeds, the hope is that more Fedora packages could also use Thin LTO for packages where no link-time optimizations are currently leveraged.

Thin LTO " [1]ThinLTO " is quicker and more memory efficient than traditional "fat" link-time optimizations by compilers. Thin LTO is typically more scalable while keeping much of the performance benefits of the full LTO mode and can be activated with the -flto=thin compiler flag.

With [2]the change proposal a new RPM macro would be introduced to enable LTO with thin objects to ease in its adoption. The change doesn't mandate the use of any LTO by packages but that would be a later potential system-wide change proposal.

From this initial proposal, Fedora packagers could decide to add ThinLTO to their existing packages or evaluate the build time improvement and performance if switching from current full LTO usage over to ThinLTO.

This Fedora 47 change proposal still needs to be voted on by the Fedora Engineering and Steering Committee (FESCo).



[1] https://www.phoronix.com/search/ThinLTO

[2] https://fedoraproject.org/wiki/Changes/Thin-LTO-Build-Flag



Do not allow this language (Ada) in its present state to be used in
applications where reliability is critical, i.e., nuclear power stations,
cruise missiles, early warning systems, anti-ballistic missile defense
systems. The next rocket to go astray as a result of a programming language
error may not be an exploratory space rocket on a harmless trip to Venus:
It may be a nuclear warhead exploding over one of our cities. An unreliable
programming language generating unreliable programs constitutes a far
greater risk to our environment and to our society than unsafe cars, toxic
pesticides, or accidents at nuclear power stations.
-- C. A. R. Hoare