[PATCH master 5/7] sandbox: fix SANDBOX_UNWIND dependency to be KASAN only
Ahmad Fatoum
a.fatoum at pengutronix.de
Mon Sep 14 06:05:51 EDT 2020
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 at pengutronix.de>
---
arch/sandbox/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig
index 40e04919d21e..c4d0ab4dbcde 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
--
2.28.0
More information about the barebox
mailing list