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 20/09/2018 - 12:47am
Story Variscite’s latest DART module taps headless i.MX6 ULZ Rianne Schestowitz 20/09/2018 - 12:14am
Story Stable kernels 4.18.9, 4.14.71, 4.9.128 and 4.4.157 Rianne Schestowitz 20/09/2018 - 12:10am
Story Chrome OS 69 Finally Brings Linux Apps to Some Chromebooks, Night Light Feature Rianne Schestowitz 4 19/09/2018 - 11:47pm
Story Red Hat Reports Results, Shares Collapse Roy Schestowitz 1 19/09/2018 - 11:44pm
Story The Linux Kernel Adopts A Code of Conduct Roy Schestowitz 3 19/09/2018 - 11:42pm
Story LLVM 7.0.0 Released Roy Schestowitz 1 19/09/2018 - 11:41pm
Story Openwashing: Zenko (Dual), Kong (Mere API) and Blackboard (Proprietary and Malicious) Roy Schestowitz 19/09/2018 - 11:35pm
Story Games: Descenders, War Thunder’s “The Valkyries” Roy Schestowitz 19/09/2018 - 11:24pm
Story IBM Looking to Distract From Recent Reports That it Helped Police Racially Profile the Public (by Openwashing) Roy Schestowitz 4 19/09/2018 - 11:17pm