Re: 6.15.0: objtool "unexpected end of section" errors with clang 20.1.5, and lto
From: Josh Poimboeuf
Date: Mon Jun 02 2025 - 20:21:32 EST
On Mon, Jun 02, 2025 at 02:18:52PM +0200, Klaus Kusche wrote:
>
> 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)
Hi Klaus,
Thanks for the report. These warnings have been fixed with the
following commit in the linux-next tree:
d01ca8708d95 ("drm/amd/display: Don't check for NULL divisor in fixpt code")
--
Josh