6.15.0: objtool "unexpected end of section" errors with clang 20.1.5, and lto

From: Klaus Kusche
Date: Mon Jun 02 2025 - 08:19:11 EST



Sorry, resending my message dated 2025-05-29, no idea why
that message was appended to a 5 month old dead thread
instead of starting a new thread...


Hello,

Compiling 6.15.0 with clang 20.1.5 and full lto,
I got several error messages "unexpected end of section".

See https://bugzilla.kernel.org/show_bug.cgi?id=220174

(kernel .config attached to bugzilla bug)

Klaus Kusche