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 today's howtos Roy Schestowitz 21/07/2018 - 7:11pm
Story How to install Linux on your PC Roy Schestowitz 21/07/2018 - 6:22pm
Story What Build System Should Qt 6 Use? Roy Schestowitz 21/07/2018 - 5:33pm
Story Wine and Games for GNU/Linux Roy Schestowitz 21/07/2018 - 5:29pm
Story Android Leftovers Rianne Schestowitz 21/07/2018 - 5:01pm
Story Jonathan Dieter: Small file performance on distributed filesystems - Round 2 Roy Schestowitz 21/07/2018 - 4:55pm
Story GNOME 3.30 Desktop Environment to Enter Beta on August 1, GNOME 3.29.4 Is Out Rianne Schestowitz 21/07/2018 - 4:45pm
Story Google’s iron grip on Android: Controlling open source by any means necessary Rianne Schestowitz 21/07/2018 - 4:42pm
Story Today in Techrights Roy Schestowitz 21/07/2018 - 4:29pm
Story Security: Huawei, Singapore, and Voting Machines With Back Doors Roy Schestowitz 21/07/2018 - 12:33pm