Re: Build failures with gcc 4.5 and older

From: Linus Torvalds
Date: Tue Aug 14 2018 - 13:20:46 EST


On Tue, Aug 14, 2018 at 10:09 AM Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
>
> Does that mean that gcc 4.5 and older are now officially no longer
> supported for compiling the kernel ?

I guess we might as well make this the excuse for making that official.

Maybe it's trivially fixable, but I don't even want to look at it,
since we've talked about updating the minimum gcc version so long.

> If so, would it make sense to update include/linux/compiler-gcc.h
> accordingly ?

Unless somebody cares, and comes with a trivial fix to make old
compilers happy, let's just do that.

We had some other reasons to just say gcc-4.6 is the minimum version anyway.

Linus