>>> bpftool v7.1.0 Downloading GIT_DIR=/home/autobuild/autobuild/instance-11/dl/bpftool/git/.git git init . Reinitialized existing Git repository in /home/autobuild/autobuild/instance-11/dl/bpftool/git/.git/ GIT_DIR=/home/autobuild/autobuild/instance-11/dl/bpftool/git/.git git remote set-url origin 'https://github.com/libbpf/bpftool' Fetching all references GIT_DIR=/home/autobuild/autobuild/instance-11/dl/bpftool/git/.git git fetch origin From https://github.com/libbpf/bpftool b01941c..e1d17ae master -> origin/master GIT_DIR=/home/autobuild/autobuild/instance-11/dl/bpftool/git/.git git fetch origin -t Could not fetch special ref 'v7.1.0'; assuming it is not special. GIT_DIR=/home/autobuild/autobuild/instance-11/dl/bpftool/git/.git git submodule --quiet foreach 'printf "Deregistering submodule \"%s\"\n" "${path}" && cd .. && rm -rf "${path##*/}"' Deregistering submodule "libbpf" GIT_DIR=/home/autobuild/autobuild/instance-11/dl/bpftool/git/.git git checkout -f -q 'v7.1.0' GIT_DIR=/home/autobuild/autobuild/instance-11/dl/bpftool/git/.git git clean -ffdx GIT_DIR=/home/autobuild/autobuild/instance-11/dl/bpftool/git/.git git submodule update --init --recursive Submodule path 'libbpf': checked out 'e3a40329bb05a333fc588e3bf50365a554fda0a6' bpftool-v7.1.0-br1.tar.gz: OK (sha256: 35ff149cab4a3ab209b0c04cab2707243ab7ee753de5f4b5678296c975cf7fe0) >>> bpftool v7.1.0 Extracting mkdir -p /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host mkdir -p /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/target gzip -d -c /home/autobuild/autobuild/instance-11/dl/bpftool/bpftool-v7.1.0-br1.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0 -xf - >>> bpftool v7.1.0 Patching >>> bpftool v7.1.0 Configuring mkdir -p /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host rsync -a --link-dest=/home/autobuild/autobuild/instance-11/output-1/per-package/binutils/host/ /home/autobuild/autobuild/instance-11/output-1/per-package/binutils/host/ /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host rsync -a --link-dest=/home/autobuild/autobuild/instance-11/output-1/per-package/elfutils/host/ /home/autobuild/autobuild/instance-11/output-1/per-package/elfutils/host/ /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host rsync -a --link-dest=/home/autobuild/autobuild/instance-11/output-1/per-package/host-skeleton/host/ /home/autobuild/autobuild/instance-11/output-1/per-package/host-skeleton/host/ /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host rsync -a --link-dest=/home/autobuild/autobuild/instance-11/output-1/per-package/libcap/host/ /home/autobuild/autobuild/instance-11/output-1/per-package/libcap/host/ /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host rsync -a --link-dest=/home/autobuild/autobuild/instance-11/output-1/per-package/skeleton/host/ /home/autobuild/autobuild/instance-11/output-1/per-package/skeleton/host/ /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host rsync -a --link-dest=/home/autobuild/autobuild/instance-11/output-1/per-package/toolchain/host/ /home/autobuild/autobuild/instance-11/output-1/per-package/toolchain/host/ /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host rsync -a --link-dest=/home/autobuild/autobuild/instance-11/output-1/per-package/zlib/host/ /home/autobuild/autobuild/instance-11/output-1/per-package/zlib/host/ /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host mkdir -p /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/target rsync -a --link-dest=/home/autobuild/autobuild/instance-11/output-1/per-package/binutils/target/ /home/autobuild/autobuild/instance-11/output-1/per-package/binutils/target/ /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/target rsync -a --link-dest=/home/autobuild/autobuild/instance-11/output-1/per-package/elfutils/target/ /home/autobuild/autobuild/instance-11/output-1/per-package/elfutils/target/ /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/target rsync -a --link-dest=/home/autobuild/autobuild/instance-11/output-1/per-package/host-skeleton/target/ /home/autobuild/autobuild/instance-11/output-1/per-package/host-skeleton/target/ /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/target rsync -a --link-dest=/home/autobuild/autobuild/instance-11/output-1/per-package/libcap/target/ /home/autobuild/autobuild/instance-11/output-1/per-package/libcap/target/ /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/target rsync -a --link-dest=/home/autobuild/autobuild/instance-11/output-1/per-package/skeleton/target/ /home/autobuild/autobuild/instance-11/output-1/per-package/skeleton/target/ /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/target rsync -a --link-dest=/home/autobuild/autobuild/instance-11/output-1/per-package/toolchain/target/ /home/autobuild/autobuild/instance-11/output-1/per-package/toolchain/target/ /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/target rsync -a --link-dest=/home/autobuild/autobuild/instance-11/output-1/per-package/zlib/target/ /home/autobuild/autobuild/instance-11/output-1/per-package/zlib/target/ /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/target >>> bpftool v7.1.0 Building PATH="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin:/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" PATH="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin:/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" AR="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/aarch64_be-buildroot-linux-gnu-gcc-ar" AS="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/aarch64_be-buildroot-linux-gnu-as" LD="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/aarch64_be-buildroot-linux-gnu-ld" NM="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/aarch64_be-buildroot-linux-gnu-gcc-nm" CC="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/aarch64_be-buildroot-linux-gnu-gcc" GCC="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/aarch64_be-buildroot-linux-gnu-gcc" CPP="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/aarch64_be-buildroot-linux-gnu-cpp" CXX="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/aarch64_be-buildroot-linux-gnu-g++" FC="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/aarch64_be-buildroot-linux-gnu-gfortran" F77="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/aarch64_be-buildroot-linux-gnu-gfortran" RANLIB="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/aarch64_be-buildroot-linux-gnu-gcc-ranlib" READELF="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/aarch64_be-buildroot-linux-gnu-readelf" STRIP="/bin/true" OBJCOPY="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/aarch64_be-buildroot-linux-gnu-objcopy" OBJDUMP="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/aarch64_be-buildroot-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/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/include" LDFLAGS_FOR_BUILD="-L/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/aarch64_be-buildroot-linux-gnu-as" DEFAULT_LINKER="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/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 -Ofast -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 " LDFLAGS="" FCFLAGS=" -Ofast -g0" FFLAGS=" -Ofast -g0" PKG_CONFIG="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/pkg-config" STAGING_DIR="/home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/aarch64_be-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no /home/autobuild/make/make -C /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src make[1]: Entering directory '/home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src' ... libbfd: [ on ] ... clang-bpf-co-re: [ on ] ... llvm: [ on ] ... libcap: [ on ] MKDIR /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/ make[2]: Entering directory '/home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/libbpf/src' MKDIR /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs CC /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/bpf.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from bpf.c:24: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from bpf.c:24: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from bpf.c:36: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from bpf.c:24: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from bpf.c:36: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from bpf.c:24: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from libbpf.h:14, from bpf.c:36: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from bpf.c:24: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from bpf.c:36: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from bpf.c:24: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from bpf.c:36: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from bpf.c:24: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from libbpf.h:14, from bpf.c:36: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ bpf.c: In function 'alloc_zero_tailing_info': bpf.c:219:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 219 | for (i = 0; i < cnt; i++) { | ^ CC /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/btf.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/byteswap.h:22, from btf.c:4: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from btf.c:6: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/byteswap.h:22, from btf.c:4: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from btf.c:6: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/byteswap.h:22, from btf.c:4: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from btf.c:6: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/byteswap.h:22, from btf.c:4: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from btf.c:6: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/byteswap.h:22, from btf.c:4: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from btf.c:6: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/byteswap.h:22, from btf.c:4: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from btf.c:6: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from btf.c:7: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ btf.c: In function 'btf_type_by_id': btf.c:466:21: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 466 | if (type_id < btf->start_id) | ^ btf.c: In function 'determine_ptr_size': btf.c:513:31: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 513 | for (j = 0; j < ARRAY_SIZE(long_aliases); j++) { | ^ btf.c: In function 'btf_ptr_sz': btf.c:526:51: warning: operand of '?:' changes signedness from 'int' to 'long unsigned int' due to unsignedness of other operand [-Wsign-compare] 526 | return btf->ptr_sz < 0 ? sizeof(void *) : btf->ptr_sz; | ^~~~~~~~~~~ btf.c: In function 'btf_parse_raw': btf.c:1108:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] 1108 | if (fread(data, 1, sz, f) < sz) { | ^ btf.c: In function 'btf_get_raw_data': btf.c:1284:31: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 1284 | for (i = 0; i < btf->nr_types; i++) { | ^ btf.c: In function 'btf__str_by_offset': btf.c:1331:20: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 1331 | if (offset < btf->start_str_off) | ^ btf.c: In function 'validate_type_id': btf.c:1846:26: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1846 | if (id < 0 || id > BTF_MAX_NR_TYPES) | ^ btf.c: In function 'btf_dedup_clear_hypot_map': btf.c:3179:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3179 | for (i = 0; i < d->hypot_cnt; i++) | ^ btf.c: In function 'btf_for_each_str_off': btf.c:3282:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 3282 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function 'strs_dedup_remap_str_off': btf.c:3308:37: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3308 | if (str_off == 0 || str_off < d->btf->start_str_off) | ^ btf.c: In function 'btf_hash_struct': btf.c:3514:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 3514 | for (i = 0; i < vlen; i++) { | ^ btf.c: In function 'btf_dedup_prim_types': btf.c:3833:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 3833 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function 'btf_dedup_is_equiv': btf.c:4086:63: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 4086 | if (fwd_kind == real_kind && canon_id < d->btf->start_id) | ^ btf.c: In function 'btf_dedup_merge_hypot_map': btf.c:4213:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 4213 | for (i = 0; i < d->hypot_cnt; i++) { | ^ btf.c: In function 'btf_dedup_struct_types': btf.c:4353:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 4353 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function 'btf_dedup_ref_types': btf.c:4515:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 4515 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function 'btf_dedup_resolve_fwds': btf.c:4643:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 4643 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function 'btf_dedup_compact_types': btf.c:4678:46: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 4678 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) | ^ btf.c:4683:46: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 4683 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) { | ^ btf.c:4684:32: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 4684 | if (d->map[id] != id) | ^~ btf.c: In function 'btf_dedup_remap_types': btf.c:4747:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 4747 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function 'btf__load_vmlinux_btf': btf.c:4790:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 4790 | 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:399:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 399 | i < (sec)->num_info; \ | ^ btf.c:4959:17: note: in expansion of macro 'for_each_btf_ext_rec' 4959 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf_internal.h:399:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 399 | i < (sec)->num_info; \ | ^ btf.c:4970:17: note: in expansion of macro 'for_each_btf_ext_rec' 4970 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ btf.c: In function 'btf_ext_visit_str_offs': libbpf_internal.h:399:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 399 | i < (sec)->num_info; \ | ^ btf.c:5001:17: note: in expansion of macro 'for_each_btf_ext_rec' 5001 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf_internal.h:399:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 399 | i < (sec)->num_info; \ | ^ btf.c:5019:17: note: in expansion of macro 'for_each_btf_ext_rec' 5019 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ CC /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/libbpf.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from libbpf.c:16: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from libbpf.c:16: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.c:17: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from libbpf.c:16: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.c:17: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from libbpf.c:16: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from libbpf.c:17: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from libbpf.c:16: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.c:17: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from libbpf.c:16: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.c:17: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from libbpf.c:16: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from libbpf.c:17: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ libbpf.c: In function 'bpf_object__add_programs': libbpf.c:804:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 804 | for (i = 0; i < nr_syms; i++) { | ^ libbpf.c: In function 'find_struct_ops_kern_types': libbpf.c:983:44: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and '__s32' {aka 'int'} [-Wsign-compare] 983 | if (kern_data_member->type == kern_type_id) | ^~ libbpf.c: In function 'internal_map_name': libbpf.c:1561:21: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 1561 | if (sfx_len >= BPF_OBJ_NAME_LEN) | ^~ libbpf.c: In function 'bpf_object__init_global_data_maps': libbpf.c:1683:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1683 | for (sec_idx = 1; sec_idx < obj->efile.sec_cnt; sec_idx++) { | ^ libbpf.c: In function 'set_kcfg_value_str': libbpf.c:1791:17: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 1791 | if (len >= ext->kcfg.sz) { | ^~ libbpf.c: In function 'pathname_concat': libbpf.c:2149:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 2149 | if (len >= buf_sz) | ^~ libbpf.c: In function 'bpf_object__sanitize_btf': libbpf.c:2701:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 2701 | for (i = 1; i < btf__type_cnt(btf); i++) { | ^ libbpf.c: In function 'bpf_object__init_btf': libbpf.c:2839:43: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 2839 | for (seg_num = 0; seg_num < ARRAY_SIZE(ext_segs); seg_num++) { | ^ libbpf.c: In function 'bpf_object__sanitize_and_load_btf': libbpf.c:3099:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3099 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function 'bpf_object__elf_collect': libbpf.c:3498:42: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 3498 | targ_sec_idx >= obj->efile.sec_cnt) | ^~ libbpf.c:3525:59: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 3525 | if (!obj->efile.strtabidx || obj->efile.strtabidx > idx) { | ^ libbpf.c: In function 'find_extern_sec_btf_id': libbpf.c:3615:38: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 3615 | if (vs->type == ext_btf_id) | ^~ libbpf.c: In function 'prog_is_subprog': libbpf.c:3957:30: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 3957 | return prog->sec_idx == obj->efile.text_shndx && obj->nr_programs > 1; | ^~ libbpf.c: In function 'bpf_program__record_reloc': libbpf.c:4064:43: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 4064 | if (!shdr_idx || shdr_idx != obj->efile.text_shndx) { | ^~ libbpf.c: In function 'init_map_in_map_slots': libbpf.c:5136:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 5136 | for (i = 0; i < map->init_slots_sz; i++) { | ^ libbpf.c: In function 'init_prog_array_slots': libbpf.c:5175:23: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 5175 | for (i = 0; i < map->init_slots_sz; i++) { | ^ libbpf.c: In function 'bpf_object_init_prog_arrays': libbpf.c:5204:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 5204 | for (i = 0; i < obj->nr_maps; i++) { | ^ libbpf.c: In function 'bpf_core_find_cands': libbpf.c:5568:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 5568 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ In file included from libbpf.c:54: libbpf.c: In function 'bpf_object__relocate_core': libbpf_internal.h:399:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 399 | i < (sec)->num_info; \ | ^ libbpf.c:5748:17: note: in expansion of macro 'for_each_btf_ext_rec' 5748 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf.c:5777:38: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 5777 | if (insn_idx >= prog->insns_cnt) | ^~ In file included from libbpf.c:55: hashmap.h:179:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 179 | for (bkt = 0; bkt < map->cap; bkt++) \ | ^ libbpf.c:5813:17: note: in expansion of macro 'hashmap__for_each_entry' 5813 | hashmap__for_each_entry(cand_cache, entry, i) { | ^~~~~~~~~~~~~~~~~~~~~~~ libbpf.c: In function 'adjust_prog_btf_ext_info': libbpf.c:5968:35: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 5968 | if (prog->sec_idx != sec_idx) | ^~ In file included from libbpf.c:54: libbpf_internal.h:399:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 399 | i < (sec)->num_info; \ | ^ libbpf.c:5971:17: note: in expansion of macro 'for_each_btf_ext_rec' 5971 | for_each_btf_ext_rec(ext_info, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf.c: In function 'cmp_relo_by_insn_idx': libbpf.c:6097:22: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 6097 | if (insn_idx == relo->insn_idx) | ^~ libbpf.c:6099:25: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 6099 | return insn_idx < relo->insn_idx ? -1 : 1; | ^ libbpf.c: In function 'bpf_object__relocate_calls': libbpf.c:6352:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 6352 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function 'bpf_object__free_relocs': libbpf.c:6374:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 6374 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function 'bpf_object__sort_relos': 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__relocate': libbpf.c:6436:31: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 6436 | for (j = 0; j < prog->nr_reloc; j++) { | ^ libbpf.c: In function 'bpf_object__collect_map_relos': libbpf.c:6534:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 6534 | for (j = 0; j < obj->nr_maps; j++) { | ^ libbpf.c:6544:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 6544 | if (j == obj->nr_maps) { | ^~ libbpf.c:6609:26: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 6609 | if (moff >= map->init_slots_sz) { | ^~ libbpf.c: In function 'bpf_object__collect_relos': libbpf.c:6632:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 6632 | for (i = 0; i < obj->efile.sec_cnt; i++) { | ^ libbpf.c: In function 'bpf_object__sanitize_prog': libbpf.c:6686:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 6686 | for (i = 0; i < prog->insns_cnt; i++, insn++) { | ^ libbpf.c: In function 'bpf_object_load_prog': libbpf.c:6886:39: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 6886 | for (i = 0; i < obj->nr_maps; i++) { | ^ libbpf.c: In function 'fixup_log_failed_core_relo': libbpf.c:7024:47: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 7024 | insn_idx, spec_buf, spec_len >= sizeof(spec_buf) ? "..." : ""); | ^~ libbpf.c: In function 'fixup_log_missing_map_load': libbpf.c:7050:36: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 7050 | if (map_idx < 0 || map_idx >= obj->nr_maps) | ^~ libbpf.c: In function 'fixup_verifier_log': libbpf.c:7076:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 7076 | for (i = 0; i < max_last_line_cnt; i++, next_line = cur_line) { | ^ libbpf.c: In function 'find_ksym_btf_id': libbpf.c:7448:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 7448 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c: In function 'bpf_object_load': libbpf.c:7747:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 7747 | for (i = 0; i < obj->nr_maps; i++) | ^ libbpf.c:7757:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 7757 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c:7776:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 7776 | for (i = 0; i < obj->nr_maps; i++) | ^ libbpf.c: In function '__bpf_program__iter': libbpf.c:8315:17: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 8315 | if (idx >= obj->nr_programs || idx < 0) | ^~ libbpf.c: In function 'libbpf_unregister_prog_handler': libbpf.c:8682:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 8682 | for (i = 0; i < custom_sec_def_cnt; i++) { | ^ libbpf.c:8687:15: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 8687 | if (i == custom_sec_def_cnt) | ^~ libbpf.c:8691:27: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 8691 | for (i = i + 1; i < custom_sec_def_cnt; i++) | ^ libbpf.c: In function 'libbpf_get_type_names': libbpf.c:8769:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 8769 | for (i = 0; i < ARRAY_SIZE(section_defs); i++) { | ^ libbpf.c:8780:67: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 8780 | if (strlen(buf) + strlen(section_defs[i].sec) + 2 > len) { | ^ libbpf.c: In function 'find_btf_by_prefix_kind': libbpf.c:9025:28: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 9025 | if (ret < 0 || ret >= sizeof(btf_type_name)) | ^~ libbpf.c: In function 'find_kernel_btf_id': libbpf.c:9116:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 9116 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c: In function '__bpf_map__iter': libbpf.c:9397:17: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'long int'} and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 9397 | if (idx >= obj->nr_maps || idx < 0) | ^~ libbpf.c: In function 'elf_find_next_scn_by_type': libbpf.c:10557:32: warning: comparison of integer expressions of different signedness: 'Elf64_Word' {aka 'unsigned int'} and 'int' [-Wsign-compare] 10557 | if (sh.sh_type == sh_type) | ^~ libbpf.c: In function 'elf_find_func_offset': libbpf.c:10606:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 10606 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { | ^ libbpf.c: In function 'resolve_full_path': libbpf.c:10773:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 10773 | for (i = 0; i < ARRAY_SIZE(search_paths); i++) { | ^ libbpf.c:10785:47: warning: operand of '?:' changes signedness from 'long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] 10785 | seg_len = next_path ? next_path - s : strlen(s); | ^~~~~~~~~~~~~ libbpf.c: In function 'determine_tracepoint_id': libbpf.c:11056:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 11056 | if (ret >= sizeof(file)) { | ^~ libbpf.c: In function '__perf_buffer__new': libbpf.c:11818:56: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 11818 | if (map.max_entries && map.max_entries < pb->cpu_cnt) | ^ libbpf.c: In function 'perf_buffer__buffer_fd': libbpf.c:11998:21: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 11998 | if (buf_idx >= pb->cpu_cnt) | ^~ libbpf.c: In function 'perf_buffer__consume_buffer': libbpf.c:12036:21: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 12036 | if (buf_idx >= pb->cpu_cnt) | ^~ libbpf.c: In function 'parse_cpu_mask_file': libbpf.c:12179:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 12179 | if (len >= sizeof(buf)) { | ^~ libbpf.c: In function 'populate_skeleton_maps': libbpf.c:12220:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 12220 | for (i = 0; i < map_cnt; i++) { | ^ libbpf.c: In function 'populate_skeleton_progs': libbpf.c:12244:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 12244 | for (i = 0; i < prog_cnt; i++) { | ^ CC /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/libbpf_errno.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from libbpf_errno.c:11: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf_errno.c:11: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from libbpf_errno.c:11: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf_errno.c:11: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from libbpf_errno.c:11: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from libbpf_errno.c:11: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from libbpf_errno.c:11: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf_errno.c:11: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from libbpf_errno.c:11: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf_errno.c:11: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from libbpf_errno.c:11: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from libbpf_errno.c:11: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from libbpf_internal.h:12, from libbpf_errno.c:15: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ libbpf_errno.c: In function 'libbpf_strerror': libbpf_errno.c:65:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 65 | if (ret >= size) | ^~ libbpf_errno.c:72:17: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 72 | if (ret >= size) | ^~ CC /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/netlink.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from netlink.c:4: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ In file included from netlink.c:9: /usr/include/linux/if_ether.h:175:1: warning: packed attribute is unnecessary for 'ethhdr' [-Wpacked] 175 | } __attribute__((packed)); | ^ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from netlink.c:4: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from netlink.c:17: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from netlink.c:4: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from netlink.c:17: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from netlink.c:4: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from libbpf.h:14, from netlink.c:17: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from netlink.c:4: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from netlink.c:17: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from netlink.c:4: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from netlink.c:17: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from netlink.c:4: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from libbpf.h:14, from netlink.c:17: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ netlink.c: In function 'libbpf_netlink_recv': netlink.c:151:25: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 151 | if (len > iov.iov_len) { | ^ In file included from /usr/include/linux/rtnetlink.h:6, from netlink.c:11: ../include/uapi/linux/netlink.h:99:45: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 99 | (nlh)->nlmsg_len <= (len)) | ^~ netlink.c:166:60: note: in expansion of macro 'NLMSG_OK' 166 | for (nh = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(nh, len); | ^~~~~~~~ netlink.c:172:43: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 172 | if (nh->nlmsg_seq != seq) { | ^~ netlink.c: In function 'tc_add_fd_and_name': netlink.c:606:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 606 | if (len >= sizeof(name)) | ^~ CC /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/nlattr.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from nlattr.c:9: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from nlattr.c:11: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from nlattr.c:9: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from nlattr.c:11: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from nlattr.c:9: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from nlattr.c:11: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from nlattr.c:9: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from nlattr.c:11: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from nlattr.c:9: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from nlattr.c:11: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from nlattr.c:9: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from nlattr.c:11: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from libbpf_internal.h:12, from nlattr.c:14: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ 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/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/str_error.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from str_error.c:3: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from str_error.c:4: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from str_error.c:3: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from str_error.c:4: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from str_error.c:3: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from str_error.c:4: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from str_error.c:3: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from str_error.c:4: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from str_error.c:3: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from str_error.c:4: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from str_error.c:3: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from str_error.c:4: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ CC /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/libbpf_probes.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from libbpf_probes.c:7: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from libbpf_probes.c:4: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from libbpf_probes.c:17: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from libbpf_probes.c:4: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from libbpf_probes.c:17: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from libbpf_probes.c:4: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from libbpf.h:14, from libbpf_probes.c:17: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from libbpf_probes.c:4: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from libbpf_probes.c:17: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from libbpf_probes.c:4: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from libbpf_probes.c:17: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from libbpf_probes.c:4: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from libbpf.h:14, from libbpf_probes.c:17: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ CC /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/bpf_prog_linfo.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from bpf_prog_linfo.c:5: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from bpf_prog_linfo.c:4: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from bpf_prog_linfo.c:8: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from bpf_prog_linfo.c:4: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from bpf_prog_linfo.c:8: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from bpf_prog_linfo.c:4: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from libbpf.h:14, from bpf_prog_linfo.c:8: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from bpf_prog_linfo.c:4: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from bpf_prog_linfo.c:8: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from bpf_prog_linfo.c:4: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from bpf_prog_linfo.c:8: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from bpf_prog_linfo.c:4: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from libbpf.h:14, from bpf_prog_linfo.c:8: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ CC /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/btf_dump.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from btf_dump.c:11: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from btf_dump.c:11: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from btf_dump.c:22: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from btf_dump.c:11: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from btf_dump.c:22: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from btf_dump.c:11: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from libbpf.h:14, from btf_dump.c:22: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from btf_dump.c:11: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from btf_dump.c:22: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from btf_dump.c:11: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from libbpf.h:14, from btf_dump.c:22: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from btf_dump.c:11: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from libbpf.h:14, from btf_dump.c:22: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ btf_dump.c: In function 'pfx': btf_dump.c:30:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 30 | return lvl >= PREFIX_CNT ? PREFIXES : &PREFIXES[PREFIX_CNT - lvl]; | ^~ btf_dump.c: In function 'btf_dump_emit_bit_padding': btf_dump.c:894:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 894 | for (i = 0; i < ARRAY_SIZE(pads); i++) { | ^ btf_dump.c: In function 'btf_dump_emit_missing_aliases': btf_dump.c:1046:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1046 | for (i = 0; i < ARRAY_SIZE(missing_base_types); i++) { | ^ btf_dump.c: In function 'btf_dump_get_bitfield_value': btf_dump.c:1773:23: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 1773 | for (i = 0; i < t->size; i++) | ^ btf_dump.c: In function 'btf_dump_int_data': btf_dump.c:1871:27: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 1871 | if (sz == 0 || sz > sizeof(buf)) { | ^ btf_dump.c: In function 'btf_dump_enum_data': btf_dump.c:2214:35: warning: comparison of integer expressions of different signedness: '__s64' {aka 'long long int'} and '__u64' {aka 'long long unsigned int'} [-Wsign-compare] 2214 | if (value != btf_enum64_value(e)) | ^~ btf_dump.c: In function 'btf_dump_type_data_check_zero': btf_dump.c:2346:31: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 2346 | for (i = 0; i < array->nelems; i++) { | ^ CC /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/hashmap.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from hashmap.c:9: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from hashmap.c:8: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from hashmap.c:10: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from hashmap.c:8: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from hashmap.c:10: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from hashmap.c:8: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from hashmap.c:10: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from hashmap.c:8: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from hashmap.c:10: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from hashmap.c:8: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from hashmap.c:10: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from hashmap.c:8: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from hashmap.c:10: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ CC /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/ringbuf.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from ringbuf.c:10: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from ringbuf.c:10: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from ringbuf.c:11: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from ringbuf.c:10: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from ringbuf.c:11: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from ringbuf.c:10: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from ringbuf.c:11: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from ringbuf.c:10: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from ringbuf.c:11: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from ringbuf.c:10: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from ringbuf.c:11: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from ringbuf.c:10: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from ringbuf.c:11: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ CC /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/strset.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from strset.c:4: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from strset.c:3: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from strset.c:5: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from strset.c:3: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from strset.c:5: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from strset.c:3: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from strset.c:5: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from strset.c:3: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from strset.c:5: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from strset.c:3: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from strset.c:5: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from strset.c:3: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from strset.c:5: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ 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/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/linker.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from linker.c:9: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from linker.c:9: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from linker.c:9: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from linker.c:9: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from linker.c:9: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from linker.c:9: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from linker.c:9: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from linker.c:9: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from linker.c:9: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from linker.c:9: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from linker.c:9: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from linker.c:9: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from linker.c:10: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ linker.c: In function 'linker_sanity_check_elf_symtab': linker.c:774:55: warning: comparison of integer expressions of different signedness: 'Elf64_Word' {aka 'unsigned int'} and 'int' [-Wsign-compare] 774 | if (!sec->shdr->sh_link || sec->shdr->sh_link >= obj->sec_cnt) { | ^~ linker.c: In function 'linker_sanity_check_elf_relos': linker.c:856:55: warning: comparison of integer expressions of different signedness: 'Elf64_Word' {aka 'unsigned int'} and 'int' [-Wsign-compare] 856 | if (!sec->shdr->sh_info || sec->shdr->sh_info >= obj->sec_cnt) { | ^~ linker.c: In function 'sec_content_is_same': linker.c:1072:29: warning: comparison of integer expressions of different signedness: 'int' and 'Elf64_Xword' {aka 'long unsigned int'} [-Wsign-compare] 1072 | if (dst_sec->sec_sz != src_sec->shdr->sh_size) | ^~ linker.c: In function 'find_glob_sym_btf': linker.c:1691:46: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 1691 | if (btf_id && btf_id != vi->type) { | ^~ linker.c: In function 'linker_append_btf_ext': linker.c:2452:47: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2452 | if (dst_sec->func_info.rec_sz != rec_sz) { | ^~ In file included from linker.c:21: libbpf_internal.h:399:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 399 | i < (sec)->num_info; \ | ^ linker.c:2457:17: note: in expansion of macro 'for_each_btf_ext_rec' 2457 | for_each_btf_ext_rec(&obj->btf_ext->func_info, ext_sec, i, src_rec) { | ^~~~~~~~~~~~~~~~~~~~ linker.c:2481:47: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2481 | if (dst_sec->line_info.rec_sz != rec_sz) { | ^~ In file included from linker.c:21: libbpf_internal.h:399:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 399 | i < (sec)->num_info; \ | ^ linker.c:2486:17: note: in expansion of macro 'for_each_btf_ext_rec' 2486 | for_each_btf_ext_rec(&obj->btf_ext->line_info, ext_sec, i, src_rec) { | ^~~~~~~~~~~~~~~~~~~~ linker.c:2523:52: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare] 2523 | if (dst_sec->core_relo_info.rec_sz != rec_sz) { | ^~ In file included from linker.c:21: libbpf_internal.h:399:16: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 399 | i < (sec)->num_info; \ | ^ linker.c:2528:17: note: in expansion of macro 'for_each_btf_ext_rec' 2528 | for_each_btf_ext_rec(&obj->btf_ext->core_relo_info, ext_sec, i, src_rec) { | ^~~~~~~~~~~~~~~~~~~~ CC /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/gen_loader.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from gen_loader.c:3: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from gen_loader.c:3: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from gen_loader.c:3: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from gen_loader.c:3: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from gen_loader.c:3: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from gen_loader.c:3: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from gen_loader.c:3: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from gen_loader.c:3: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from gen_loader.c:3: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from gen_loader.c:3: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from gen_loader.c:3: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from gen_loader.c:3: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from gen_loader.c:4: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ 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 'bpf_gen__record_attach_target': gen_loader.c:536:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 536 | if (ret >= sizeof(gen->attach_target)) | ^~ 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/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/relo_core.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from relo_core.c:58: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from relo_core.c:58: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from relo_core.c:58: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from relo_core.c:58: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from relo_core.c:58: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from relo_core.c:58: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from relo_core.c:58: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from relo_core.c:58: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from relo_core.c:58: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from relo_core.c:58: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from relo_core.c:58: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from relo_core.c:58: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from libbpf_internal.h:12, from relo_core.c:68: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ 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:374:49: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 374 | if (!flex && access_idx >= a->nelems) | ^~ relo_core.c: In function 'bpf_core_patch_insn': relo_core.c:1052:48: warning: comparison of integer expressions of different signedness: '__s32' {aka 'int'} and '__u64' {aka 'long long unsigned int'} [-Wsign-compare] 1052 | if (res->validate && insn->imm != orig_val) { | ^~ relo_core.c:1068:48: warning: comparison of integer expressions of different signedness: '__s16' {aka 'short int'} and '__u64' {aka 'long long unsigned int'} [-Wsign-compare] 1068 | if (res->validate && insn->off != orig_val) { | ^~ relo_core.c:1096:43: warning: comparison of integer expressions of different signedness: 'int' and '__u32' {aka 'unsigned int'} [-Wsign-compare] 1096 | if (insn_bytes_sz != res->orig_sz) { | ^~ relo_core.c: In function 'bpf_core_format_spec': relo_core.c:1168:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1168 | if (r >= buf_sz) \ | ^~ relo_core.c:1178:9: note: in expansion of macro 'append_buf' 1178 | append_buf("<%s> [%u] %s %s", | ^~~~~~~~~~ relo_core.c:1168:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1168 | if (r >= buf_sz) \ | ^~ relo_core.c:1194:25: note: in expansion of macro 'append_buf' 1194 | append_buf(fmt_str, s, e->val); | ^~~~~~~~~~ relo_core.c:1168:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1168 | if (r >= buf_sz) \ | ^~ relo_core.c:1202:25: note: in expansion of macro 'append_buf' 1202 | append_buf(fmt_str, s, (unsigned long long)btf_enum64_value(e)); | ^~~~~~~~~~ relo_core.c:1168:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1168 | if (r >= buf_sz) \ | ^~ relo_core.c:1210:33: note: in expansion of macro 'append_buf' 1210 | append_buf(".%s", spec->spec[i].name); | ^~~~~~~~~~ relo_core.c:1168:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1168 | if (r >= buf_sz) \ | ^~ relo_core.c:1212:33: note: in expansion of macro 'append_buf' 1212 | append_buf("[%u]", spec->spec[i].idx); | ^~~~~~~~~~ relo_core.c:1168:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1168 | if (r >= buf_sz) \ | ^~ relo_core.c:1215:17: note: in expansion of macro 'append_buf' 1215 | append_buf(" ("); | ^~~~~~~~~~ relo_core.c:1168:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1168 | if (r >= buf_sz) \ | ^~ relo_core.c:1217:25: note: in expansion of macro 'append_buf' 1217 | append_buf("%s%d", i == 0 ? "" : ":", spec->raw_spec[i]); | ^~~~~~~~~~ relo_core.c:1168:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1168 | if (r >= buf_sz) \ | ^~ relo_core.c:1220:25: note: in expansion of macro 'append_buf' 1220 | append_buf(" @ offset %u.%u)", spec->bit_offset / 8, spec->bit_offset % 8); | ^~~~~~~~~~ relo_core.c:1168:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1168 | if (r >= buf_sz) \ | ^~ relo_core.c:1222:25: note: in expansion of macro 'append_buf' 1222 | append_buf(" @ offset %u)", spec->bit_offset / 8); | ^~~~~~~~~~ CC /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/staticobjs/usdt.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from usdt.c:3: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from usdt.c:4: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from usdt.c:3: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from usdt.c:4: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from usdt.c:3: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from usdt.c:4: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from usdt.c:3: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from usdt.c:4: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from usdt.c:3: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from usdt.c:4: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from usdt.c:3: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from usdt.c:4: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from usdt.c:5: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ 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:543:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 543 | for (i = 0, seg = segs; i < seg_cnt; i++, seg++) { | ^ usdt.c: In function 'find_vma_seg': usdt.c:559:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 559 | for (i = 0, seg = segs; i < seg_cnt; i++, seg++) { | ^ usdt.c: In function 'bpf_link_usdt_detach': usdt.c:819:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 819 | for (i = 0; i < usdt_link->uprobe_cnt; i++) { | ^ usdt.c: In function 'usdt_manager_attach_usdt': usdt.c:1014:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 1014 | for (i = 0; i < target_cnt; i++) { | ^ AR /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/libbpf.a INSTALL bpf.h libbpf.h btf.h libbpf_common.h libbpf_legacy.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 make[2]: Leaving directory '/home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/libbpf/src' MKDIR /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf INSTALL /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/hashmap.h INSTALL /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/nlattr.h INSTALL /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/relo_core.h INSTALL /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf_internal.h CC btf.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from btf.c:4: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from btf.c:8: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from btf.c:4: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from btf.c:8: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from btf.c:4: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from btf.c:8: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from btf.c:4: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from btf.c:8: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from btf.c:4: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from btf.c:8: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from btf.c:4: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from btf.c:8: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from main.h:11, from btf.c:21: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC btf_dumper.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from btf_dumper.c:4: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from btf_dumper.c:5: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from btf_dumper.c:4: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from btf_dumper.c:5: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from btf_dumper.c:4: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from btf_dumper.c:5: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from btf_dumper.c:4: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from btf_dumper.c:5: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from btf_dumper.c:4: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from btf_dumper.c:5: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from btf_dumper.c:4: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from btf_dumper.c:5: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from main.h:11, from btf_dumper.c:16: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC cfg.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from cfg.c:5: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/types.h:8, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/list.h:6, from cfg.c:4: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from main.h:10, from cfg.c:9: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/types.h:8, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/list.h:6, from cfg.c:4: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from main.h:10, from cfg.c:9: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/types.h:8, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/list.h:6, from cfg.c:4: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from main.h:10, from cfg.c:9: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/types.h:8, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/list.h:6, from cfg.c:4: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from main.h:10, from cfg.c:9: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/types.h:8, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/list.h:6, from cfg.c:4: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from main.h:10, from cfg.c:9: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/types.h:8, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/list.h:6, from cfg.c:4: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from main.h:10, from cfg.c:9: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ CC cgroup.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from cgroup.c:6: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from cgroup.c:10: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from cgroup.c:6: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from cgroup.c:10: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from cgroup.c:6: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from cgroup.c:10: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from cgroup.c:6: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from cgroup.c:10: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from cgroup.c:6: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from cgroup.c:10: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from cgroup.c:6: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from cgroup.c:10: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from cgroup.c:11: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC common.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from common.c:7: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from common.c:14: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from common.c:7: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from common.c:14: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from common.c:7: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from common.c:14: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from common.c:7: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from common.c:14: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from common.c:7: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from common.c:14: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from common.c:7: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from common.c:14: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from common.c:15: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC feature.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from feature.c:4: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from feature.c:20: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from feature.c:4: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from feature.c:20: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from feature.c:4: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from feature.c:20: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from feature.c:4: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from feature.c:20: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from feature.c:4: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from feature.c:20: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from feature.c:4: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from feature.c:20: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from main.h:11, from feature.c:23: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC gen.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from gen.c:7: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from gen.c:12: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from gen.c:7: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from gen.c:12: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from gen.c:7: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from gen.c:12: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from gen.c:7: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from gen.c:12: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from gen.c:7: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from gen.c:12: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from gen.c:7: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from gen.c:12: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf_internal.h:12, from gen.c:17: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC iter.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from iter.c:7: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from iter.c:10: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from iter.c:7: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from iter.c:10: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from iter.c:7: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from iter.c:10: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from iter.c:7: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from iter.c:10: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from iter.c:7: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from iter.c:10: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from iter.c:7: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from iter.c:10: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from main.h:11, from iter.c:12: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC jit_disasm.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from jit_disasm.c:17: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from jit_disasm.c:17: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from jit_disasm.c:17: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from jit_disasm.c:17: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from jit_disasm.c:17: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from jit_disasm.c:17: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from jit_disasm.c:17: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from jit_disasm.c:17: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from jit_disasm.c:17: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from jit_disasm.c:17: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from jit_disasm.c:17: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from jit_disasm.c:17: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from jit_disasm.c:20: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC json_writer.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from json_writer.c:11: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from json_writer.c:11: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from json_writer.c:11: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from json_writer.c:11: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from json_writer.c:11: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from json_writer.c:11: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from json_writer.c:11: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from json_writer.c:11: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from json_writer.c:11: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from json_writer.c:11: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from json_writer.c:11: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from json_writer.c:11: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ CC link.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from link.c:4: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from link.c:7: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from link.c:4: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from link.c:7: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from link.c:4: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from link.c:7: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from link.c:4: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from link.c:7: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from link.c:4: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from link.c:7: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from link.c:4: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from link.c:7: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from main.h:11, from link.c:14: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC main.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from main.c:4: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from main.c:8: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from main.c:4: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from main.c:8: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from main.c:4: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from main.c:8: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from main.c:4: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from main.c:8: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from main.c:4: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from main.c:8: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from main.c:4: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from main.c:8: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from main.c:9: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC map.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from map.c:4: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from map.c:10: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from map.c:4: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from map.c:10: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from map.c:4: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from map.c:10: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from map.c:4: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from map.c:10: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from map.c:4: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from map.c:10: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from map.c:4: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from map.c:10: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from map.c:11: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC map_perf_ring.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from map_perf_ring.c:7: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from map_perf_ring.c:9: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from map_perf_ring.c:7: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from map_perf_ring.c:9: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from map_perf_ring.c:7: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from map_perf_ring.c:9: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from map_perf_ring.c:7: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from map_perf_ring.c:9: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from map_perf_ring.c:7: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from map_perf_ring.c:9: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from map_perf_ring.c:7: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from map_perf_ring.c:9: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from map_perf_ring.c:14: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC net.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from net.c:9: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from net.c:7: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from net.c:14: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from net.c:7: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from net.c:14: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from net.c:7: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from net.c:14: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from net.c:7: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from net.c:14: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from net.c:7: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from net.c:14: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from net.c:7: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from net.c:14: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ CC netlink_dumper.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from netlink_dumper.c:4: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from netlink_dumper.c:4: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from netlink_dumper.c:6: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from netlink_dumper.c:4: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from netlink_dumper.c:6: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from netlink_dumper.c:4: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from netlink_dumper.c:6: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from netlink_dumper.c:4: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from netlink_dumper.c:6: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from netlink_dumper.c:4: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from netlink_dumper.c:6: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from netlink_dumper.c:4: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/libbpf/include/bpf/libbpf.h:14, from netlink_dumper.c:6: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ CC perf.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from perf.c:11: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from perf.c:8: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from main.h:10, from perf.c:20: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from perf.c:8: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from main.h:10, from perf.c:20: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from perf.c:8: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from main.h:10, from perf.c:20: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from perf.c:8: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from main.h:10, from perf.c:20: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from perf.c:8: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from main.h:10, from perf.c:20: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/ctype.h:25, from perf.c:8: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from main.h:10, from perf.c:20: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ CC pids.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from pids.c:3: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from pids.c:6: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from pids.c:3: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from pids.c:6: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from pids.c:3: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from pids.c:6: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from pids.c:3: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from pids.c:6: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from pids.c:3: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from pids.c:6: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from pids.c:3: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from pids.c:6: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from pids.c:7: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC prog.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from prog.c:7: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from prog.c:11: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from prog.c:7: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from prog.c:11: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from prog.c:7: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from prog.c:11: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from prog.c:7: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from prog.c:11: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from prog.c:7: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from prog.c:11: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from prog.c:7: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from prog.c:11: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from prog.c:12: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC struct_ops.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from struct_ops.c:4: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from struct_ops.c:5: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from struct_ops.c:4: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from struct_ops.c:5: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from struct_ops.c:4: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from struct_ops.c:5: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from struct_ops.c:4: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from struct_ops.c:5: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from struct_ops.c:4: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from struct_ops.c:5: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from struct_ops.c:4: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from struct_ops.c:5: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from main.h:11, from struct_ops.c:15: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC tracelog.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from tracelog.c:5: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from tracelog.c:8: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from tracelog.c:5: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from tracelog.c:8: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from tracelog.c:5: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from tracelog.c:8: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from tracelog.c:5: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from tracelog.c:8: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from tracelog.c:5: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from tracelog.c:8: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/errno.h:25, from tracelog.c:5: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from tracelog.c:8: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from main.h:11, from tracelog.c:15: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC xlated_dumper.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xlated_dumper.c:8: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from xlated_dumper.c:8: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xlated_dumper.c:8: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from xlated_dumper.c:8: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xlated_dumper.c:8: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from xlated_dumper.c:8: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xlated_dumper.c:8: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from xlated_dumper.c:8: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xlated_dumper.c:8: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from xlated_dumper.c:8: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from xlated_dumper.c:8: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from xlated_dumper.c:8: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ In file included from xlated_dumper.c:9: /usr/include/stdlib.h:569:14: warning: redundant redeclaration of 'reallocarray' [-Wredundant-decls] 569 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ /usr/include/stdlib.h:563:14: note: previous declaration of 'reallocarray' with type 'void *(void *, size_t, size_t)' {aka 'void *(void *, long unsigned int, long unsigned int)'} 563 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) | ^~~~~~~~~~~~ CC disasm.o aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/types.h:8, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/uapi/linux/bpf.h:11, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.c:6: /usr/include/stdio.h:434:24: warning: redundant redeclaration of 'fscanf' [-Wredundant-decls] 434 | extern int __REDIRECT (fscanf, (FILE *__restrict __stream, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.h:13, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.c:8: /usr/include/stdio.h:415:12: note: previous declaration of 'fscanf' with type 'int(FILE * restrict, const char * restrict, ...)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, ...)'} 415 | extern int fscanf (FILE *__restrict __stream, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/types.h:8, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/uapi/linux/bpf.h:11, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.c:6: /usr/include/stdio.h:437:24: warning: redundant redeclaration of 'scanf' [-Wredundant-decls] 437 | extern int __REDIRECT (scanf, (const char *__restrict __format, ...), | ^~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.h:13, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.c:8: /usr/include/stdio.h:421:12: note: previous declaration of 'scanf' with type 'int(const char *, ...)' 421 | extern int scanf (const char *__restrict __format, ...) __wur; | ^~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/types.h:8, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/uapi/linux/bpf.h:11, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.c:6: /usr/include/stdio.h:439:28: warning: redundant redeclaration of 'sscanf' [-Wredundant-decls] 439 | extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, | ^~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.h:13, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.c:8: /usr/include/stdio.h:423:12: note: previous declaration of 'sscanf' with type 'int(const char *, const char *, ...)' 423 | extern int sscanf (const char *__restrict __s, | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/types.h:8, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/uapi/linux/bpf.h:11, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.c:6: /usr/include/stdio.h:479:24: warning: redundant redeclaration of 'vfscanf' [-Wredundant-decls] 479 | extern int __REDIRECT (vfscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.h:13, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.c:8: /usr/include/stdio.h:459:12: note: previous declaration of 'vfscanf' with type 'int(FILE * restrict, const char * restrict, __gnuc_va_list)' {aka 'int(struct _IO_FILE * restrict, const char * restrict, __gnuc_va_list)'} 459 | extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, | ^~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/types.h:8, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/uapi/linux/bpf.h:11, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.c:6: /usr/include/stdio.h:484:24: warning: redundant redeclaration of 'vscanf' [-Wredundant-decls] 484 | extern int __REDIRECT (vscanf, (const char *__restrict __format, | ^~~~~~ /usr/include/sys/cdefs.h:247:41: note: in definition of macro '__REDIRECT' 247 | # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.h:13, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.c:8: /usr/include/stdio.h:467:12: note: previous declaration of 'vscanf' with type 'int(const char *, __gnuc_va_list)' 467 | extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/linux/types.h:8, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/include/uapi/linux/bpf.h:11, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.c:6: /usr/include/stdio.h:487:28: warning: redundant redeclaration of 'vsscanf' [-Wredundant-decls] 487 | extern int __REDIRECT_NTH (vsscanf, | ^~~~~~~ /usr/include/sys/cdefs.h:255:6: note: in definition of macro '__REDIRECT_NTH' 255 | name proto __asm__ (__ASMNAME (#alias)) __THROW | ^~~~ In file included from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.h:13, from /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src/kernel/bpf/disasm.c:8: /usr/include/stdio.h:471:12: note: previous declaration of 'vsscanf' with type 'int(const char *, const char *, __gnuc_va_list)' 471 | extern int vsscanf (const char *__restrict __s, | ^~~~~~~ LINK bpftool aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-I/usr/include' aarch64_be-buildroot-linux-gnu-gcc: WARNING: unsafe header/library path used in cross-compilation: '-L/usr/lib' /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/../lib/gcc/aarch64_be-buildroot-linux-gnu/11.3.0/../../../../aarch64_be-buildroot-linux-gnu/bin/ld: warning: library search path "/usr/lib" is unsafe for cross-compilation /home/autobuild/autobuild/instance-11/output-1/per-package/bpftool/host/bin/../lib/gcc/aarch64_be-buildroot-linux-gnu/11.3.0/../../../../aarch64_be-buildroot-linux-gnu/bin/ld: /usr/lib/libLLVM-14.so: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status make[1]: *** [Makefile:233: bpftool] Error 1 make[1]: Leaving directory '/home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/src' make: *** [package/pkg-generic.mk:293: /home/autobuild/autobuild/instance-11/output-1/build/bpftool-v7.1.0/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-11/buildroot'