summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.kcsan
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2023-02-25 22:02:20 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2023-02-25 22:02:20 +0100
commit0447ed0d71251e8e67c9d15f8d9001a3ab621fcd (patch)
treeac8add13ab8360a9f9d2990652b93281c14e1d41 /lib/Kconfig.kcsan
parentMerge tag 'flex-array-transformations-6.3-rc1' of git://git.kernel.org/pub/sc... (diff)
parentkcsan: select CONFIG_CONSTRUCTORS (diff)
downloadlinux-0447ed0d71251e8e67c9d15f8d9001a3ab621fcd.tar.xz
linux-0447ed0d71251e8e67c9d15f8d9001a3ab621fcd.zip
Merge tag 'kcsan.2023.02.24a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu
Pull kernel concurrency sanitizer (KCSAN) updates from Paul McKenney: "This fixes gcc-11 errors for x86_64 KCSAN-enabled kernel builds by selecting the CONSTRUCTORS Kconfig option" * tag 'kcsan.2023.02.24a' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu: kcsan: select CONFIG_CONSTRUCTORS
Diffstat (limited to 'lib/Kconfig.kcsan')
-rw-r--r--lib/Kconfig.kcsan1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kconfig.kcsan b/lib/Kconfig.kcsan
index 4dedd61e5192..609ddfc73de5 100644
--- a/lib/Kconfig.kcsan
+++ b/lib/Kconfig.kcsan
@@ -14,6 +14,7 @@ menuconfig KCSAN
bool "KCSAN: dynamic data race detector"
depends on HAVE_ARCH_KCSAN && HAVE_KCSAN_COMPILER
depends on DEBUG_KERNEL && !KASAN
+ select CONSTRUCTORS
select STACKTRACE
help
The Kernel Concurrency Sanitizer (KCSAN) is a dynamic