Bug 219686 - [Regression clang 18-->19]: Two new link warnings with lto
Summary: [Regression clang 18-->19]: Two new link warnings with lto
Status: RESOLVED ANSWERED
Alias: None
Product: Linux
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: Virtual assignee for kernel bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-12 11:07 UTC by Klaus Kusche
Modified: 2025-01-13 07:54 UTC (History)
0 users

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
.config (148.32 KB, text/plain)
2025-01-12 11:08 UTC, Klaus Kusche
Details

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.

Note You need to log in before you can comment on or make changes to this bug.