Bug 220174

Summary: 6.15.0: objtool "unexpected end of section" errors with clang 20.1.5 and lto
Product: Linux Reporter: Klaus Kusche (klaus.kusche)
Component: KernelAssignee: Virtual assignee for kernel bugs (linux-kernel)
Status: NEW ---    
Severity: normal    
Priority: P3    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:
Attachments: Kernel .config

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