Re: Unversioned symbols when building kernel package

John Paul Adrian Glaubitz <[email protected]> Thu, 5 Jan 2023 17:39:12 +0100
Newsgroups gmane.linux.debian.ports.alpha
Message-ID <[email protected]>
Hi Ben!

On 1/5/23 17:15, Ben Hutchings wrote:
>  From the Debian build logs, this regressed between 5.18 and 5.19.  I
> have bisected this to:
> 
> commit f292d875d0dc700b3af0bef04c5abc1dc7b3b62c
> Author: Masahiro Yamada <[email protected]>
> Date:   Fri May 13 20:39:21 2022 +0900
> 
>      modpost: extract symbol versions from *.cmd files
> 
> Following this, although the 4 problem symbols have CRCs listed in
> their respective cmd files (arch/alpha/.strcat.o.cmd etc.) those don't
> end up in Modules.symvers.

Awesome, thanks for the work!

> I noticed that the object files for these 4 functions are handled
> specially at the bottom of arch/alpha/lib/Makefile, and that interacts
> badly with this change to modpost.  The attached patch fixes this for
> me, but please test it to check that the output actually works.

I'll test the patch and report back as soon as possible!

Adrian