Bug 220174 - 6.15.0: objtool "unexpected end of section" errors with clang 20.1.5 and lto
Summary: 6.15.0: objtool "unexpected end of section" errors with clang 20.1.5 and lto
Status: NEW
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-05-29 13:48 UTC by Klaus Kusche
Modified: 2025-05-29 13:48 UTC (History)
0 users

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


Attachments
Kernel .config (150.16 KB, text/plain)
2025-05-29 13:48 UTC, Klaus Kusche
Details

Description Klaus Kusche 2025-05-29 13:48:03 UTC
I got the following objtool errors in the lto linking step when compiling 6.15.0:

vmlinux.o: error: objtool: dc_fixpt_recip(): unexpected end of section .text.dc_fixpt_recip

vmlinux.o: error: objtool: spl_calculate_number_of_taps(): unexpected end of section .text.spl_calculate_number_of_taps

vmlinux.o: error: objtool: spl_fixpt_recip(): unexpected end of section .text.spl_fixpt_recip

vmlinux.o: error: objtool: translate_from_linear_space(): unexpected end of section .text.translate_from_linear_space

Kernel .config attached.
Comment 1 Klaus Kusche 2025-05-29 13:48:41 UTC
Created attachment 308179 [details]
Kernel .config

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