>>> bpftool v6.8.0 Extracting gzip -d -c /home/buildroot/autobuild/instance-3/dl/bpftool/bpftool-v6.8.0-br1.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0 -xf - >>> bpftool v6.8.0 Patching Applying 0001-bpftool-Fix-bootstrapping-during-a-cross-compilation.patch using patch: patching file src/Makefile patching file src/Makefile.include >>> bpftool v6.8.0 Configuring >>> bpftool v6.8.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/aarch64_be-buildroot-linux-gnu-gcc-ar" AS="/home/buildroot/autobuild/instance-3/output-1/host/bin/aarch64_be-buildroot-linux-gnu-as" LD="/home/buildroot/autobuild/instance-3/output-1/host/bin/aarch64_be-buildroot-linux-gnu-ld" NM="/home/buildroot/autobuild/instance-3/output-1/host/bin/aarch64_be-buildroot-linux-gnu-gcc-nm" CC="/home/buildroot/autobuild/instance-3/output-1/host/bin/aarch64_be-buildroot-linux-gnu-gcc" GCC="/home/buildroot/autobuild/instance-3/output-1/host/bin/aarch64_be-buildroot-linux-gnu-gcc" CPP="/home/buildroot/autobuild/instance-3/output-1/host/bin/aarch64_be-buildroot-linux-gnu-cpp" CXX="/home/buildroot/autobuild/instance-3/output-1/host/bin/aarch64_be-buildroot-linux-gnu-g++" FC="/home/buildroot/autobuild/instance-3/output-1/host/bin/aarch64_be-buildroot-linux-gnu-gfortran" F77="/home/buildroot/autobuild/instance-3/output-1/host/bin/aarch64_be-buildroot-linux-gnu-gfortran" RANLIB="/home/buildroot/autobuild/instance-3/output-1/host/bin/aarch64_be-buildroot-linux-gnu-gcc-ranlib" READELF="/home/buildroot/autobuild/instance-3/output-1/host/bin/aarch64_be-buildroot-linux-gnu-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/autobuild/instance-3/output-1/host/bin/aarch64_be-buildroot-linux-gnu-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-3/output-1/host/bin/aarch64_be-buildroot-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/home/buildroot/autobuild/instance-3/output-1/host/bin/ccache /usr/bin/gcc" GCC_FOR_BUILD="/home/buildroot/autobuild/instance-3/output-1/host/bin/ccache /usr/bin/gcc" CXX_FOR_BUILD="/home/buildroot/autobuild/instance-3/output-1/host/bin/ccache /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/aarch64_be-buildroot-linux-gnu-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-3/output-1/host/bin/aarch64_be-buildroot-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 -O3 -g0 -D_FORTIFY_SOURCE=2" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -D_FORTIFY_SOURCE=2" LDFLAGS="" FCFLAGS=" -O3 -g0" FFLAGS=" -O3 -g0" PKG_CONFIG="/home/buildroot/autobuild/instance-3/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-3/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src make[1]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src' ... libbfd: [ on ] ... disassembler-four-args: [ on ] ... zlib: [ on ] ... libcap: [ on ] ... clang-bpf-co-re: [ OFF ] MKDIR /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/ MKDIR /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/include/bpf INSTALL /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/include/bpf/hashmap.h make[2]: Entering directory '/home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/libbpf/src' INSTALL /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/include/bpf/nlattr.h INSTALL /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/include/bpf/relo_core.h INSTALL /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/include/bpf/libbpf_internal.h MKDIR /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.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 usdt.bpf.h CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/bpf.o CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/btf.o CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/libbpf.o CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/libbpf_errno.o CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/netlink.o netlink.c: In function 'libbpf_netlink_recv': netlink.c:143:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 143 | if (len > iov.iov_len) { | ^ netlink.c:164:43: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 164 | if (nh->nlmsg_seq != seq) { | ^~ netlink.c: In function 'tc_add_fd_and_name': netlink.c:651:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 651 | if (len >= sizeof(name)) | ^~ CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/nlattr.o bpf.c: In function 'alloc_zero_tailing_info': bpf.c:305:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 305 | for (i = 0; i < cnt; i++) { | ^ nlattr.c: In function 'nla_ok': nlattr.c:35:26: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 35 | return remaining >= sizeof(*nla) && | ^~ nlattr.c: In function 'validate_nla': nlattr.c:65:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 65 | if (libbpf_nla_len(nla) < minlen) | ^ CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/str_error.o CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/libbpf_probes.o CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/bpf_prog_linfo.o CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/xsk.o CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/btf_dump.o btf.c: In function 'btf_type_by_id': btf.c:461:21: 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:51: warning: operand of '?:' changes signedness from 'int' to 'long 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:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long 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:31: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 1251 | for (i = 0; i < btf->nr_types; i++) { | ^ btf.c: In function 'btf__str_by_offset': btf.c:1298:20: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1298 | if (offset < btf->start_str_off) | ^ btf.c: In function 'validate_type_id': btf.c:1898:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1898 | if (id < 0 || id > BTF_MAX_NR_TYPES) | ^ btf.c: In function 'btf_dedup_clear_hypot_map': btf.c:3229:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3229 | for (i = 0; i < d->hypot_cnt; i++) | ^ btf.c: In function 'btf_for_each_str_off': btf.c:3332:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 3332 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function 'strs_dedup_remap_str_off': btf.c:3358:37: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3358 | if (str_off == 0 || str_off < d->btf->start_str_off) | ^ btf.c: In function 'btf_hash_struct': btf.c:3534:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 3534 | for (i = 0; i < vlen; i++) { | ^ btf.c: In function 'btf_dedup_prim_types': btf.c:3851:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 3851 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function 'btf_dedup_is_equiv': btf.c:4102:63: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 4102 | if (fwd_kind == real_kind && canon_id < d->btf->start_id) | ^ btf.c: In function 'btf_dedup_merge_hypot_map': btf.c:4228:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 4228 | for (i = 0; i < d->hypot_cnt; i++) { | ^ btf.c: In function 'btf_dedup_struct_types': btf.c:4368:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 4368 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function 'btf_dedup_ref_types': btf.c:4530:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 4530 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function 'btf_dedup_compact_types': btf.c:4565:46: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 4565 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) | ^ btf.c:4570:46: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 4570 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) { | ^ btf.c:4571:32: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 4571 | if (d->map[id] != id) | ^~ btf.c: In function 'btf_dedup_remap_types': btf.c:4634:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 4634 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function 'btf__load_vmlinux_btf': btf.c:4680:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 4680 | for (i = 0; i < ARRAY_SIZE(locations); i++) { | ^ In file included from btf.c:22: btf.c: In function 'btf_ext_visit_type_ids': libbpf_internal.h:396:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 396 | i < (sec)->num_info; \ | ^ btf.c:4841:17: note: in expansion of macro 'for_each_btf_ext_rec' 4841 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf_internal.h:396:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 396 | i < (sec)->num_info; \ | ^ btf.c:4852:17: note: in expansion of macro 'for_each_btf_ext_rec' 4852 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ btf.c: In function 'btf_ext_visit_str_offs': libbpf_internal.h:396:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 396 | i < (sec)->num_info; \ | ^ btf.c:4883:17: note: in expansion of macro 'for_each_btf_ext_rec' 4883 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf_internal.h:396:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 396 | i < (sec)->num_info; \ | ^ btf.c:4901:17: note: in expansion of macro 'for_each_btf_ext_rec' 4901 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/hashmap.o CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/ringbuf.o xsk.c: In function 'xsk_link_lookup': xsk.c:706:51: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 706 | if (link_info.xdp.ifindex == ifindex) { | ^~ CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/strset.o strset.c: In function 'strset__new': strset.c:66:35: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 66 | for (off = 0; off < set->strs_data_len; off += strlen(set->strs_data + off) + 1) { | ^ CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/linker.o CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/gen_loader.o btf_dump.c: In function 'pfx': btf_dump.c:29:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:23: warning: comparison of integer expressions of different signedness: 'int' and 'long 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:1611:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 1611 | for (i = 0; i < t->size; i++) | ^ btf_dump.c: In function 'btf_dump_int_data': btf_dump.c:1709:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1709 | if (sz == 0 || sz > sizeof(buf)) { | ^ btf_dump.c: In function 'btf_dump_type_data_check_zero': btf_dump.c:2165:31: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 2165 | for (i = 0; i < array->nelems; i++) { | ^ CC /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/relo_core.o gen_loader.c: In function 'bpf_gen__init': gen_loader.c:144:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long 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:22: 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:49: 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:23: 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:23: 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:28: 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:23: 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:23: 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/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/staticobjs/usdt.o relo_core.c: In function 'is_flex_arr': relo_core.c:83:25: warning: comparison of integer expressions of different signedness: '__u32' {aka '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:290:49: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 290 | if (!flex && access_idx >= a->nelems) | ^~ relo_core.c: In function 'bpf_core_patch_insn': relo_core.c:956:48: warning: comparison of integer expressions of different signedness: '__s32' {aka 'int'} and '__u32' {aka 'unsigned int'} [-Wsign-compare] 956 | if (res->validate && insn->imm != orig_val) { | ^~ relo_core.c:971:48: warning: comparison of integer expressions of different signedness: '__s16' {aka 'short int'} and '__u32' {aka 'unsigned int'} [-Wsign-compare] 971 | if (res->validate && insn->off != orig_val) { | ^~ relo_core.c:997:43: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 997 | if (insn_bytes_sz != res->orig_sz) { | ^~ relo_core.c: In function 'bpf_core_format_spec': relo_core.c:1070:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1070 | if (r >= buf_sz) \ | ^~ relo_core.c:1080:9: note: in expansion of macro 'append_buf' 1080 | append_buf("<%s> [%u] %s %s", | ^~~~~~~~~~ relo_core.c:1070:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1070 | if (r >= buf_sz) \ | ^~ relo_core.c:1092:17: note: in expansion of macro 'append_buf' 1092 | append_buf("::%s = %u", s, e->val); | ^~~~~~~~~~ relo_core.c:1070:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1070 | if (r >= buf_sz) \ | ^~ relo_core.c:1099:33: note: in expansion of macro 'append_buf' 1099 | append_buf(".%s", spec->spec[i].name); | ^~~~~~~~~~ relo_core.c:1070:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1070 | if (r >= buf_sz) \ | ^~ relo_core.c:1101:33: note: in expansion of macro 'append_buf' 1101 | append_buf("[%u]", spec->spec[i].idx); | ^~~~~~~~~~ relo_core.c:1070:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1070 | if (r >= buf_sz) \ | ^~ relo_core.c:1104:17: note: in expansion of macro 'append_buf' 1104 | append_buf(" ("); | ^~~~~~~~~~ relo_core.c:1070:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1070 | if (r >= buf_sz) \ | ^~ relo_core.c:1106:25: note: in expansion of macro 'append_buf' 1106 | append_buf("%s%d", i == 0 ? "" : ":", spec->raw_spec[i]); | ^~~~~~~~~~ relo_core.c:1070:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1070 | if (r >= buf_sz) \ | ^~ relo_core.c:1109:25: note: in expansion of macro 'append_buf' 1109 | append_buf(" @ offset %u.%u)", spec->bit_offset / 8, spec->bit_offset % 8); | ^~~~~~~~~~ relo_core.c:1070:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1070 | if (r >= buf_sz) \ | ^~ relo_core.c:1111:25: note: in expansion of macro 'append_buf' 1111 | append_buf(" @ offset %u)", spec->bit_offset / 8); | ^~~~~~~~~~ usdt.c: In function 'parse_elf_segs': usdt.c:409:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 409 | for (i = 0; i < n; i++) { | ^ usdt.c: In function 'find_elf_seg': usdt.c:544:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 544 | for (i = 0, seg = segs; i < seg_cnt; i++, seg++) { | ^ usdt.c:552:43: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 552 | for (i = 0, seg = segs; i < seg_cnt; i++, seg++) { | ^ usdt.c: In function 'bpf_link_usdt_detach': usdt.c:818:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 818 | for (i = 0; i < usdt_link->uprobe_cnt; i++) { | ^ usdt.c: In function 'usdt_manager_attach_usdt': usdt.c:1017:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1017 | for (i = 0; i < target_cnt; i++) { | ^ linker.c: In function 'linker_sanity_check_elf_symtab': linker.c:779:55: 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:55: 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:29: warning: comparison of integer expressions of different signedness: 'int' and 'Elf64_Xword' {aka '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:46: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 1694 | if (btf_id && btf_id != vi->type) { | ^~ linker.c: In function 'linker_append_btf_ext': linker.c:2455:47: 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:396:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 396 | i < (sec)->num_info; \ | ^ linker.c:2460:17: 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:47: 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) { | ^~ libbpf_internal.h:396:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 396 | i < (sec)->num_info; \ | ^ linker.c:2489:17: 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:52: 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) { | ^~ libbpf_internal.h:396:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 396 | i < (sec)->num_info; \ | ^ linker.c:2531:17: 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) { | ^~~~~~~~~~~~~~~~~~~~ libbpf.c: In function 'bpf_object__add_programs': libbpf.c:736:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 736 | for (i = 0; i < nr_syms; i++) { | ^ libbpf.c: In function 'find_struct_ops_kern_types': libbpf.c:915:44: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and '__s32' {aka 'int'} [-Wsign-compare] 915 | if (kern_data_member->type == kern_type_id) | ^~ libbpf.c: In function 'internal_map_name': libbpf.c:1502:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1502 | if (sfx_len >= BPF_OBJ_NAME_LEN) | ^~ libbpf.c: In function 'set_kcfg_value_str': libbpf.c:1694:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1694 | if (len >= ext->kcfg.sz) { | ^~ libbpf.c: In function 'bpf_object__init_user_maps': libbpf.c:2035:32: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 2035 | if (map_def_sz <= sizeof(struct bpf_map_def)) { | ^~ libbpf.c: In function 'bpf_object__sanitize_btf': libbpf.c:2661:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 2661 | for (i = 1; i < btf__type_cnt(btf); i++) { | ^ libbpf.c: In function 'bpf_object__init_btf': libbpf.c:2775:43: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 2775 | for (seg_num = 0; seg_num < ARRAY_SIZE(ext_segs); seg_num++) { | ^ libbpf.c: In function 'bpf_object__sanitize_and_load_btf': libbpf.c:3021:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3021 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function 'bpf_object__elf_collect': libbpf.c:3438:59: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 3438 | if (!obj->efile.strtabidx || obj->efile.strtabidx > idx) { | ^ libbpf.c: In function 'find_extern_sec_btf_id': libbpf.c:3527:38: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3527 | if (vs->type == ext_btf_id) | ^~ libbpf.c: In function 'prog_is_subprog': libbpf.c:3896:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 3896 | return prog->sec_idx == obj->efile.text_shndx; | ^~ libbpf.c:3898:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 3898 | return prog->sec_idx == obj->efile.text_shndx && obj->nr_programs > 1; | ^~ libbpf.c: In function 'bpf_program__record_reloc': libbpf.c:4006:43: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 4006 | if (!shdr_idx || shdr_idx != obj->efile.text_shndx) { | ^~ libbpf.c: In function 'bpf_object__collect_prog_relos': libbpf.c:4153:21: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 4153 | if (sec_idx >= obj->efile.sec_cnt) | ^~ libbpf.c: In function 'bpf_map_find_btf_info': libbpf.c:4273:34: warning: operand of '?:' changes signedness from 'int' to '__u32' {aka 'unsigned int'} due to unsignedness of other operand [-Wsign-compare] 4273 | ret : value_type_id; | ^~~ libbpf.c: In function 'init_map_in_map_slots': libbpf.c:5094:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 5094 | for (i = 0; i < map->init_slots_sz; i++) { | ^ libbpf.c: In function 'init_prog_array_slots': libbpf.c:5133:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 5133 | for (i = 0; i < map->init_slots_sz; i++) { | ^ libbpf.c: In function 'bpf_object_init_prog_arrays': libbpf.c:5162:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 5162 | for (i = 0; i < obj->nr_maps; i++) { | ^ libbpf.c: In function 'bpf_core_find_cands': libbpf.c:5526:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 5526 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ In file included from libbpf.c:55: libbpf.c: In function 'bpf_object__relocate_core': libbpf_internal.h:396:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 396 | i < (sec)->num_info; \ | ^ libbpf.c:5775:17: note: in expansion of macro 'for_each_btf_ext_rec' 5775 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf.c:5804:38: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 5804 | if (insn_idx >= prog->insns_cnt) | ^~ In file included from libbpf.c:56: hashmap.h:156:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 156 | for (bkt = 0; bkt < map->cap; bkt++) \ | ^ libbpf.c:5840:17: note: in expansion of macro 'hashmap__for_each_entry' 5840 | hashmap__for_each_entry(cand_cache, entry, i) { | ^~~~~~~~~~~~~~~~~~~~~~~ libbpf.c: In function 'adjust_prog_btf_ext_info': libbpf.c:5995:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 5995 | if (prog->sec_idx != sec_idx) | ^~ libbpf_internal.h:396:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 396 | i < (sec)->num_info; \ | ^ libbpf.c:5998:17: note: in expansion of macro 'for_each_btf_ext_rec' 5998 | for_each_btf_ext_rec(ext_info, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf.c: In function 'cmp_relo_by_insn_idx': libbpf.c:6124:22: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 6124 | if (insn_idx == relo->insn_idx) | ^~ libbpf.c:6126:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 6126 | return insn_idx < relo->insn_idx ? -1 : 1; | ^ libbpf.c: In function 'bpf_object__relocate_calls': libbpf.c:6378:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 6378 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function 'bpf_object__free_relocs': libbpf.c:6400:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 6400 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function 'bpf_object__sort_relos': libbpf.c:6426:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 6426 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function 'bpf_object__relocate': libbpf.c:6462:31: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 6462 | for (j = 0; j < prog->nr_reloc; j++) { | ^ libbpf.c: In function 'bpf_object__collect_map_relos': libbpf.c:6560:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 6560 | for (j = 0; j < obj->nr_maps; j++) { | ^ libbpf.c:6570:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 6570 | if (j == obj->nr_maps) { | ^~ libbpf.c:6635:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 6635 | if (moff >= map->init_slots_sz) { | ^~ libbpf.c: In function 'bpf_object__sanitize_prog': libbpf.c:6712:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 6712 | for (i = 0; i < prog->insns_cnt; i++, insn++) { | ^ libbpf.c: In function 'bpf_object_load_prog_instance': libbpf.c:6918:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 6918 | for (i = 0; i < obj->nr_maps; i++) { | ^ libbpf.c: In function 'fixup_log_failed_core_relo': libbpf.c:7056:47: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 7056 | insn_idx, spec_buf, spec_len >= sizeof(spec_buf) ? "..." : ""); | ^~ libbpf.c: In function 'fixup_log_missing_map_load': libbpf.c:7082:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 7082 | if (map_idx < 0 || map_idx >= obj->nr_maps) | ^~ libbpf.c: In function 'fixup_verifier_log': libbpf.c:7108:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 7108 | for (i = 0; i < max_last_line_cnt; i++, next_line = cur_line) { | ^ libbpf.c: In function 'find_ksym_btf_id': libbpf.c:7611:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 7611 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c: In function 'bpf_object_load': libbpf.c:7886:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 7886 | for (i = 0; i < obj->nr_maps; i++) | ^ libbpf.c:7896:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 7896 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c:7915:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 7915 | for (i = 0; i < obj->nr_maps; i++) | ^ libbpf.c: In function '__bpf_program__iter': libbpf.c:8669:17: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 8669 | if (idx >= obj->nr_programs || idx < 0) | ^~ libbpf.c: In function 'libbpf_unregister_prog_handler': libbpf.c:9154:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 9154 | for (i = 0; i < custom_sec_def_cnt; i++) { | ^ libbpf.c:9159:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 9159 | if (i == custom_sec_def_cnt) | ^~ libbpf.c:9163:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 9163 | for (i = i + 1; i < custom_sec_def_cnt; i++) | ^ libbpf.c: In function 'libbpf_get_type_names': libbpf.c:9255:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 9255 | for (i = 0; i < ARRAY_SIZE(section_defs); i++) { | ^ libbpf.c:9266:67: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 9266 | if (strlen(buf) + strlen(section_defs[i].sec) + 2 > len) { | ^ libbpf.c: In function 'find_btf_by_prefix_kind': libbpf.c:9478:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 9478 | if (ret < 0 || ret >= sizeof(btf_type_name)) | ^~ libbpf.c: In function 'find_kernel_btf_id': libbpf.c:9568:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 9568 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c: In function '__bpf_map__iter': libbpf.c:9875:17: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 9875 | if (idx >= obj->nr_maps || idx < 0) | ^~ libbpf.c: In function 'elf_find_relative_offset': libbpf.c:11006:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 11006 | for (i = 0; i < n; i++) { | ^ libbpf.c: In function 'elf_find_next_scn_by_type': libbpf.c:11036:32: warning: comparison of integer expressions of different signedness: 'Elf64_Word' {aka 'unsigned int'} and 'int' [-Wsign-compare] 11036 | if (sh.sh_type == sh_type) | ^~ libbpf.c: In function 'elf_find_func_offset': libbpf.c:11085:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 11085 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { | ^ libbpf.c: In function 'resolve_full_path': libbpf.c:11232:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 11232 | for (i = 0; i < ARRAY_SIZE(search_paths); i++) { | ^ libbpf.c:11244:47: warning: operand of '?:' changes signedness from 'long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 11244 | seg_len = next_path ? next_path - s : strlen(s); | ^~~~~~~~~~~~~ libbpf.c: In function 'determine_tracepoint_id': libbpf.c:11511:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 11511 | if (ret >= sizeof(file)) { | ^~ libbpf.c: In function '__perf_buffer__new': libbpf.c:12298:56: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 12298 | if (map.max_entries && map.max_entries < pb->cpu_cnt) | ^ libbpf.c: In function 'perf_buffer__buffer_fd': libbpf.c:12478:21: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 12478 | if (buf_idx >= pb->cpu_cnt) | ^~ libbpf.c: In function 'perf_buffer__consume_buffer': libbpf.c:12500:21: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 12500 | if (buf_idx >= pb->cpu_cnt) | ^~ libbpf.c: In function 'bpf_program__get_prog_info_linear': libbpf.c:12655:56: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 12655 | (desc->size_offset > 0 && info_len < desc->size_offset)) | ^ libbpf.c: In function 'parse_cpu_mask_file': libbpf.c:12891:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 12891 | if (len >= sizeof(buf)) { | ^~ libbpf.c: In function 'populate_skeleton_maps': libbpf.c:12932:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 12932 | for (i = 0; i < map_cnt; i++) { | ^ libbpf.c: In function 'populate_skeleton_progs': libbpf.c:12956:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 12956 | for (i = 0; i < prog_cnt; i++) { | ^ AR /home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src/libbpf/libbpf.a make[2]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/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 prog.o CC btf_dumper.o CC net.o CC struct_ops.o CC netlink_dumper.o CC link.o CC cgroup.o CC gen.o CC main.o CC json_writer.o CC cfg.o CC map.o CC pids.o CC feature.o CC jit_disasm.o jit_disasm.c: In function 'disasm_print_insn': jit_disasm.c:102:17: error: too few arguments to function 'init_disassemble_info' 102 | init_disassemble_info(&info, stdout, | ^~~~~~~~~~~~~~~~~~~~~ In file included from jit_disasm.c:23: ../../../host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/dis-asm.h:472:13: note: declared here 472 | extern void init_disassemble_info (struct disassemble_info *dinfo, void *stream, | ^~~~~~~~~~~~~~~~~~~~~ jit_disasm.c:105:17: error: too few arguments to function 'init_disassemble_info' 105 | init_disassemble_info(&info, stdout, | ^~~~~~~~~~~~~~~~~~~~~ ../../../host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/dis-asm.h:472:13: note: declared here 472 | extern void init_disassemble_info (struct disassemble_info *dinfo, void *stream, | ^~~~~~~~~~~~~~~~~~~~~ CC disasm.o Makefile:216: recipe for target 'jit_disasm.o' failed make[1]: *** [jit_disasm.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/src' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-3/output-1/build/bpftool-v6.8.0/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-3/buildroot'