>>> bpftool a7f0e7f057283ae8af3de4578bcb8b7ee80b7144 Downloading GIT_DIR=/home/buildroot/autobuild/instance-0/dl/bpftool/git/.git git init . Initialized empty Git repository in /home/buildroot/autobuild/instance-0/dl/bpftool/git/.git/ GIT_DIR=/home/buildroot/autobuild/instance-0/dl/bpftool/git/.git git remote add origin 'https://github.com/libbpf/bpftool' GIT_DIR=/home/buildroot/autobuild/instance-0/dl/bpftool/git/.git git remote set-url origin 'https://github.com/libbpf/bpftool' Fetching all references GIT_DIR=/home/buildroot/autobuild/instance-0/dl/bpftool/git/.git git fetch origin From https://github.com/libbpf/bpftool * [new branch] master -> origin/master GIT_DIR=/home/buildroot/autobuild/instance-0/dl/bpftool/git/.git git fetch origin -t GIT_DIR=/home/buildroot/autobuild/instance-0/dl/bpftool/git/.git git submodule --quiet foreach 'printf "Deregistering submodule \"%s\"\n" "${path}" && cd .. && rm -rf "${path##*/}"' GIT_DIR=/home/buildroot/autobuild/instance-0/dl/bpftool/git/.git git checkout -f -q 'a7f0e7f057283ae8af3de4578bcb8b7ee80b7144' warning: refname 'a7f0e7f057283ae8af3de4578bcb8b7ee80b7144' is ambiguous. Git normally never creates a ref that ends with 40 hex characters because it will be ignored when you just specify 40-hex. These refs may be created by mistake. For example, git checkout -b $br $(git rev-parse ...) where "$br" is somehow empty and a 40-hex ref is created. Please examine these refs and maybe delete them. Turn this message off by running "git config advice.objectNameWarning false" GIT_DIR=/home/buildroot/autobuild/instance-0/dl/bpftool/git/.git git clean -ffdx GIT_DIR=/home/buildroot/autobuild/instance-0/dl/bpftool/git/.git git submodule update --init --recursive Submodule 'libbpf' (https://github.com/libbpf/libbpf.git) registered for path 'libbpf' Cloning into '/home/buildroot/autobuild/instance-0/dl/bpftool/git/libbpf'... Submodule path 'libbpf': checked out 'fec0813359a9dd68dff7edb9f221b0f18d94433d' bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144-br1.tar.gz: OK (sha256: c868cb85bf44195ec6cd20649c3db4f7aff64a38d950a1c2911d981fb2d7042c) >>> bpftool a7f0e7f057283ae8af3de4578bcb8b7ee80b7144 Extracting gzip -d -c /home/buildroot/autobuild/instance-0/dl/bpftool/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144-br1.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144 -xf - >>> bpftool a7f0e7f057283ae8af3de4578bcb8b7ee80b7144 Patching >>> bpftool a7f0e7f057283ae8af3de4578bcb8b7ee80b7144 Configuring >>> bpftool a7f0e7f057283ae8af3de4578bcb8b7ee80b7144 Building PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-gcc-ar" AS="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-as" LD="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-ld" NM="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-gcc-nm" CC="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-gcc" GCC="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-gcc" CPP="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-cpp" CXX="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-g++" FC="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-gfortran" F77="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-gfortran" RANLIB="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-gcc-ranlib" READELF="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-readelf" STRIP="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-strip" OBJCOPY="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-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/buildroot/autobuild/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-0/output-1/host/bin/mips-linux-gnu-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 -Os -g0 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1" LDFLAGS="" FCFLAGS=" -Os -g0" FFLAGS=" -Os -g0" PKG_CONFIG="/home/buildroot/autobuild/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src' ... libbfd: [ on ] ... disassembler-four-args: [ on ] ... zlib: [ on ] ... libcap: [ OFF ] ... clang-bpf-co-re: [ OFF ] MKDIR /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/ MKDIR /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf//include/bpf make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/libbpf/src' INSTALL /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf//include/bpf/hashmap.h INSTALL /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf//include/bpf/nlattr.h MKDIR /home/buildroot/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/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/bpf.o CC /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/btf.o CC /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/libbpf.o CC /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/libbpf_errno.o bpf.c: In function 'alloc_zero_tailing_info': bpf.c:304:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < cnt; i++) { ^ CC /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/netlink.o btf.c: In function 'btf_type_by_id': btf.c:461:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (type_id < btf->start_id) ^ btf.c: In function 'btf_ptr_sz': btf.c:507:42: warning: signed and unsigned type in conditional expression [-Wsign-compare] return btf->ptr_sz < 0 ? sizeof(void *) : btf->ptr_sz; ^ btf.c: In function 'btf_parse_raw': btf.c:1073:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (fread(data, 1, sz, f) < sz) { ^ btf.c: In function 'btf_get_raw_data': btf.c:1251:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < btf->nr_types; i++) { ^ btf.c: In function 'btf__str_by_offset': btf.c:1298:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (offset < btf->start_str_off) ^ btf.c: In function 'btf__get_map_kv_tids': btf.c:1412:69: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (snprintf(container_name, max_name, "____btf_map_%s", map_name) == max_name) { ^ btf.c: In function 'validate_type_id': btf.c:1898:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (id < 0 || id > BTF_MAX_NR_TYPES) ^ libbpf.c: In function 'bpf_object__add_programs': btf.c: In function 'btf_dedup_clear_hypot_map': btf.c:3226:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < d->hypot_cnt; i++) ^ libbpf.c:731:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < nr_syms; i++) { ^ btf.c: In function 'btf_for_each_str_off': btf.c:3329:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < d->btf->nr_types; i++) { ^ btf.c: In function 'strs_dedup_remap_str_off': btf.c:3355:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (str_off == 0 || str_off < d->btf->start_str_off) ^ btf.c: In function 'btf_hash_struct': btf.c:3531:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < vlen; i++) { ^ libbpf.c: In function 'find_struct_ops_kern_types': libbpf.c:910:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (kern_data_member->type == kern_type_id) ^ btf.c: In function 'btf_dedup_prim_types': btf.c:3848:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < d->btf->nr_types; i++) { ^ btf.c: In function 'btf_dedup_is_equiv': btf.c:4099:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < d->hypot_cnt; i++) { ^ btf.c: In function 'btf_dedup_struct_types': btf.c:4365:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < d->btf->nr_types; i++) { ^ btf.c: In function 'btf_dedup_ref_types': btf.c:4527:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < d->btf->nr_types; i++) { ^ btf.c: In function 'btf_dedup_compact_types': btf.c:4562:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) ^ btf.c:4567:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) { ^ btf.c:4568:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (d->map[id] != id) ^ btf.c: In function 'btf_dedup_remap_types': btf.c:4631:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < d->btf->nr_types; i++) { ^ btf.c: In function 'btf__load_vmlinux_btf': btf.c:4677:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < ARRAY_SIZE(locations); i++) { ^ In file included from btf.c:22:0: btf.c: In function 'btf_ext_visit_type_ids': libbpf_internal.h:367:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] i < (sec)->num_info; \ ^ btf.c:4838:3: note: in expansion of macro 'for_each_btf_ext_rec' for_each_btf_ext_rec(seg, sec, i, rec) { ^ libbpf_internal.h:367:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] i < (sec)->num_info; \ ^ btf.c:4849:3: note: in expansion of macro 'for_each_btf_ext_rec' 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 between signed and unsigned integer expressions [-Wsign-compare] i < (sec)->num_info; \ ^ btf.c:4880:3: note: in expansion of macro 'for_each_btf_ext_rec' for_each_btf_ext_rec(seg, sec, i, rec) { ^ libbpf_internal.h:367:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] i < (sec)->num_info; \ ^ btf.c:4898:3: note: in expansion of macro 'for_each_btf_ext_rec' for_each_btf_ext_rec(seg, sec, i, rec) { ^ libbpf.c: In function 'bpf_object__add_map': libbpf.c:1457:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = obj->nr_maps; i < obj->maps_cap; i++) { ^ libbpf.c: In function 'internal_map_name': libbpf.c:1513:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (sfx_len >= BPF_OBJ_NAME_LEN) ^ libbpf.c: In function 'set_kcfg_value_str': libbpf.c:1699:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len >= ext->kcfg.sz) { ^ libbpf.c: In function 'bpf_object__init_user_maps': libbpf.c:2040:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (map_def_sz <= sizeof(struct bpf_map_def)) { ^ libbpf.c: In function 'bpf_object__sanitize_btf': libbpf.c:2659:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 1; i < btf__type_cnt(btf); i++) { ^ libbpf.c: In function 'bpf_object__sanitize_and_load_btf': libbpf.c:2979:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < obj->nr_programs; i++) { ^ netlink.c: In function 'libbpf_netlink_recv': netlink.c:118:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (nh->nlmsg_seq != seq) { ^ netlink.c: In function 'tc_add_fd_and_name': netlink.c:602:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len >= sizeof(name)) ^ libbpf.c: In function 'bpf_object__elf_collect': libbpf.c:3396:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!obj->efile.strtabidx || obj->efile.strtabidx > idx) { ^ libbpf.c: In function 'find_extern_sec_btf_id': libbpf.c:3485:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (vs->type == ext_btf_id) ^ libbpf.c: In function 'prog_is_subprog': libbpf.c:3849:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return prog->sec_idx == obj->efile.text_shndx && obj->nr_programs > 1; ^ libbpf.c: In function 'bpf_program__record_reloc': libbpf.c:3957:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!shdr_idx || shdr_idx != obj->efile.text_shndx) { ^ libbpf.c: In function 'bpf_object__collect_prog_relos': libbpf.c:4104:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (sec_idx >= obj->efile.sec_cnt) ^ libbpf.c: In function 'bpf_map_find_btf_info': libbpf.c:4218:10: warning: signed and unsigned type in conditional expression [-Wsign-compare] ret : value_type_id; ^ libbpf.c: In function 'init_map_in_map_slots': libbpf.c:4988:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < map->init_slots_sz; i++) { ^ libbpf.c: In function 'init_prog_array_slots': libbpf.c:5027:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < map->init_slots_sz; i++) { ^ libbpf.c: In function 'bpf_object_init_prog_arrays': libbpf.c:5056:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < obj->nr_maps; i++) { ^ libbpf.c: In function 'bpf_core_find_cands': libbpf.c:5393:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < obj->btf_module_cnt; i++) { ^ libbpf.c: In function 'bpf_core_apply_relo': libbpf.c:5560:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (insn_idx >= prog->insns_cnt) ^ libbpf.c: In function 'bpf_object__relocate_core': libbpf.c:5645:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < obj->nr_programs; i++) { ^ In file included from libbpf.c:55:0: libbpf_internal.h:367:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] i < (sec)->num_info; \ ^ libbpf.c:5659:3: note: in expansion of macro 'for_each_btf_ext_rec' for_each_btf_ext_rec(seg, sec, i, rec) { ^ In file included from libbpf.c:56:0: hashmap.h:156:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (bkt = 0; bkt < map->cap; bkt++) \ ^ libbpf.c:5689:3: note: in expansion of macro 'hashmap__for_each_entry' hashmap__for_each_entry(cand_cache, entry, i) { ^ In file included from libbpf.c:55:0: libbpf.c: In function 'adjust_prog_btf_ext_info': libbpf_internal.h:367:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] i < (sec)->num_info; \ ^ libbpf.c:5816:3: note: in expansion of macro 'for_each_btf_ext_rec' 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 between signed and unsigned integer expressions [-Wsign-compare] if (insn_idx == relo->insn_idx) ^ libbpf.c:5944:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return insn_idx < relo->insn_idx ? -1 : 1; ^ libbpf.c: In function 'bpf_object__relocate_calls': libbpf.c:6196:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < obj->nr_programs; i++) { ^ libbpf.c: In function 'bpf_object__free_relocs': libbpf.c:6219:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < obj->nr_programs; i++) { ^ libbpf.c: In function 'bpf_object__sort_relos': libbpf.c:6245:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < obj->nr_programs; i++) { ^ libbpf.c: In function 'bpf_object__relocate': libbpf.c:6282:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < prog->nr_reloc; j++) { ^ libbpf.c: In function 'bpf_object__collect_map_relos': libbpf.c:6381:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < obj->nr_maps; j++) { ^ libbpf.c:6391:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (j == obj->nr_maps) { ^ libbpf.c:6456:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (moff >= map->init_slots_sz) { ^ libbpf.c: In function 'bpf_object__sanitize_prog': libbpf.c:6533:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < prog->insns_cnt; i++, insn++) { ^ libbpf.c: In function 'bpf_object_load_prog_instance': libbpf.c:6716:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < obj->nr_maps; i++) { ^ libbpf.c: In function 'find_ksym_btf_id': libbpf.c:7232:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < obj->btf_module_cnt; i++) { ^ libbpf.c: In function 'bpf_object_load': libbpf.c:7507:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < obj->nr_maps; i++) ^ libbpf.c:7517:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < obj->btf_module_cnt; i++) { ^ libbpf.c:7536:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < obj->nr_maps; i++) ^ libbpf.c: In function '__bpf_program__iter': libbpf.c:8287:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (idx >= obj->nr_programs || idx < 0) ^ libbpf.c: In function 'libbpf_get_type_names': libbpf.c:8732:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < ARRAY_SIZE(section_defs); i++) { ^ libbpf.c:8743:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] if (ret < 0 || ret >= sizeof(btf_type_name)) ^ libbpf.c: In function 'find_kernel_btf_id': libbpf.c:9045:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < obj->btf_module_cnt; i++) { ^ libbpf.c: In function '__bpf_map__iter': libbpf.c:9352:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (idx >= obj->nr_maps || idx < 0) ^ libbpf.c: In function 'determine_tracepoint_id': libbpf.c:10299:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret >= sizeof(file)) { ^ libbpf.c: In function '__perf_buffer__new': libbpf.c:11035:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (map.max_entries && map.max_entries < pb->cpu_cnt) ^ libbpf.c: In function 'perf_buffer__buffer_fd': libbpf.c:11215:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (buf_idx >= pb->cpu_cnt) ^ libbpf.c: In function 'perf_buffer__consume_buffer': libbpf.c:11237:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (buf_idx >= pb->cpu_cnt) ^ libbpf.c: In function 'bpf_program__get_prog_info_linear': libbpf.c:11392:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] (desc->size_offset > 0 && info_len < desc->size_offset)) ^ libbpf.c: In function 'parse_cpu_mask_file': libbpf.c:11628:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len >= sizeof(buf)) { ^ CC /home/buildroot/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 between signed and unsigned integer expressions [-Wsign-compare] return remaining >= sizeof(*nla) && ^ nlattr.c: In function 'validate_nla': nlattr.c:65:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (libbpf_nla_len(nla) < minlen) ^ CC /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/str_error.o CC /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/libbpf_probes.o CC /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/bpf_prog_linfo.o CC /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/xsk.o xsk.c: In function 'xsk_link_lookup': xsk.c:706:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (link_info.xdp.ifindex == ifindex) { ^ CC /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/btf_dump.o btf_dump.c: In function 'pfx': btf_dump.c:29:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < ARRAY_SIZE(missing_base_types); i++) { ^ btf_dump.c: In function 'btf_dump_int_data': btf_dump.c:1704:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (sz == 0 || sz > sizeof(buf)) { ^ btf_dump.c: In function 'btf_dump_type_data_check_zero': btf_dump.c:2158:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < array->nelems; i++) { ^ CC /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/hashmap.o CC /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/ringbuf.o CC /home/buildroot/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 between signed and unsigned integer expressions [-Wsign-compare] for (off = 0; off < set->strs_data_len; off += strlen(set->strs_data + off) + 1) { ^ CC /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/linker.o CC /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/gen_loader.o CC /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/staticobjs/relo_core.o linker.c: In function 'linker_sanity_check_elf_symtab': linker.c:779:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] 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 between signed and unsigned integer expressions [-Wsign-compare] if (!sec->shdr->sh_info || sec->shdr->sh_info >= obj->sec_cnt) { ^ gen_loader.c: In function 'bpf_gen__init': gen_loader.c:144:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < nr_progs_sz; i += 4) { ^ linker.c: In function 'sec_content_is_same': linker.c:1077:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (dst_sec->sec_sz != src_sec->shdr->sh_size) ^ gen_loader.c: In function 'bpf_gen__finish': gen_loader.c:374:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (nr_progs < gen->nr_progs || nr_maps != gen->nr_maps) { ^ gen_loader.c:374:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (nr_progs < gen->nr_progs || nr_maps != gen->nr_maps) { ^ gen_loader.c:381:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < gen->nr_progs; i++) ^ gen_loader.c:388:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < gen->nr_maps; i++) ^ gen_loader.c: In function 'bpf_gen__map_create': gen_loader.c:512:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] } else if (map_idx != gen->nr_maps) { ^ gen_loader.c: In function 'get_ksym_desc': gen_loader.c:588:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < gen->nr_ksyms; i++) { ^ gen_loader.c: In function 'cleanup_relos': gen_loader.c:906:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < gen->nr_ksyms; i++) { ^ relo_core.c: In function 'is_flex_arr': relo_core.c:83:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return acc->idx == btf_vlen(t) - 1; ^ linker.c: In function 'find_glob_sym_btf': linker.c:1694:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (btf_id && btf_id != vi->type) { ^ relo_core.c: In function 'bpf_core_parse_spec': relo_core.c:291:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!flex && access_idx >= a->nelems) ^ relo_core.c: In function 'bpf_core_patch_insn': relo_core.c:982:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (res->validate && insn->imm != orig_val) { ^ relo_core.c:997:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (res->validate && insn->off != orig_val) { ^ relo_core.c:1023:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (insn_bytes_sz != res->orig_sz) { ^ linker.c: In function 'linker_append_btf_ext': linker.c:2455:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (dst_sec->func_info.rec_sz != rec_sz) { ^ In file included from linker.c:21:0: libbpf_internal.h:367:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] i < (sec)->num_info; \ ^ linker.c:2460:3: note: in expansion of macro 'for_each_btf_ext_rec' for_each_btf_ext_rec(&obj->btf_ext->func_info, ext_sec, i, src_rec) { ^ linker.c:2484:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (dst_sec->line_info.rec_sz != rec_sz) { ^ In file included from linker.c:21:0: libbpf_internal.h:367:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] i < (sec)->num_info; \ ^ linker.c:2489:3: note: in expansion of macro 'for_each_btf_ext_rec' for_each_btf_ext_rec(&obj->btf_ext->line_info, ext_sec, i, src_rec) { ^ linker.c:2526:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (dst_sec->core_relo_info.rec_sz != rec_sz) { ^ In file included from linker.c:21:0: libbpf_internal.h:367:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] i < (sec)->num_info; \ ^ linker.c:2531:3: note: in expansion of macro 'for_each_btf_ext_rec' for_each_btf_ext_rec(&obj->btf_ext->core_relo_info, ext_sec, i, src_rec) { ^ AR /home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src/libbpf/libbpf.a make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/libbpf/src' CC map_perf_ring.o CC xlated_dumper.o CC iter.o CC btf.o map_perf_ring.c: In function 'print_bpf_output': map_perf_ring.c:107:11: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("lost %lld events\n", lost->lost); ^ CC tracelog.o CC link.o CC perf.o CC cfg.o perf.c: In function 'print_perf_plain': perf.c:126:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("kprobe func %s offset %llu\n", buf, ^ perf.c:129:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("kprobe addr %llu\n", probe_addr); ^ perf.c:133:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("kretprobe func %s offset %llu\n", buf, ^ perf.c:136:11: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("kretprobe addr %llu\n", probe_addr); ^ perf.c:139:10: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("uprobe filename %s offset %llu\n", buf, probe_offset); ^ perf.c:142:10: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] printf("uretprobe filename %s offset %llu\n", buf, ^ CC btf_dumper.o CC net.o CC struct_ops.o CC netlink_dumper.o btf_dumper.c: In function 'btf_int128_print': btf_dumper.c:273:21: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] jsonw_printf(jw, "0x%llx", lower_num); ^ btf_dumper.c:275:21: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] jsonw_printf(jw, "0x%llx%016llx", upper_num, lower_num); ^ btf_dumper.c:275:21: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type '__u64 {aka long unsigned int}' [-Wformat=] btf_dumper.c:278:21: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] jsonw_printf(jw, "\"0x%llx\"", lower_num); ^ btf_dumper.c:280:21: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] jsonw_printf(jw, "\"0x%llx%016llx\"", upper_num, lower_num); ^ btf_dumper.c:280:21: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type '__u64 {aka long unsigned int}' [-Wformat=] btf_dumper.c: In function 'btf_dumper_int': btf_dumper.c:394:21: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type '__u64 {aka long unsigned int}' [-Wformat=] jsonw_printf(jw, "%llu", *(__u64 *)data); ^ net.c: In function 'netlink_open': net.c:110:36: error: 'NETLINK_EXT_ACK' undeclared (first use in this function) if (setsockopt(sock, SOL_NETLINK, NETLINK_EXT_ACK, ^ net.c:110:36: note: each undeclared identifier is reported only once for each function it appears in Makefile:222: recipe for target 'net.o' failed make[1]: *** [net.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/src' package/pkg-generic.mk:289: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/bpftool-a7f0e7f057283ae8af3de4578bcb8b7ee80b7144/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'