Re: linux-next failing build due to missing cubictcp_state symbol

From: Michal Suchánek
Date: Mon Apr 26 2021 - 08:12:27 EST


On Mon, Apr 26, 2021 at 01:32:15PM +0200, Michal Suchánek wrote:
> On Sun, Apr 25, 2021 at 01:15:45PM +0200, Michal Suchánek wrote:
> > On Fri, Apr 23, 2021 at 07:55:28PM +0200, Michal Suchánek wrote:
> > > On Fri, Apr 23, 2021 at 07:41:29AM -0700, Yonghong Song wrote:
> > > >
> > > >
> > > > On 4/23/21 6:05 AM, Michal Suchánek wrote:
> > > > > Hello,
> > > > >
> > > > > I see this build error in linux-next (config attached).
> > > > >
> > > > > [ 4939s] LD vmlinux
> > > > > [ 4959s] BTFIDS vmlinux
> > > > > [ 4959s] FAILED unresolved symbol cubictcp_state
> > > > > [ 4960s] make[1]: ***
> > > > > [/home/abuild/rpmbuild/BUILD/kernel-vanilla-5.12~rc8.next.20210422/linux-5.12-rc8-next-20210422/Makefile:1277:
> > > > > vmlinux] Error 255
> > > > > [ 4960s] make: *** [../Makefile:222: __sub-make] Error 2
> > > >
> > > > Looks like you have DYNAMIC_FTRACE config option enabled already.
> > > > Could you try a later version of pahole?
> > >
> > > Is this requireent new?
> > >
> > > I have pahole 1.20, and master does build without problems.
> > >
> > > If newer version is needed can a check be added?
> >
> > With dwarves 1.21 some architectures are fixed and some report other
> > missing symbol. Definitely an improvenent.
> >
> > I see some new type support was added so it makes sense if that type is
> > used the new dwarves are needed.
>
> Ok, here is the current failure with dwarves 1.21 on 5.12:
>
> [ 2548s] LD vmlinux
> [ 2557s] BTFIDS vmlinux
> [ 2557s] FAILED unresolved symbol vfs_truncate
> [ 2558s] make[1]: ***
> [/home/abuild/rpmbuild/BUILD/kernel-kvmsmall-5.12.0/linux-5.12/Makefile:1213:
> vmlinux] Error 255
>
> Any idea where this one is coming from?
Attaching a complete config
>
> Thanks
>
> Michal
CONFIG_LOCALVERSION="-vanilla"
CONFIG_MODULES=y
CONFIG_MODULE_SIG=y