Language Selection

English French German Italian Portuguese Spanish

Minimum GCC Version Likely to Jump from 3.2 to 4.8

Filed under
Development
GNU

The question of the earliest GCC compiler version to support for building the Linux kernel comes up periodically. The ideal would be for Linux to compile under all GCC versions, because you never know what kind of system someone is running. Maybe their company's security team has to approve all software upgrades for their highly sensitive devices, and GCC is low on that list. Maybe they need to save as much space as possible, and recent versions of GCC are too big. There are all sorts of reasons why someone might be stuck with old software. But, they may need the latest Linux kernel because it's the foundation of their entire product, so they're stuck trying to compile it with an old compiler.

However, Linux can't really support every single GCC version. Sometimes the GCC people and the kernel people have disagreed on the manner in which GCC should produce code. Sometimes this means that the kernel really doesn't compile well on a particular version of GCC. So, there are the occasional project wars emerging from those conflicts. The GCC people will say the compiler is doing the best thing possible, and the kernel people will say the compiler is messing up their code. Sometimes the GCC people change the behavior in a later release, but that still leaves a particular GCC version that makes bad Linux code.

Read more

More in Tux Machines

Type Title Author Replies Last Postsort icon
Story The Ceph storage project gets a dedicated open-source foundation Roy Schestowitz 1 12/11/2018 - 8:46pm
Story IBM/Red Hat: Moving, Supercomputing and How IBM and Red Hat Will Impact Your Cloud Strategy Roy Schestowitz 2 12/11/2018 - 8:37pm
Story Sony Needs Free Software Roy Schestowitz 3 12/11/2018 - 8:30pm
Story Samsung announce Linux on DeX with Ubuntu: for developers on the move Roy Schestowitz 9 12/11/2018 - 8:26pm
Story New Part Day: A $6 Linux Computer You Might Be Able To Write Code For Roy Schestowitz 12/11/2018 - 8:22pm
Story Security: Buttercup, Container Labeling, Serendipity and Security Updates Roy Schestowitz 12/11/2018 - 8:06pm
Story GNOME and KDE Krita Picks Roy Schestowitz 12/11/2018 - 7:47pm
Story Mozilla: Firefox, Reps, Encryption and Testday Results Roy Schestowitz 12/11/2018 - 7:42pm
Story today's howtos Roy Schestowitz 12/11/2018 - 7:17pm
Story Latest Games for GNU/Linux Roy Schestowitz 12/11/2018 - 7:11pm