linux-next-20250620 objtool errors and warnings with clang-21-20250619105726

From: Arnd Bergmann
Date: Fri Jun 20 2025 - 10:37:13 EST


Hi Josh and Peter,

I came across some new build failures from objtool errors
today. I have not run this for long yet, but this is what I got
so far:

https://pastebin.com/vM26CVnJ
lib/ubsan.o: warning: objtool: __ubsan_handle_type_mismatch+0xe0: call to __msan_memset() with UACCESS enabled
lib/ubsan.o: warning: objtool: __ubsan_handle_type_mismatch_v1+0xfd: call to __msan_memset() with UACCESS enabled
kernel/bpf/core.o: warning: objtool: ___bpf_prog_run+0x20f: sibling call from callable instruction with modified stack frame
drivers/gpu/drm/vmwgfx/vmwgfx_msg.o: warning: objtool: vmw_host_printf+0xe: unknown CFA base reg 0

https://pastebin.com/5UppA6JZ
mm/vmscan.o: warning: objtool: shrink_lruvec+0x198f: sibling call from callable instruction with modified stack frame
drivers/usb/host/xhci.o: warning: objtool: xhci_configure_endpoint+0x15bd: undefined stack state
drivers/usb/host/xhci.o: warning: objtool: xhci_configure_endpoint+0x15b5: unknown CFA base reg -1
drivers/gpu/drm/vmwgfx/vmwgfx_msg.o: warning: objtool: vmw_host_printf+0x9: unknown CFA base reg 0

Arnd