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

Kees Cook keescook at chromium.org
Mon Apr 24 16:52:24 EDT 2017


On Mon, Apr 24, 2017 at 1:30 PM, Arnd Bergmann <arnd at arndb.de> 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



More information about the linux-arm-kernel mailing list