From: Arnd Bergmann <[email protected]>

The now more verbose check found another symbol missing from the whitelist:

Unexpected symbols in kernel/trace/simple_ring_buffer.o:
         U __aeabi_unwind_cpp_pr1

Add this to the Makefile.

Fixes: 1211907ac0b5 ("tracing: Generate undef symbols allowlist for 
simple_ring_buffer")
Signed-off-by: Arnd Bergmann <[email protected]>
---
 kernel/trace/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/trace/Makefile b/kernel/trace/Makefile
index d662c1a64cd5..aba6a25db17b 100644
--- a/kernel/trace/Makefile
+++ b/kernel/trace/Makefile
@@ -169,8 +169,8 @@ targets += undefsyms_base.o
 # because it is not linked into vmlinux.
 KASAN_SANITIZE_undefsyms_base.o := y
 
-UNDEFINED_ALLOWLIST = __asan __gcov __kasan __kcsan __hwasan __sancov 
__sanitizer __tsan __ubsan __x86_indirect_thunk \
-                     __msan simple_ring_buffer \
+UNDEFINED_ALLOWLIST = __asan __gcov __kasan __kcsan __hwasan __sancov 
__sanitizer __tsan __ubsan __msan \
+                     __x86_indirect_thunk __aeabi_unwind_cpp 
simple_ring_buffer \
                      $(shell $(NM) -u $(obj)/undefsyms_base.o 2>/dev/null | 
awk '{print $$2}')
 
 quiet_cmd_check_undefined = NM      $<
-- 
2.39.5


Reply via email to