mm/kasan: bypass link-time optimizer
To avoid lto alias with override __asan_* symbols undefined reference to `__asan_load4_noabort' undefined reference to `__asan_load1_noabort' undefined reference to `__asan_store1_noabort' undefined reference to `__asan_load1_noabort' undefined reference to `__asan_store1_noabort' undefined reference to `__asan_load4_noabort' undefined reference to `__asan_store4_noabort' Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
76bdfcc9d9
commit
ac8918345b
@ -25,6 +25,7 @@ CSRCS += kasan.c
|
||||
# Disable kernel-address in mm subsystem
|
||||
|
||||
CFLAGS += -fno-sanitize=kernel-address
|
||||
CFLAGS += -fno-lto
|
||||
|
||||
# Add the core heap directory to the build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user