On Wed, 7 Jul 2021 15:55:15 -0500
Justin Forbes <jforbes(a)redhat.com> wrote:
No, BTF debuginfo is set on regular kernels as well. Are you
building
this on a rawhide system? My build/test system here is F34, but with
bpftool-5.13.0-1.fc35.x86_64 (rebuilt against F34) it seems to pass
fine on this. I got the same error that you did when I was running an
older version of kernel-tools. In your particular user case though,
you can comment out that line. The vmlinux.h created there is only
used in 2 instances, where kernel-tools is built separately from the
kernel, and when cross compiling the kernel (because tools have to be
built native).
Yes, on rawhide, running under the Fedora 5.14 kernel I am trying to
custom build. Great, that is simple and straightforward.