On Tue, May 14, 2024 at 06:54:26PM +0900, Masahiro Yamada wrote: > All architectures can enable UBSAN regardless of ARCH_HAS_UBSAN > because there is no "depends on ARCH_HAS_UBSAN" line. > > Fixes: 918327e9b7ff ("ubsan: Remove CONFIG_UBSAN_SANITIZE_ALL") > Signed-off-by: Masahiro Yamada <masahi...@kernel.org>
Oh, er, we probably want the reverse of this: add a depends to CONFIG_UBSAN, otherwise we may end up trying to build with UBSAN when it is not supported. That was my intention -- it looks like I missed adding the line. :( -Kees -- Kees Cook