Bug 219686

Summary: [Regression clang 18-->19]: Two new link warnings with lto
Product: Linux Reporter: Klaus Kusche (klaus.kusche)
Component: KernelAssignee: Virtual assignee for kernel bugs (linux-kernel)
Status: RESOLVED ANSWERED    
Severity: normal    
Priority: P3    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:
Attachments: .config

Description Klaus Kusche 2025-01-12 11:07:53 UTC
Gentoo linux on x86_64, kernel gentoo-sources 6.12.[89],
locally compiled with clang+lld and full lto, .config attached.

When switching from clang+lld 18.* to 19.1.6,
I got two new warnings in the lto link step when building the kernel:

  LD      vmlinux.o
ld.lld: warning: <unknown>:0:0: stack frame size (2056) exceeds limit (2048) in function 'dml_core_mode_support'
vmlinux.o: warning: objtool: start_unlink_intr+0xb7: can't find switch jump table
Comment 1 Klaus Kusche 2025-01-12 11:08:18 UTC
Created attachment 307479 [details]
.config
Comment 2 Artem S. Tashkinov 2025-01-13 07:54:17 UTC
This bug report will die here.

Find the relevant people, send your message to LKML and CC them.