Re: [RFC] minimum gcc version for kernel: raise to gcc-4.3 or 4.6?

From: Kees Cook
Date: Mon Apr 24 2017 - 16:52:44 EST


On Mon, Apr 24, 2017 at 1:30 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> How about this approach then:
>
> - To keep it simple, we update the README.rst to say that a minimum
> gcc-4.3 is required, while recommending gcc-4.9 for all architectures
> - Support for gcc-4.0 and earlier gets removed from linux/compiler.h,
> and instead we add a summary of what I found, explaining that
> gcc-4.1 has active users on a few architectures.
> - We make the Makefile show a warning once during compilation for
> gcc earlier than 4.3.

This sounds good to me!

-Kees

--
Kees Cook
Pixel Security