Skip to contentSkip to conversation

linux-next failing build due to missing cubictcp_state symbol

DISCUSSION Michal Suchánek 7 participants 31 messages Apr 23, 2021 – May 7, 2021 Page 2 of 2

Subsystems (3)
lore
Share & tools
lore
#27 lore raw
In reply to Michal Suchánek
Quoted 26 lines · Michal Suchánek
Quoted 25 lines · Jiri Olsa
Quoted 24 lines · Jiri Olsa
Quoted 22 lines · Yonghong Song
Quoted 19 lines · Michal Suchánek
Quoted 18 lines · Michal Suchánek
Quoted 17 lines · Michal Suchánek
Quoted 16 lines · Michal Suchánek
Quoted 15 lines · Michal Suchánek
Quoted 14 lines · Yonghong Song
Quoted 11 lines · Michal Suchánek

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

Quoted 5 lines
Quoted 2 lines
Quoted 2 lines

this one was reported by Jesper and was fixed by upgrading pahole that contains the new function generation fixes (v1.19)

It needs pahole 1.21 here, 1.19 was not sufficient. Even then it regressed again after 5.12 on arm64:

Could you try against devel:tools? I've removed the ftrace filter from dwarves there (sr#890247 to factory).

Quoted 8 lines

LD vmlinux
ld: warning: -z relro ignored
BTFIDS vmlinux
FAILED unresolved symbol cubictcp_state
make[1]: *** [/home/abuild/rpmbuild/BUILD/kernel-vanilla-5.12.0.13670.g5e321ded302d/linux-5.12-13670-g5e321ded302d/Makefile:1196: vmlinux] Error 255
make: *** [../Makefile:215: __sub-make] Error 2

Any idea what might be wrong with arm64?

Signature · 2 lines
js
suse labs
#28 lore raw
Quoted 27 lines · Jiri Slaby
Quoted 26 lines · Michal Suchánek
Quoted 25 lines · Jiri Olsa
Quoted 24 lines · Jiri Olsa
Quoted 22 lines · Yonghong Song
Quoted 19 lines · Michal Suchánek
Quoted 18 lines · Michal Suchánek
Quoted 17 lines · Michal Suchánek
Quoted 16 lines · Michal Suchánek
Quoted 15 lines · Michal Suchánek
Quoted 14 lines · Yonghong Song
Quoted 11 lines · Michal Suchánek

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

Quoted 17 lines
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines

this one was reported by Jesper and was fixed by upgrading pahole that contains the new function generation fixes (v1.19)

It needs pahole 1.21 here, 1.19 was not sufficient. Even then it regressed again after 5.12 on arm64:

Could you try against devel:tools? I've removed the ftrace filter from dwarves there (sr#890247 to factory).

Quoted 8 lines

LD vmlinux
ld: warning: -z relro ignored
BTFIDS vmlinux
FAILED unresolved symbol cubictcp_state
make[1]: *** [/home/abuild/rpmbuild/BUILD/kernel-vanilla-5.12.0.13670.g5e321ded302d/linux-5.12-13670-g5e321ded302d/Makefile:1196: vmlinux] Error 255
make: *** [../Makefile:215: __sub-make] Error 2

Any idea what might be wrong with arm64?

Can you also try this pahole patch which removes the ftrace filter:
https://lore.kernel.org/dwarves/[email protected]/

I have just cross compiled with aarch64-linux-gcc together with the above pahole patch.

#29 lore raw
In reply to Jiri Slaby
Quoted 7 lines · Jiri Slaby
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines

this one was reported by Jesper and was fixed by upgrading pahole that contains the new function generation fixes (v1.19)

It needs pahole 1.21 here, 1.19 was not sufficient. Even then it regressed again after 5.12 on arm64:

Could you try against devel:tools? I've removed the ftrace filter from dwarves there (sr#890247 to factory).

Yes, works for me.

Quoted 6 lines
Quoted 6 lines

   LD      vmlinux
ld: warning: -z relro ignored
   BTFIDS  vmlinux
FAILED unresolved symbol cubictcp_state
make[1]: *** [/home/abuild/rpmbuild/BUILD/kernel-vanilla-5.12.0.13670.g5e321ded302d/linux-5.12-13670-g5e321ded302d/Makefile:1196: vmlinux] Error 255
make: *** [../Makefile:215: __sub-make] Error 2

Signature · 1 line
js
#30 lore raw
Quoted 11 lines · Jiri Slaby
Quoted 8 lines · Jiri Slaby
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines

this one was reported by Jesper and was fixed by upgrading pahole that contains the new function generation fixes (v1.19)

It needs pahole 1.21 here, 1.19 was not sufficient. Even then it regressed again after 5.12 on arm64:

Could you try against devel:tools? I've removed the ftrace filter from dwarves there (sr#890247 to factory).

Yes, works for me.

Yes, that fixes the problem with 5.13 rc

Thanks

Michal