FWIW, i'm having a similar problem on Focal 5.4:
https://paste.ubuntu.com/p/CdFBr9QmHp/
...
libbpf: Error loading .BTF into kernel: -22.
Failed to load SK_SKB verdict prog
but i have clang-10:
ii clang 1:10.0-50~exp1 amd64
C, C++ and Objective-C compiler (LLVM based)
ii clang-10 1:10.0.0-2ubuntu2 amd64
C, C++ and Objective-C compiler
ii libclang-common-10-dev 1:10.0.0-2ubuntu2 amd64
Clang library - Common development package
ii libclang-cpp10 1:10.0.0-2ubuntu2 amd64
C++ interface to the Clang library
ii libclang1-10 1:10.0.0-2ubuntu2 amd64
C interface to the Clang library
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1845860
Title:
test_maps in ubuntu_bpf failed to build on B-hwe-edge 5.3 (BTF is
required, but is missing or corrupted.)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1845860/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs