On Wed, Apr 22, 2020 at 12:15 AM Will Deacon <will@xxxxxxxxxx> wrote: > > 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 "know" -> "known" > 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@xxxxxxxxxx> Maybe you can also clean up mm/migrate.c because GCC_VERSION >= 40700 is always met. It is up to you if you want to send v5. Please replace CC with Reviewed-by: Masahiro Yamada <masahiroy@xxxxxxxxxx> Thank you! > Acked-by: Arnd Bergmann <arnd@xxxxxxxx> > Reviewed-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx> > Signed-off-by: Will Deacon <will@xxxxxxxxxx> > --- -- Best Regards Masahiro Yamada