>>> bpftool v6.7.0 Downloading GIT_DIR=/home/buildroot/autobuild/instance-3/dl/bpftool/git/.git git init . Reinitialized existing Git repository in /home/buildroot/autobuild/instance-3/dl/bpftool/git/.git/ GIT_DIR=/home/buildroot/autobuild/instance-3/dl/bpftool/git/.git git remote set-url origin 'https://github.com/libbpf/bpftool' Fetching all references GIT_DIR=/home/buildroot/autobuild/instance-3/dl/bpftool/git/.git git fetch origin GIT_DIR=/home/buildroot/autobuild/instance-3/dl/bpftool/git/.git git fetch origin -t Could not fetch special ref 'v6.7.0'; assuming it is not special. GIT_DIR=/home/buildroot/autobuild/instance-3/dl/bpftool/git/.git git submodule --quiet foreach 'printf "Deregistering submodule \"%s\"\n" "${path}" && cd .. && rm -rf "${path##*/}"' Deregistering submodule "libbpf" GIT_DIR=/home/buildroot/autobuild/instance-3/dl/bpftool/git/.git git checkout -f -q 'v6.7.0' GIT_DIR=/home/buildroot/autobuild/instance-3/dl/bpftool/git/.git git clean -ffdx GIT_DIR=/home/buildroot/autobuild/instance-3/dl/bpftool/git/.git git submodule update --init --recursive Submodule path 'libbpf': checked out '196da61f1de022671c9360f0d92d8ac49be3353a' bpftool-v6.7.0-br1.tar.gz: OK (sha256: e4ce219d3b87dd70d8dbfb8f02bd356f70c010f739f17baca1c8912199a8a72b) >>> bpftool v6.7.0 Extracting gzip -d -c /home/buildroot/autobuild/instance-3/dl/bpftool/bpftool-v6.7.0-br1.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0 -xf - >>> bpftool v6.7.0 Patching >>> bpftool v6.7.0 Configuring >>> bpftool v6.7.0 Building PATH="/home/buildroot/autobuild/instance-3/output-1/host/bin:/home/buildroot/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PATH="/home/buildroot/autobuild/instance-3/output-1/host/bin:/home/buildroot/autobuild/instance-3/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc-ar" AS="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-as" LD="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-ld" NM="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc-nm" CC="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc" GCC="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc" CPP="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-cpp" CXX="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-g++" FC="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gfortran" F77="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gfortran" RANLIB="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-gcc-ranlib" READELF="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-readelf" STRIP="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-strip" OBJCOPY="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-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-3/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-3/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-3/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-3/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-3/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-3/output-1/host/bin/arm-none-linux-gnueabi-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=2" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=2" LDFLAGS="" FCFLAGS=" -Os -g0" FFLAGS=" -Os -g0" PKG_CONFIG="/home/buildroot/autobuild/instance-3/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-3/output-1/host/arm-buildroot-linux-gnueabi/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/src make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/src' ... libbfd: [ on ] ... disassembler-four-args: [ on ] ... zlib: [ on ] ... libcap: [ OFF ] ... clang-bpf-co-re: [ OFF ] MKDIR /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/src/libbpf/ MKDIR /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/src/libbpf//include/bpf make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/libbpf/src' INSTALL /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/src/libbpf//include/bpf/hashmap.h INSTALL /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/src/libbpf//include/bpf/nlattr.h MKDIR /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/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-3/output-1/build/bpftool-v6.7.0/src/libbpf/staticobjs/bpf.o CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/src/libbpf/staticobjs/btf.o CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/src/libbpf/staticobjs/libbpf.o CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/src/libbpf/staticobjs/libbpf_errno.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) ^ bpf.c:62:4: error: #error __NR_bpf not defined. libbpf does not support your arch. # error __NR_bpf not defined. libbpf does not support your arch. ^ bpf.c: In function 'sys_bpf': bpf.c:74:17: error: '__NR_bpf' undeclared (first use in this function) return syscall(__NR_bpf, cmd, attr, size); ^ bpf.c:74:17: note: each undeclared identifier is reported only once for each function it appears in 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++) { ^ 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; ^ CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/src/libbpf/staticobjs/netlink.o bpf.c: In function 'sys_bpf': bpf.c:75:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 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) { ^ Makefile:113: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/src/libbpf/staticobjs/bpf.o' failed make[2]: *** [/home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/src/libbpf/staticobjs/bpf.o] Error 1 make[2]: *** Waiting for unfinished jobs.... 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) ^ 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++) ^ 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++) { ^ 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++) { ^ libbpf.c: In function 'bpf_object__add_programs': btf.c: In function 'btf_dedup_struct_types': libbpf.c:725:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < nr_syms; i++) { ^ 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': libbpf.c: In function 'find_struct_ops_kern_types': libbpf.c:904:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (kern_data_member->type == kern_type_id) ^ 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.c: In function 'bpf_object__add_map': libbpf.c:1451: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_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.c:1507:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (sfx_len >= BPF_OBJ_NAME_LEN) ^ 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 'set_kcfg_value_str': libbpf.c:1693: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:2034: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:2653: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:2973: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:143:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len > iov.iov_len) { ^ netlink.c:164: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:649: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:3390: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:3479: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:3843: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:3951: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:4098: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:4215: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:4985: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:5024: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:5053: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:5390: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:5557: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:5642: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:5656: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:5686: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:5813: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:5939:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (insn_idx == relo->insn_idx) ^ libbpf.c:5941: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:6193: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:6216: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:6242: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:6279: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:6378:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = 0; j < obj->nr_maps; j++) { ^ libbpf.c:6388:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (j == obj->nr_maps) { ^ libbpf.c:6453: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:6530: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:6717: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:7233: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:7508:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < obj->nr_maps; i++) ^ libbpf.c:7518:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < obj->btf_module_cnt; i++) { ^ libbpf.c:7537:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < obj->nr_maps; i++) ^ libbpf.c: In function 'check_path': libbpf.c:7600:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!err && st_fs.f_type != BPF_FS_MAGIC) { ^ libbpf.c: In function '__bpf_program__iter': libbpf.c:8288: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:8735:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < ARRAY_SIZE(section_defs); i++) { ^ libbpf.c:8746: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:8958: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:9048: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:9355:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (idx >= obj->nr_maps || idx < 0) ^ libbpf.c: In function 'perf_event_open_probe': libbpf.c:9875:2: warning: comparison is always false due to limited range of data type [-Wtype-limits] if (ref_ctr_off >= (1ULL << PERF_UPROBE_REF_CTR_OFFSET_BITS)) ^ libbpf.c: In function 'determine_tracepoint_id': libbpf.c:10302:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (ret >= sizeof(file)) { ^ libbpf.c: In function '__perf_buffer__new': libbpf.c:11038: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:11218: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:11240: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:11395: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:11631:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (len >= sizeof(buf)) { ^ make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/libbpf/src' Makefile:44: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/src/libbpf/libbpf.a' failed make[1]: *** [/home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/src/libbpf/libbpf.a] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/src' package/pkg-generic.mk:289: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.7.0/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-3/buildroot'