summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.kasan
diff options
context:
space:
mode:
authorMarco Elver <elver@google.com>2020-06-23 13:24:48 +0200
committerPeter Zijlstra <peterz@infradead.org>2020-06-25 13:45:39 +0200
commitacf7b0bf7dcf5a96d9b44a0997227c7210d995c1 (patch)
tree7fdf80b80b18c8603e259985c1bf93615cdb4914 /lib/Kconfig.kasan
parentcompiler_attributes.h: Support no_sanitize_undefined check with GCC 4 (diff)
downloadlinux-acf7b0bf7dcf5a96d9b44a0997227c7210d995c1.tar.xz
linux-acf7b0bf7dcf5a96d9b44a0997227c7210d995c1.zip
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 <sfr@canb.auug.org.au> Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20200623112448.GA208112@elver.google.com
Diffstat (limited to 'lib/Kconfig.kasan')
-rw-r--r--lib/Kconfig.kasan2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kconfig.kasan b/lib/Kconfig.kasan
index af0dd09f91e9..34b84bcbd3d9 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"