On Hirsute v5.11 the ubuntu_bpf fails to build with:
make[1]: Leaving directory '/home/azure/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf'
make: Leaving directory '/home/azure/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests'
stderr:
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'
progs/btf__core_reloc_existence___err_wrong_arr_kind.c:3:15: warning: declaration of 'struct core_reloc_existence___err_wrong_arr_kind' will not be visible outside of this function [-Wvisibility]
void f(struct core_reloc_existence___err_wrong_arr_kind x) {}
^
progs/btf__core_reloc_existence___err_wrong_arr_kind.c:3:57: error: variable has incomplete type 'struct core_reloc_existence___err_wrong_arr_kind'
void f(struct core_reloc_existence___err_wrong_arr_kind x) {} ^
progs/btf__core_reloc_existence___err_wrong_arr_kind.c:3:15: note: forward declaration of 'struct core_reloc_existence___err_wrong_arr_kind'
void f(struct core_reloc_existence___err_wrong_arr_kind x) {}
^
1 warning and 1 error generated.
make[1]: *** [Makefile:394: /home/azure/autotest/client/tmp/ubuntu_bpf/src/linux/tools/testing/selftests/bpf/btf__core_reloc_existence___err_wrong_arr_kind.o] Error 1
On Hirsute v5.11 the ubuntu_bpf fails to build with:
make[1]: Leaving directory '/home/ azure/autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ testing/ selftests/ bpf' azure/autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ testing/ selftests' 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' btf__core_ reloc_existence ___err_ wrong_arr_ kind.c: 3:15: warning: declaration of 'struct core_reloc_ existence_ __err_wrong_ arr_kind' will not be visible outside of this function [-Wvisibility] existence_ __err_wrong_ arr_kind x) {} btf__core_ reloc_existence ___err_ wrong_arr_ kind.c: 3:57: error: variable has incomplete type 'struct core_reloc_ existence_ __err_wrong_ arr_kind' existence_ __err_wrong_ arr_kind x) {}
^ btf__core_ reloc_existence ___err_ wrong_arr_ kind.c: 3:15: note: forward declaration of 'struct core_reloc_ existence_ __err_wrong_ arr_kind' existence_ __err_wrong_ arr_kind x) {} autotest/ client/ tmp/ubuntu_ bpf/src/ linux/tools/ testing/ selftests/ bpf/btf_ _core_reloc_ existence_ __err_wrong_ arr_kind. o] Error 1
make: Leaving directory '/home/
stderr:
Warning: Kernel ABI header at 'tools/
Warning: Kernel ABI header at 'tools/
progs/
void f(struct core_reloc_
^
progs/
void f(struct core_reloc_
progs/
void f(struct core_reloc_
^
1 warning and 1 error generated.
make[1]: *** [Makefile:394: /home/azure/