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).
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