[PATCH 05/10] riscv: remove Kconfig check for GCC version for ARCH_RV64I

Kees Cook keescook at chromium.org
Mon Sep 13 09:23:45 PDT 2021


On Fri, Sep 10, 2021 at 04:40:42PM -0700, Nick Desaulniers wrote:
> The minimum supported version of GCC is now 5.1. The check wasn't
> correct as written anyways since GCC_VERSION is 0 when CC=clang.
> 
> Cc: Paul Walmsley <paul.walmsley at sifive.com>
> Cc: Palmer Dabbelt <palmer at dabbelt.com>
> Cc: Albert Ou <aou at eecs.berkeley.edu>
> Cc: linux-riscv at lists.infradead.org
> Signed-off-by: Nick Desaulniers <ndesaulniers at google.com>

Yeah, good catch for Clang too.

Reviewed-by: Kees Cook <keescook at chromium.org>

-- 
Kees Cook



More information about the linux-riscv mailing list