diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2020-09-14 12:05:51 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-14 15:50:26 +0200 |
commit | dc7f1fce6747fe0320441b95609c95e590bcc18d (patch) | |
tree | 4f88a336e9170f634cfc1dd9948d51dac5719f04 /arch/sandbox | |
parent | 5487aa192da08801c18d2e46560f0522be080e83 (diff) | |
download | barebox-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/Kconfig | 2 |
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 |