[PATCH] compiler.h: Raise minimum version of GCC to 5.1 for arm64

Linus Torvalds torvalds at linux-foundation.org
Wed Jan 13 17:08:09 EST 2021


On Wed, Jan 13, 2021 at 1:44 PM Russell King - ARM Linux admin
<linux at armlinux.org.uk> wrote:
>
> So, maybe the Sparc issue was just a similar but different bug in gcc
> 4.9.x.

Good catch. And I know this bug has happened independently on
different architectures several times (I remember this on x86-64 as
well), so I started looking around.

And in fact, 4.9 was buggy on x86-64 too:

    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61904

And yeah, _that_ gcc bug wasn't actually x86-64 specific, but
apparently a generic instruction scheduling bug.

So it's an independent bug, but I do have to admit that the arguments
against 4.9 are piling up (even if that particular fix apparently got
fixed in the gcc branches and apparently backported to distro
compilers too).

         Linus



More information about the linux-arm-kernel mailing list