Rebuilding Fedora Under GCC 6 Has Uncovered An Assortment Of Problems

Written by Michael Larabel in Fedora on 22 February 2016 at 07:25 AM EST. 18 Comments
The past few days Red Hat / Fedora developers have been rebuilding Fedora Rawhide packages with the GCC 6 compiler. Out of the 17,741 packages, 577 packages ran into issues relating to GCC 6 (~3% of the packages).

Having problems with 577 packages due to the new version of the GNU Compiler Collection is much more than usual with Red Hat's Marek Polacek pointing out last year with the GCC 5 rebuild they had problems with half as many -- 236 problematic packages.

A lot of the problems this year were due to the default C++ standard of the compiler changing from GNU++98 to GNU++14, with many packages not prepared for C++11/C++14 changes. Changes in libstdc++ also "often revealed very poor programming practices" according to Polacek.

Rebuilding the thousands of Fedora packages under GCC 6 did also uncover some GCC and libstdc++ bugs, most of which are now fixed in the upstream code. Other problems included some packages failing due to the new warnings of GCC6, and other problems like a glibc bug, poor version checks around GCC6, and other problems.

Those wishing to find out more about the Fedora Rawhide rebuild with GCC 6 can find all of the details via the Fedora devel list.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week