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 Android Leftovers Rianne Schestowitz 1 22/02/2019 - 8:38pm
Story Programming: Developer Happiness, Rblpapi 0.3.8 and Python Roy Schestowitz 22/02/2019 - 8:30pm
Story Games: Steam, Devil Engine, City Game Studio and More Roy Schestowitz 22/02/2019 - 8:19pm
Story Security: Windows 'Fun' at Melbourne and Alleged Phishing by Venezuela’s Government Roy Schestowitz 22/02/2019 - 8:15pm
Story today's howtos Roy Schestowitz 22/02/2019 - 8:13pm
Story GCC 8.3 Released and GCC 9 Plans Roy Schestowitz 22/02/2019 - 8:11pm
Story Android Leftovers Rianne Schestowitz 22/02/2019 - 7:18pm
Story 5 Linux GUI Cloud Backup Tools Rianne Schestowitz 22/02/2019 - 6:58pm
Story Sandwich-style 96Boards SBC runs Linux on ST’s new Cortex-A7/M4 SoC Rianne Schestowitz 22/02/2019 - 6:55pm
Story Today in Techrights Roy Schestowitz 22/02/2019 - 12:24pm