>>> bpftool a7f0e7f057283ae8af3de4578bcb8b7ee80b7144 Extracting gzip -d -c /home/peko/autobuild/instance-0/dl/bpftool/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144-br1.tar.gz | tar --strip-components=1 -C /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144 -xf - >>> bpftool a7f0e7f057283ae8af3de4578bcb8b7ee80b7144 Patching >>> bpftool a7f0e7f057283ae8af3de4578bcb8b7ee80b7144 Configuring >>> bpftool a7f0e7f057283ae8af3de4578bcb8b7ee80b7144 Building PATH="/home/peko/autobuild/instance-0/output-1/host/bin:/home/peko/autobuild/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" PATH="/home/peko/autobuild/instance-0/output-1/host/bin:/home/peko/autobuild/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" AR="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-gcc-ar" AS="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-as" LD="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-ld" NM="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-gcc-nm" CC="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-gcc" GCC="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-gcc" CPP="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-cpp" CXX="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-g++" FC="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-gfortran" F77="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-gfortran" RANLIB="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-gcc-ranlib" READELF="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-readelf" STRIP="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-strip" OBJCOPY="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-objcopy" OBJDUMP="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/peko/autobuild/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/peko/autobuild/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/peko/autobuild/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/peko/autobuild/instance-0/output-1/host/lib -Wl,-rpath,/home/peko/autobuild/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-as" DEFAULT_LINKER="/home/peko/autobuild/instance-0/output-1/host/bin/sparc-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " LDFLAGS="" FCFLAGS=" -O2 -g0" FFLAGS=" -O2 -g0" PKG_CONFIG="/home/peko/autobuild/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/peko/autobuild/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j4 -C /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src make[1]: Entering directory '/home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src' ... libbfd: [ on ] ... disassembler-four-args: [ on ] ... zlib: [ on ] ... libcap: [ on ] ... clang-bpf-co-re: [ OFF ] MKDIR /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/ MKDIR /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf//include/bpf INSTALL /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf//include/bpf/hashmap.h make[2]: Entering directory '/home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/libbpf/src' INSTALL /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf//include/bpf/nlattr.h MKDIR /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs INSTALL bpf.h libbpf.h btf.h libbpf_common.h libbpf_legacy.h xsk.h bpf_helpers.h bpf_helper_defs.h bpf_tracing.h bpf_endian.h bpf_core_read.h skel_internal.h libbpf_version.h CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/bpf.o CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/btf.o CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/libbpf.o CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/libbpf_errno.o btf.c: In function 'btf_type_by_id': btf.c:461:14: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 461 | if (type_id < btf->start_id) | ^ btf.c: In function 'btf_ptr_sz': btf.c:507:44: warning: operand of '?:' changes signedness from 'int' to 'unsigned int' due to unsignedness of other operand [-Wsign-compare] 507 | return btf->ptr_sz < 0 ? sizeof(void *) : btf->ptr_sz; | ^~~~~~~~~~~ btf.c: In function 'btf_parse_raw': btf.c:1073:28: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'long int' [-Wsign-compare] 1073 | if (fread(data, 1, sz, f) < sz) { | ^ btf.c: In function 'btf_get_raw_data': btf.c:1251:17: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'const unsigned int'} [-Wsign-compare] 1251 | for (i = 0; i < btf->nr_types; i++) { | ^ btf.c: In function 'btf__str_by_offset': btf.c:1298:13: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1298 | if (offset < btf->start_str_off) | ^ libbpf.c: In function 'bpf_object__add_programs': libbpf.c:731:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 731 | for (i = 0; i < nr_syms; i++) { | ^ btf.c: In function 'validate_type_id': libbpf.c: In function 'find_struct_ops_kern_types': libbpf.c:910:30: warning: comparison of integer expressions of different signedness: '__u32' {aka 'const unsigned int'} and '__s32' {aka 'int'} [-Wsign-compare] 910 | if (kern_data_member->type == kern_type_id) | ^~ btf.c:1898:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1898 | if (id < 0 || id > BTF_MAX_NR_TYPES) | ^ libbpf.c: In function 'bpf_object__add_map': libbpf.c:1457:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 1457 | for (i = obj->nr_maps; i < obj->maps_cap; i++) { | ^ libbpf.c: In function 'internal_map_name': libbpf.c:1513:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1513 | if (sfx_len >= BPF_OBJ_NAME_LEN) | ^~ libbpf.c: In function 'set_kcfg_value_str': libbpf.c:1699:10: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1699 | if (len >= ext->kcfg.sz) { | ^~ libbpf.c: In function 'bpf_object__init_user_maps': libbpf.c:2040:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 2040 | if (map_def_sz <= sizeof(struct bpf_map_def)) { | ^~ bpf.c: In function 'alloc_zero_tailing_info': bpf.c:304:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 304 | for (i = 0; i < cnt; i++) { | ^ btf.c: In function 'btf_dedup_clear_hypot_map': btf.c:3226:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 3226 | for (i = 0; i < d->hypot_cnt; i++) | ^ btf.c: In function 'btf_for_each_str_off': btf.c:3329:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 3329 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function 'strs_dedup_remap_str_off': btf.c:3355:30: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3355 | if (str_off == 0 || str_off < d->btf->start_str_off) | ^ btf.c: In function 'btf_hash_struct': libbpf.c: In function 'bpf_object__sanitize_btf': btf.c:3531:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 3531 | for (i = 0; i < vlen; i++) { | ^ libbpf.c:2659:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 2659 | for (i = 1; i < btf__type_cnt(btf); i++) { | ^ btf.c: In function 'btf_dedup_prim_types': btf.c:3848:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 3848 | for (i = 0; i < d->btf->nr_types; i++) { | ^ libbpf.c: In function 'bpf_object__sanitize_and_load_btf': libbpf.c:2979:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 2979 | for (i = 0; i < obj->nr_programs; i++) { | ^ btf.c: In function 'btf_dedup_is_equiv': btf.c:4099:42: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 4099 | if (fwd_kind == real_kind && canon_id < d->btf->start_id) | ^ btf.c: In function 'btf_dedup_merge_hypot_map': btf.c:4225:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 4225 | for (i = 0; i < d->hypot_cnt; i++) { | ^ libbpf.c: In function 'bpf_object__elf_collect': libbpf.c:3396:52: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3396 | if (!obj->efile.strtabidx || obj->efile.strtabidx > idx) { | ^ btf.c: In function 'btf_dedup_struct_types': btf.c:4365:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 4365 | for (i = 0; i < d->btf->nr_types; i++) { | ^ CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/netlink.o libbpf.c: In function 'find_extern_sec_btf_id': libbpf.c:3485:17: warning: comparison of integer expressions of different signedness: '__u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 3485 | if (vs->type == ext_btf_id) | ^~ btf.c: In function 'btf_dedup_ref_types': btf.c:4527:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 4527 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function 'btf_dedup_compact_types': btf.c:4562:39: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 4562 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) | ^ btf.c:4567:39: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 4567 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) { | ^ btf.c:4568:18: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 4568 | if (d->map[id] != id) | ^~ btf.c: In function 'btf_dedup_remap_types': btf.c:4631:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 4631 | for (i = 0; i < d->btf->nr_types; i++) { | ^ libbpf.c: In function 'prog_is_subprog': btf.c: In function 'btf__load_vmlinux_btf': libbpf.c:3849:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 3849 | return prog->sec_idx == obj->efile.text_shndx && obj->nr_programs > 1; | ^~ btf.c:4677:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 4677 | for (i = 0; i < ARRAY_SIZE(locations); i++) { | ^ libbpf.c: In function 'bpf_program__record_reloc': libbpf.c:3957:29: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3957 | if (!shdr_idx || shdr_idx != obj->efile.text_shndx) { | ^~ In file included from btf.c:22: btf.c: In function 'btf_ext_visit_type_ids': libbpf_internal.h:367:9: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 367 | i < (sec)->num_info; \ | ^ btf.c:4838:3: note: in expansion of macro 'for_each_btf_ext_rec' 4838 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf.c: In function 'bpf_object__collect_prog_relos': libbpf.c:4104:14: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 4104 | if (sec_idx >= obj->efile.sec_cnt) | ^~ libbpf_internal.h:367:9: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 367 | i < (sec)->num_info; \ | ^ btf.c:4849:3: note: in expansion of macro 'for_each_btf_ext_rec' 4849 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ btf.c: In function 'btf_ext_visit_str_offs': libbpf_internal.h:367:9: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 367 | i < (sec)->num_info; \ | ^ btf.c:4880:3: note: in expansion of macro 'for_each_btf_ext_rec' 4880 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf_internal.h:367:9: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 367 | i < (sec)->num_info; \ | ^ btf.c:4898:3: note: in expansion of macro 'for_each_btf_ext_rec' 4898 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf.c: In function 'bpf_map_find_btf_info': libbpf.c:4218:6: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 4218 | ret : value_type_id; | ^~~ libbpf.c: In function 'init_map_in_map_slots': libbpf.c:4988:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 4988 | for (i = 0; i < map->init_slots_sz; i++) { | ^ libbpf.c: In function 'init_prog_array_slots': libbpf.c:5027:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 5027 | for (i = 0; i < map->init_slots_sz; i++) { | ^ libbpf.c: In function 'bpf_object_init_prog_arrays': libbpf.c:5056:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 5056 | for (i = 0; i < obj->nr_maps; i++) { | ^ libbpf.c: In function 'bpf_core_find_cands': libbpf.c:5393:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 5393 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c: In function 'bpf_core_apply_relo': libbpf.c:5560:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 5560 | if (insn_idx >= prog->insns_cnt) | ^~ libbpf.c: In function 'bpf_object__relocate_core': libbpf.c:5645:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 5645 | for (i = 0; i < obj->nr_programs; i++) { | ^ In file included from libbpf.c:55: libbpf_internal.h:367:9: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'const unsigned int'} [-Wsign-compare] 367 | i < (sec)->num_info; \ | ^ libbpf.c:5659:3: note: in expansion of macro 'for_each_btf_ext_rec' 5659 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ In file included from libbpf.c:56: hashmap.h:156:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 156 | for (bkt = 0; bkt < map->cap; bkt++) \ | ^ libbpf.c:5689:3: note: in expansion of macro 'hashmap__for_each_entry' 5689 | hashmap__for_each_entry(cand_cache, entry, i) { | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from libbpf.c:55: libbpf.c: In function 'adjust_prog_btf_ext_info': libbpf_internal.h:367:9: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'const unsigned int'} [-Wsign-compare] 367 | i < (sec)->num_info; \ | ^ libbpf.c:5816:3: note: in expansion of macro 'for_each_btf_ext_rec' 5816 | for_each_btf_ext_rec(ext_info, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf.c: In function 'cmp_relo_by_insn_idx': libbpf.c:5942:15: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 5942 | if (insn_idx == relo->insn_idx) | ^~ libbpf.c:5944:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 5944 | return insn_idx < relo->insn_idx ? -1 : 1; | ^ libbpf.c: In function 'bpf_object__relocate_calls': libbpf.c:6196:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 6196 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function 'bpf_object__free_relocs': libbpf.c:6219:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 6219 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function 'bpf_object__sort_relos': libbpf.c:6245:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 6245 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function 'bpf_object__relocate': libbpf.c:6282:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 6282 | for (j = 0; j < prog->nr_reloc; j++) { | ^ libbpf.c: In function 'bpf_object__collect_map_relos': libbpf.c:6381:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 6381 | for (j = 0; j < obj->nr_maps; j++) { | ^ libbpf.c:6391:9: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 6391 | if (j == obj->nr_maps) { | ^~ libbpf.c:6456:12: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 6456 | if (moff >= map->init_slots_sz) { | ^~ netlink.c: In function 'libbpf_netlink_recv': netlink.c:118:22: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 118 | if (nh->nlmsg_seq != seq) { | ^~ libbpf.c: In function 'bpf_object__sanitize_prog': libbpf.c:6533:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 6533 | for (i = 0; i < prog->insns_cnt; i++, insn++) { | ^ libbpf.c: In function 'bpf_object_load_prog_instance': netlink.c: In function 'tc_add_fd_and_name': netlink.c:602:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 602 | if (len >= sizeof(name)) | ^~ libbpf.c:6716:18: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 6716 | for (i = 0; i < obj->nr_maps; i++) { | ^ libbpf.c: In function 'find_ksym_btf_id': libbpf.c:7232:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 7232 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c: In function 'bpf_object_load': libbpf.c:7507:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 7507 | for (i = 0; i < obj->nr_maps; i++) | ^ libbpf.c:7517:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 7517 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c:7536:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 7536 | for (i = 0; i < obj->nr_maps; i++) | ^ libbpf.c: In function 'check_path': libbpf.c:7599:27: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 7599 | if (!err && st_fs.f_type != BPF_FS_MAGIC) { | ^~ libbpf.c: In function '__bpf_program__iter': libbpf.c:8287:10: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'const unsigned int'} [-Wsign-compare] 8287 | if (idx >= obj->nr_programs || idx < 0) | ^~ libbpf.c: In function 'libbpf_get_type_names': libbpf.c:8732:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 8732 | for (i = 0; i < ARRAY_SIZE(section_defs); i++) { | ^ libbpf.c:8743:53: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 8743 | if (strlen(buf) + strlen(section_defs[i].sec) + 2 > len) { | ^ libbpf.c: In function 'find_btf_by_prefix_kind': libbpf.c:8955:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 8955 | if (ret < 0 || ret >= sizeof(btf_type_name)) | ^~ libbpf.c: In function 'find_kernel_btf_id': libbpf.c:9045:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 9045 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c: In function '__bpf_map__iter': libbpf.c:9352:10: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'size_t' {aka 'const unsigned int'} [-Wsign-compare] 9352 | if (idx >= obj->nr_maps || idx < 0) | ^~ libbpf.c: In function 'perf_event_open_probe': libbpf.c:9872:18: warning: comparison is always false due to limited range of data type [-Wtype-limits] 9872 | if (ref_ctr_off >= (1ULL << PERF_UPROBE_REF_CTR_OFFSET_BITS)) | ^~ libbpf.c: In function 'determine_tracepoint_id': libbpf.c:10299:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 10299 | if (ret >= sizeof(file)) { | ^~ libbpf.c: In function '__perf_buffer__new': libbpf.c:11035:42: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 11035 | if (map.max_entries && map.max_entries < pb->cpu_cnt) | ^ libbpf.c: In function 'perf_buffer__buffer_fd': libbpf.c:11215:14: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 11215 | if (buf_idx >= pb->cpu_cnt) | ^~ libbpf.c: In function 'perf_buffer__consume_buffer': libbpf.c:11237:14: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'int' [-Wsign-compare] 11237 | if (buf_idx >= pb->cpu_cnt) | ^~ libbpf.c: In function 'bpf_program__get_prog_info_linear': libbpf.c:11392:42: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 11392 | (desc->size_offset > 0 && info_len < desc->size_offset)) | ^ libbpf.c: In function 'parse_cpu_mask_file': libbpf.c:11628:10: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 11628 | if (len >= sizeof(buf)) { | ^~ CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/nlattr.o nlattr.c: In function 'nla_ok': nlattr.c:35:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 35 | return remaining >= sizeof(*nla) && | ^~ nlattr.c: In function 'validate_nla': nlattr.c:65:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 65 | if (libbpf_nla_len(nla) < minlen) | ^ CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/str_error.o CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/libbpf_probes.o CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/bpf_prog_linfo.o CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/xsk.o CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/btf_dump.o xsk.c: In function 'xsk_link_lookup': xsk.c:706:30: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 706 | if (link_info.xdp.ifindex == ifindex) { | ^~ btf_dump.c: In function 'pfx': btf_dump.c:29:13: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 29 | return lvl >= PREFIX_CNT ? PREFIXES : &PREFIXES[PREFIX_CNT - lvl]; | ^~ btf_dump.c: In function 'btf_dump_emit_missing_aliases': btf_dump.c:977:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 977 | for (i = 0; i < ARRAY_SIZE(missing_base_types); i++) { | ^ btf_dump.c: In function 'btf_dump_get_bitfield_value': btf_dump.c:1606:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'const unsigned int'} [-Wsign-compare] 1606 | for (i = 0; i < t->size; i++) | ^ btf_dump.c: In function 'btf_dump_int_data': btf_dump.c:1704:20: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1704 | if (sz == 0 || sz > sizeof(buf)) { | ^ btf_dump.c: In function 'btf_dump_type_data_check_zero': btf_dump.c:2158:17: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'const unsigned int'} [-Wsign-compare] 2158 | for (i = 0; i < array->nelems; i++) { | ^ CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/hashmap.o CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/ringbuf.o CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/strset.o strset.c: In function 'strset__new': strset.c:66:21: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 66 | for (off = 0; off < set->strs_data_len; off += strlen(set->strs_data + off) + 1) { | ^ CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/linker.o CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/gen_loader.o linker.c: In function 'linker_sanity_check_elf_symtab': linker.c:779:48: warning: comparison of integer expressions of different signedness: 'Elf64_Word' {aka 'unsigned int'} and 'int' [-Wsign-compare] 779 | if (!sec->shdr->sh_link || sec->shdr->sh_link >= obj->sec_cnt) { | ^~ linker.c: In function 'linker_sanity_check_elf_relos': linker.c:861:48: warning: comparison of integer expressions of different signedness: 'Elf64_Word' {aka 'unsigned int'} and 'int' [-Wsign-compare] 861 | if (!sec->shdr->sh_info || sec->shdr->sh_info >= obj->sec_cnt) { | ^~ linker.c: In function 'sec_content_is_same': linker.c:1077:22: warning: comparison of integer expressions of different signedness: 'int' and 'Elf64_Xword' {aka 'long long unsigned int'} [-Wsign-compare] 1077 | if (dst_sec->sec_sz != src_sec->shdr->sh_size) | ^~ linker.c: In function 'find_glob_sym_btf': linker.c:1694:25: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'const unsigned int'} [-Wsign-compare] 1694 | if (btf_id && btf_id != vi->type) { | ^~ linker.c: In function 'linker_append_btf_ext': linker.c:2455:33: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2455 | if (dst_sec->func_info.rec_sz != rec_sz) { | ^~ In file included from linker.c:21: libbpf_internal.h:367:9: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'const unsigned int'} [-Wsign-compare] 367 | i < (sec)->num_info; \ | ^ linker.c:2460:3: note: in expansion of macro 'for_each_btf_ext_rec' 2460 | for_each_btf_ext_rec(&obj->btf_ext->func_info, ext_sec, i, src_rec) { | ^~~~~~~~~~~~~~~~~~~~ linker.c:2484:33: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2484 | if (dst_sec->line_info.rec_sz != rec_sz) { | ^~ In file included from linker.c:21: libbpf_internal.h:367:9: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'const unsigned int'} [-Wsign-compare] 367 | i < (sec)->num_info; \ | ^ linker.c:2489:3: note: in expansion of macro 'for_each_btf_ext_rec' 2489 | for_each_btf_ext_rec(&obj->btf_ext->line_info, ext_sec, i, src_rec) { | ^~~~~~~~~~~~~~~~~~~~ linker.c:2526:38: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2526 | if (dst_sec->core_relo_info.rec_sz != rec_sz) { | ^~ In file included from linker.c:21: libbpf_internal.h:367:9: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'const unsigned int'} [-Wsign-compare] 367 | i < (sec)->num_info; \ | ^ linker.c:2531:3: note: in expansion of macro 'for_each_btf_ext_rec' 2531 | for_each_btf_ext_rec(&obj->btf_ext->core_relo_info, ext_sec, i, src_rec) { | ^~~~~~~~~~~~~~~~~~~~ gen_loader.c: In function 'bpf_gen__init': gen_loader.c:144:16: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare] 144 | for (i = 0; i < nr_progs_sz; i += 4) { | ^ gen_loader.c: In function 'bpf_gen__finish': gen_loader.c:374:15: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 374 | if (nr_progs < gen->nr_progs || nr_maps != gen->nr_maps) { | ^ gen_loader.c:374:42: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 374 | if (nr_progs < gen->nr_progs || nr_maps != gen->nr_maps) { | ^~ gen_loader.c:381:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 381 | for (i = 0; i < gen->nr_progs; i++) | ^ gen_loader.c:388:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 388 | for (i = 0; i < gen->nr_maps; i++) | ^ gen_loader.c: In function 'bpf_gen__map_create': gen_loader.c:512:21: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 512 | } else if (map_idx != gen->nr_maps) { | ^~ gen_loader.c: In function 'get_ksym_desc': gen_loader.c:588:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 588 | for (i = 0; i < gen->nr_ksyms; i++) { | ^ gen_loader.c: In function 'cleanup_relos': gen_loader.c:906:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 906 | for (i = 0; i < gen->nr_ksyms; i++) { | ^ CC /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/relo_core.o relo_core.c: In function 'is_flex_arr': relo_core.c:83:18: warning: comparison of integer expressions of different signedness: '__u32' {aka 'const unsigned int'} and 'int' [-Wsign-compare] 83 | return acc->idx == btf_vlen(t) - 1; | ^~ relo_core.c: In function 'bpf_core_parse_spec': relo_core.c:291:28: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'const unsigned int'} [-Wsign-compare] 291 | if (!flex && access_idx >= a->nelems) | ^~ relo_core.c: In function 'bpf_core_patch_insn': relo_core.c:982:34: warning: comparison of integer expressions of different signedness: '__s32' {aka 'int'} and '__u32' {aka 'unsigned int'} [-Wsign-compare] 982 | if (res->validate && insn->imm != orig_val) { | ^~ relo_core.c:997:34: warning: comparison of integer expressions of different signedness: '__s16' {aka 'short int'} and '__u32' {aka 'unsigned int'} [-Wsign-compare] 997 | if (res->validate && insn->off != orig_val) { | ^~ relo_core.c:1023:22: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'const unsigned int'} [-Wsign-compare] 1023 | if (insn_bytes_sz != res->orig_sz) { | ^~ AR /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/libbpf.a make[2]: Leaving directory '/home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/libbpf/src' CC map_perf_ring.o CC xlated_dumper.o CC common.o CC iter.o CC btf.o CC tracelog.o CC perf.o CC cfg.o CC btf_dumper.o CC net.o CC struct_ops.o CC netlink_dumper.o net.c: In function 'netlink_open': net.c:110:36: error: 'NETLINK_EXT_ACK' undeclared (first use in this function); did you mean 'NETLINK_CAP_ACK'? 110 | if (setsockopt(sock, SOL_NETLINK, NETLINK_EXT_ACK, | ^~~~~~~~~~~~~~~ | NETLINK_CAP_ACK net.c:110:36: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [Makefile:222: net.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src' make: *** [package/pkg-generic.mk:292: /home/peko/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/.stamp_built] Error 2 make: Leaving directory '/home/peko/autobuild/instance-0/buildroot'