Test build failed with:
Warning: Kernel ABI header at 'tools/include/uapi/linux/netlink.h' differs from latest version at 'include/uapi/linux/netlink.h'
Warning: Kernel ABI header at 'tools/include/uapi/linux/if_link.h' differs from latest version at 'include/uapi/linux/if_link.h'
In file included from /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/include/linux/build_bug.h:5,
from /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/include/linux/kernel.h:8,
from /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/kernel/bpf/disasm.h:10,
from /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/kernel/bpf/disasm.c:8:
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/kernel/bpf/disasm.c: In function ‘__func_get_name’:
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/include/linux/compiler.h:37:38: warning: nested extern declaration of ‘__compiletime_assert_0’ [-Wnested-externs]
37 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~~~
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/include/linux/compiler.h:16:15: note: in definition of macro ‘__compiletime_assert’
16 | extern void prefix ## suffix(void) __compiletime_error(msg); \
| ^~~~~~
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/include/linux/compiler.h:37:2: note: in expansion of macro ‘_compiletime_assert’
37 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/include/linux/build_bug.h:50:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/kernel/bpf/disasm.c:20:2: note: in expansion of macro ‘BUILD_BUG_ON’
20 | BUILD_BUG_ON(ARRAY_SIZE(func_id_str) != __BPF_FUNC_MAX_ID);
| ^~~~~~~~~~~~
libbpf: failed to open format: No such file or directory
Error: failed to load BTF from format: No such file or directory
make[1]: *** [Makefile:190: /home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h] Error 2
make[1]: *** Deleting file '/home/ubuntu/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/tools/include/vmlinux.h'
make: *** [Makefile:157: all] Error 2
Please find attachment for the complete build log.
Issue found on 5.8.0-1001.1 - kvm
Test build failed with: include/ uapi/linux/ netlink. h' differs from latest version at 'include/ uapi/linux/ netlink. h' include/ uapi/linux/ if_link. h' differs from latest version at 'include/ uapi/linux/ if_link. h' autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ include/ linux/build_ bug.h:5, autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ include/ linux/kernel. h:8, autotest/ client/ tmp/ubuntu_ bpf/src/ linux/kernel/ bpf/disasm. h:10, autotest/ client/ tmp/ubuntu_ bpf/src/ linux/kernel/ bpf/disasm. c:8: autotest/ client/ tmp/ubuntu_ bpf/src/ linux/kernel/ bpf/disasm. c: In function ‘__func_get_name’: autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ include/ linux/compiler. h:37:38: warning: nested extern declaration of ‘__compiletime_ assert_ 0’ [-Wnested-externs] assert( condition, msg, __compiletime_ assert_ , __COUNTER__) ~~~~~~~ ~~~~~~~ autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ include/ linux/compiler. h:16:15: note: in definition of macro ‘__compiletime_ assert’ error(msg) ; \ autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ include/ linux/compiler. h:37:2: note: in expansion of macro ‘_compiletime_ assert’ assert( condition, msg, __compiletime_ assert_ , __COUNTER__) autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ include/ linux/build_ bug.h:39: 37: note: in expansion of macro ‘compiletime_ assert’ ON_MSG( cond, msg) compiletime_ assert( !(cond) , msg) autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ include/ linux/build_ bug.h:50: 2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’ ON_MSG( condition, "BUILD_BUG_ON failed: " #condition) autotest/ client/ tmp/ubuntu_ bpf/src/ linux/kernel/ bpf/disasm. c:20:2: note: in expansion of macro ‘BUILD_BUG_ON’ ON(ARRAY_ SIZE(func_ id_str) != __BPF_FUNC_MAX_ID); autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ testing/ selftests/ bpf/tools/ include/ vmlinux. h] Error 2 ubuntu/ autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ testing/ selftests/ bpf/tools/ include/ vmlinux. h'
Warning: Kernel ABI header at 'tools/
Warning: Kernel ABI header at 'tools/
In file included from /home/ubuntu/
from /home/ubuntu/
from /home/ubuntu/
from /home/ubuntu/
/home/ubuntu/
/home/ubuntu/
37 | _compiletime_
| ^~~~~~~
/home/ubuntu/
16 | extern void prefix ## suffix(void) __compiletime_
| ^~~~~~
/home/ubuntu/
37 | _compiletime_
| ^~~~~~~~~~~~~~~~~~~
/home/ubuntu/
39 | #define BUILD_BUG_
| ^~~~~~~~~~~~~~~~~~
/home/ubuntu/
50 | BUILD_BUG_
| ^~~~~~~~~~~~~~~~
/home/ubuntu/
20 | BUILD_BUG_
| ^~~~~~~~~~~~
libbpf: failed to open format: No such file or directory
Error: failed to load BTF from format: No such file or directory
make[1]: *** [Makefile:190: /home/ubuntu/
make[1]: *** Deleting file '/home/
make: *** [Makefile:157: all] Error 2
Please find attachment for the complete build log.