It looks like we need clang-9 for this, quoted from upstream discussion: You need at least clang-9.0.0 (not yet released) to run some of these tests successfully, as they rely on Clang's support for BTF_KIND_VAR/BTF_KIND_DATASEC.
https://lore.kernel.org/netdev/CA+G9fYsMcdHmKY66CNhsrizO- gErkOQCkTcBSyOHLpOs+8g5=g...@mail.gmail.com/T/ -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs