summaryrefslogtreecommitdiffstats
path: root/arch/sandbox
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-09-14 12:05:51 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-09-14 15:50:26 +0200
commitdc7f1fce6747fe0320441b95609c95e590bcc18d (patch)
tree4f88a336e9170f634cfc1dd9948d51dac5719f04 /arch/sandbox
parent5487aa192da08801c18d2e46560f0522be080e83 (diff)
downloadbarebox-dc7f1fce6747fe0320441b95609c95e590bcc18d.tar.gz
barebox-dc7f1fce6747fe0320441b95609c95e590bcc18d.tar.xz
sandbox: fix SANDBOX_UNWIND dependency to be KASAN only
gcc v9.3.0's libubsan does not export a __sanitizer_print_stack_trace symbol. Play it safe and avoid possible linker errors by having the optional SANDBOX_UNWIND depend only on CONFIG_KASAN. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig
index 40e04919d2..c4d0ab4dbc 100644
--- a/arch/sandbox/Kconfig
+++ b/arch/sandbox/Kconfig
@@ -22,7 +22,7 @@ config SANDBOX_UNWIND
bool
default y
select ARCH_HAS_STACK_DUMP
- depends on UBSAN || KASAN
+ depends on KASAN
config PHYS_ADDR_T_64BIT
bool