compiler/gcc: Raise minimum GCC version for kernel builds to 4.8
authorWill Deacon <will@kernel.org>
Wed, 22 Jan 2020 19:38:21 +0000 (19:38 +0000)
committerWill Deacon <will@kernel.org>
Wed, 15 Apr 2020 20:36:20 +0000 (21:36 +0100)
commit5429ef62bcf360aae06740cbe065be01e5cfb6fc
tree5b9078d844f38350b67e5e4c96b414aaf5acc56d
parent8f3d9f354286745c751374f5f1fcafee6b3f3136
compiler/gcc: Raise minimum GCC version for kernel builds to 4.8

It is very rare to see versions of GCC prior to 4.8 being used to build
the mainline kernel. These old compilers are also know to have codegen
issues which can lead to silent miscompilation:

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

Raise the minimum GCC version for kernel build to 4.8 and remove some
tautological Kconfig dependencies as a consequence.

Cc: Masahiro Yamada <masahiroy@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Will Deacon <will@kernel.org>
Documentation/process/changes.rst
arch/arm/crypto/Kconfig
crypto/Kconfig
include/linux/compiler-gcc.h
init/Kconfig
scripts/gcc-plugins/Kconfig