The following commit has been merged into the x86/entry branch of tip:

Commit-ID:     acf7b0bf7dcf5a96d9b44a0997227c7210d995c1
Gitweb:        
https://git.kernel.org/tip/acf7b0bf7dcf5a96d9b44a0997227c7210d995c1
Author:        Marco Elver <el...@google.com>
AuthorDate:    Tue, 23 Jun 2020 13:24:48 +02:00
Committer:     Peter Zijlstra <pet...@infradead.org>
CommitterDate: Thu, 25 Jun 2020 13:45:39 +02:00

kasan: Fix required compiler version

The first working GCC version to satisfy
CC_HAS_WORKING_NOSANITIZE_ADDRESS is GCC 8.3.0.

Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89124
Reported-by: Stephen Rothwell <s...@canb.auug.org.au>
Signed-off-by: Marco Elver <el...@google.com>
Signed-off-by: Peter Zijlstra (Intel) <pet...@infradead.org>
Link: https://lkml.kernel.org/r/20200623112448.ga208...@elver.google.com
---
 lib/Kconfig.kasan | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Kconfig.kasan b/lib/Kconfig.kasan
index af0dd09..34b84bc 100644
--- a/lib/Kconfig.kasan
+++ b/lib/Kconfig.kasan
@@ -16,7 +16,7 @@ config CC_HAS_KASAN_SW_TAGS
        def_bool $(cc-option, -fsanitize=kernel-hwaddress)
 
 config CC_HAS_WORKING_NOSANITIZE_ADDRESS
-       def_bool !CC_IS_GCC || GCC_VERSION >= 80000
+       def_bool !CC_IS_GCC || GCC_VERSION >= 80300
 
 config KASAN
        bool "KASAN: runtime memory debugger"

Reply via email to