News: 0001611092

  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)

Mesa Will Now Prevent Compiling With LTO Due To "Random Impossible-To-Debug Bugs"

([Mesa] 5 Hours Ago Mesa LTO)


While [1]link-time optimizations "LTO" can deliver some nice performance benefits out of this compiler optimization technique, it can make debugging said binaries more challenging. Due to various bugs in Mesa being attributed to the use of compiler link-time optimizations when compiling Mesa, the builds are being blocked on using LTO.

A merge today to Mesa Git adjusts the Meson build system integration to error out if the compiler "-flto" flag is set:

"Building Mesa with LTO is not supported. Please disable LTO for building Mesa."

Mesa is now explicitly rejecting LTO for building Mesa to avoid bugs. Though for those really serious about LTO'ing Mesa, they do add a "allow-broken-lto" option to Mesa to override this error and proceed with an LTO-optimized Mesa build.

The [2]merge request noted:

"LTO is not supported with Mesa. It has caused random impossible-to-debug bugs for a long time, and LTO bug reports are generally considered a "WONTFIX please disable LTO instead". Let's make this clear to users and packagers so they don't run into more weird issues that result in inactionable reports."

Hopefully the compiler LTO support with GCC and to a lesser extent LLVM/Clang will be improved with time that these checks can be revised for those wanting to LTO their Mesa build in the name of greater performance.



[1] https://www.phoronix.com/search/link-time+optimization

[2] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39671



Linux Infiltrates Windows NT Demo

SILICON VALLEY, CA -- Attendees at the Microsoft ActiveDemo Conference held
this week in San Jose were greeted by a pleasant surprise yesterday: Linux.
Somehow a group of Linux enthusiasts were able to replace a Windows NT box with
a Linux box right before the "ActiveDemo" of Windows NT 5 beta. "I have no clue
how they were able to pull off this prank," a Microserf spokesman said. "Rest
assured, Microsoft will do everything to investigate and prosecute the Linux
nuts who did this. Our bottom line must be protected."

Bill Gates said, "I was showing off the new features in Windows NT 5 when I
noticed something odd about the demo computer. It didn't crash. Plus, the font
used on the screen wasn't MS San Serif -- trust me, I know. My suspicions were
confirmed when, instead of the "Flying Windows" screensaver, a "Don't Fear the
Penguins" screensaver appeared. The audience laughed and applauded for five
straight minutes. It was so embarrasing -- even more so than the pie incident.

One attendee said, "Wow! This Linux is cool -- it didn't crash once during the
entire demo! I'd like to see NT do that." Another asked, "You guys got any
Linux CDs? I want one. Forget about vaporware NT." Yet another remarked, "I
didn't know it was possible to hack Linux to make it look like NT. I can
install Linux on my company's computers without my boss knowing!"