Arch Linux Drops GCC 9 From Testing Due To BCache Corruption Bug

Written by Michael Larabel in Arch Linux on 28 May 2019 at 07:22 AM EDT. 36 Comments
ARCH LINUX
The bleeding-edge Arch Linux distribution has resorted to dropping the GCC 9.1 compiler from testing due to a data corruption bug.

If using the GCC 9 compiler to build the Linux kernel, this latest version of the GNU compiler is yielding faulty code that could lead to file-system corruption around BCache. This is the BCache corruption issue we pointed out earlier this month around Linux 5.0+ and GCC 9. But it's not to be confused with the other LVM/DM/SSD FSTRIM corruption bug talked about last week.

This kernel corruption bug when built by GCC9 appears to only come out if BCache is in use as a block cache in writeback or writethrough caching modes, if you aren't using the feature there doesn't appear to be any known pressing issues with using the new compiler to assemble your kernel.

This code generation bug of GCC9 is still being sorted out upstream so for the time being Arch Linux has dropped the compiler from its testing area so users don't inadvertently use it to build a problematic kernel. More details for Arch users on their mailing list.
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