openwrt/config
Stijn Tintel c5fa7ec2a6 kernel: add missing UBSAN config symbols
Enabling KERNEL_UBSAN exposes several missing symbols. Add new kernel
build options for UBSAN_BOUNDS and UBSAN_TRAP, disable CONFIG_TEST_UBSAN
in the generic kernel configs and enable CONFIG_UBSAN_MISC in generic
5.10 config. The latter symbol was removed in later kernels, as it was
causing some issues, so just disable it in 5.10 instead of adding a
build option for it.

Fixes build failures with KERNEL_UBSAN enabled.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-11-07 17:38:01 +02:00
..
check-uname.sh build: add HOST_OS_LINUX and HOST_OS_MACOS config symbols 2021-11-01 16:37:52 +01:00
Config-build.in config: Activate SECCOMP also on MIPS 64 2021-11-03 23:52:08 +01:00
Config-devel.in build: use SPDX license tags 2021-02-05 14:54:47 +01:00
Config-images.in base-files: add option to make /var persistent 2021-08-22 18:07:51 +03:00
Config-kernel.in kernel: add missing UBSAN config symbols 2021-11-07 17:38:01 +02:00