Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/bpftool.spec'], chrootPath='/var/lib/mock/f45-build-6622-349/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91mhi8mn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91mhi8mn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3aa9ea8195724c81a5b84132268ab7df', '-D', '/var/lib/mock/f45-build-6622-349/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91mhi8mn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/bpftool.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 error: can't create keyring lock on /usr/lib/sysimage/rpm/.keyring.lock (No such file or directory) setting SOURCE_DATE_EPOCH=1784073600 Wrote: /builddir/build/SRPMS/bpftool-7.7.0-3.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/bpftool.spec'], chrootPath='/var/lib/mock/f45-build-6622-349/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91mhi8mn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91mhi8mn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'bf6a7c99cbfa4201a118c731606ceb38', '-D', '/var/lib/mock/f45-build-6622-349/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.91mhi8mn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/bpftool.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 error: can't create keyring lock on /usr/lib/sysimage/rpm/.keyring.lock (No such file or directory) setting SOURCE_DATE_EPOCH=1784073600 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.HY0ncX Creating(rpmbuild.env): /builddir/build/BUILD/bpftool-7.7.0-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/bpftool-7.7.0-build" RPM_OPT_FLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " RPM_ARCH="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/bpftool-7.7.0-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="bpftool" RPM_PACKAGE_VERSION="7.7.0" RPM_PACKAGE_RELEASE="3.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/bpftool-7.7.0-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YqEb0U + umask 022 + cd /builddir/build/BUILD/bpftool-7.7.0-build + cd /builddir/build/BUILD/bpftool-7.7.0-build + rm -rf bpftool-libbpf-v7.7.0-sources + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/bpftool-libbpf-v7.7.0-sources.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bpftool-libbpf-v7.7.0-sources + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GL0MPo + umask 022 + cd /builddir/build/BUILD/bpftool-7.7.0-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bpftool-libbpf-v7.7.0-sources + /usr/bin/make -O -j8 V=1 VERBOSE=1 -C src/ 'EXTRA_CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' 'EXTRA_LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' VMLINUX_H=/usr/src/kernels/7.0.10-201.fc44.riscv64/vmlinux.h make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' ... libbfd: [ OFF ] ... clang-bpf-co-re: [ on ] ... llvm: [ on ] ... libcap: [ on ] make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' Makefile.feature:35: Probing: feature-clang-bpf-co-re Makefile.feature:36: printf '%s\n' 'struct s { int i; } __attribute__((preserve_access_index)); struct s foo = {};' | clang -g -target bpf -S -o - -x c - | grep -q BTF_KIND_VAR && (echo 1 && >&2 echo result: 1) || (echo 0 && >&2 echo result: 0) result: 1 Makefile.feature:58: Probing: feature-libelf-zstd Makefile.feature:59: printf '%b\n' '#include \n' 'int main(void) {' ' elf_compress(0, ELFCOMPRESS_ZSTD, 0);' ' return 0;' '}' | gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-command-line-argument -Wall -Werror -x c - -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lelf -lz -lzstd -o /dev/null >/dev/null && (echo 1 && >&2 echo result: 1) || (echo 0 && >&2 echo result: 0) result: 1 Makefile.feature:77: Probing: feature-libbfd Makefile.feature:78: printf '%b\n' '#include \n' 'int main(void) {' ' bfd_demangle(0, 0, 0);' ' return 0;' '}' | gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-command-line-argument -Wall -Werror -x c -DPACKAGE='"bpftool"' - -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lbfd -ldl -o /dev/null >/dev/null && (echo 1 && >&2 echo result: 1) || (echo 0 && >&2 echo result: 0) /usr/bin/ld.bfd: /usr/lib64/libbfd.a(compress.o): in function `decompress_contents': /usr/src/debug/binutils-2.47-1.rv64.fc45.riscv64/build-riscv64-redhat-linux/bfd/../../bfd/compress.c:533:(.text+0x1a2): undefined reference to `ZSTD_decompress' /usr/bin/ld.bfd: relocation R_RISCV_CALL_PLT against `ZSTD_decompress' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status result: 0 Makefile.feature:81: Probing: feature-libbfd-liberty Makefile.feature:82: printf '%b\n' '#include \n' 'int main(void) {' ' bfd_demangle(0, 0, 0);' ' return 0;' '}' | gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-command-line-argument -Wall -Werror -x c -DPACKAGE='"bpftool"' - -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lbfd -ldl -liberty -o /dev/null >/dev/null && (echo 1 && >&2 echo result: 1) || (echo 0 && >&2 echo result: 0) /usr/bin/ld.bfd: /usr/lib64/libbfd.a(compress.o): in function `decompress_contents': /usr/src/debug/binutils-2.47-1.rv64.fc45.riscv64/build-riscv64-redhat-linux/bfd/../../bfd/compress.c:533:(.text+0x1a2): undefined reference to `ZSTD_decompress' /usr/bin/ld.bfd: relocation R_RISCV_CALL_PLT against `ZSTD_decompress' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status result: 0 Makefile.feature:85: Probing: feature-libbfd-liberty-z Makefile.feature:86: printf '%b\n' '#include \n' 'int main(void) {' ' bfd_demangle(0, 0, 0);' ' return 0;' '}' | gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-command-line-argument -Wall -Werror -x c -DPACKAGE='"bpftool"' - -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lbfd -ldl -liberty -lz -o /dev/null >/dev/null && (echo 1 && >&2 echo result: 1) || (echo 0 && >&2 echo result: 0) /usr/bin/ld.bfd: /usr/lib64/libbfd.a(compress.o): in function `decompress_contents': /usr/src/debug/binutils-2.47-1.rv64.fc45.riscv64/build-riscv64-redhat-linux/bfd/../../bfd/compress.c:533:(.text+0x1a2): undefined reference to `ZSTD_decompress' /usr/bin/ld.bfd: relocation R_RISCV_CALL_PLT against `ZSTD_decompress' which may bind externally can not be used when making a shared object; recompile with -fPIC collect2: error: ld returned 1 exit status result: 0 Makefile.feature:110: Probing: feature-disassembler-four-args Makefile.feature:111: printf '%b\n' '#include \n' 'int main(void) {' ' disassembler((enum bfd_architecture)0, 0, 0, NULL);' ' return 0;' '}' | gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-command-line-argument -Wall -Werror -x c -DPACKAGE='"bpftool"' - -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lbfd -lopcodes -S -o /dev/null >/dev/null && (echo 1 && >&2 echo result: 1) || (echo 0 && >&2 echo result: 0) result: 1 Makefile.feature:124: Probing: feature-disassembler-styled Makefile.feature:125: printf '%b\n' '#include \n' 'int main(void) {' ' init_disassemble_info(NULL, 0, NULL, NULL);' ' return 0;' '}' | gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-command-line-argument -Wall -Werror -x c -DPACKAGE='"bpftool"' - -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lbfd -lopcodes -S -o /dev/null >/dev/null && (echo 1 && >&2 echo result: 1) || (echo 0 && >&2 echo result: 0) result: 1 Makefile.feature:144: Probing: feature-libcap Makefile.feature:145: printf '%b\n' '#include \n' 'int main(void) {' ' cap_free(0);' ' return 0;' '}' | gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-command-line-argument -Wall -Werror -x c - -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lcap -S -o /dev/null >/dev/null && (echo 1 && >&2 echo result: 1) || (echo 0 && >&2 echo result: 0) result: 1 Makefile.feature:178: Probing: feature-llvm Makefile.feature:179: printf '%b\n' '#include \n' '#include \n' 'int main(void) {' ' char *triple = LLVMNormalizeTargetTriple("");' ' LLVMDisposeMessage(triple);' ' return 0;' '}' | gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wno-unused-command-line-argument -I/usr/lib64/llvm23/include -D_GNU_SOURCE -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/lib64/llvm23/lib64 -Wall -Werror -x c - -lLLVM-23 -o /dev/null >/dev/null && (echo 1 && >&2 echo result: 1) || (echo 0 && >&2 echo result: 0) result: 1 make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' mkdir -p /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/ make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' mkdir -p /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include/bpf make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' mkdir -p /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/ make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' mkdir -p /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/include/bpf make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' mkdir -p /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/ make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' /usr/bin/make -C /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src OBJDIR=/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf \ DESTDIR="" PREFIX=/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/libbpf.a install_headers make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' cp "/usr/src/kernels/7.0.10-201.fc44.riscv64/vmlinux.h" vmlinux.h make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' install -m 644 -t /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include/bpf /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src/hashmap.h make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' install -m 644 -t /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include/bpf /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src/nlattr.h make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' /usr/bin/make -C /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src OBJDIR=/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf \ DESTDIR="" PREFIX=/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf \ ARCH= CROSS_COMPILE= CC="gcc" LD="ld" AR="ar" /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/libbpf.a install_headers make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' install -m 644 -t /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include/bpf /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src/relo_core.h make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' install -m 644 -t /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include/bpf /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src/libbpf_internal.h make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' install -m 644 -t /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/include/bpf /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src/hashmap.h make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' install -m 644 -t /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/include/bpf /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src/relo_core.h make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' install -m 644 -t /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/include/bpf /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src/libbpf_internal.h make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' mkdir -p /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' mkdir -p /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' if [ ! -d '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include/bpf' ]; then install -d -m 755 '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include/bpf'; fi; install -m 644 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 '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include/bpf' make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' if [ ! -d '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/include/bpf' ]; then install -d -m 755 '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/include/bpf'; fi; install -m 644 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 '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/include/bpf' make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c libbpf_utils.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/libbpf_utils.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' libbpf_utils.c: In function ‘libbpf_strerror’: libbpf_utils.c:72:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 72 | if (ret >= size) | ^~ libbpf_utils.c:79:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 79 | if (ret >= size) | ^~ libbpf_utils.c: In function ‘sha256_blocks’: libbpf_utils.c:211:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 211 | for (; i < ARRAY_SIZE(w); i++) | ^ libbpf_utils.c:214:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 214 | for (i = 0; i < ARRAY_SIZE(w); i += 8) { | ^ libbpf_utils.c: In function ‘libbpf_sha256’: libbpf_utils.c:254:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 254 | for (i = 0; i < ARRAY_SIZE(state); i++) | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c libbpf_utils.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/libbpf_utils.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' libbpf_utils.c: In function ‘libbpf_strerror’: libbpf_utils.c:72:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 72 | if (ret >= size) | ^~ libbpf_utils.c:79:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 79 | if (ret >= size) | ^~ libbpf_utils.c: In function ‘sha256_blocks’: libbpf_utils.c:211:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 211 | for (; i < ARRAY_SIZE(w); i++) | ^ libbpf_utils.c:214:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 214 | for (i = 0; i < ARRAY_SIZE(w); i += 8) { | ^ libbpf_utils.c: In function ‘libbpf_sha256’: libbpf_utils.c:254:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 254 | for (i = 0; i < ARRAY_SIZE(state); i++) | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c nlattr.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/nlattr.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' 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) | ^ In file included from nlattr.c:14: nlattr.c: In function ‘libbpf_nla_parse’: libbpf_internal.h:170:29: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ nlattr.c:125:25: note: in expansion of macro ‘pr_warn’ 125 | pr_warn("Attribute of type %#x found multiple times in message, " | ^~~~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c netlink.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/netlink.o netlink.c: In function ‘libbpf_netlink_recv’: netlink.c:159:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 159 | if (len > iov.iov_len) { | ^ netlink.c:180:43: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 180 | if (nh->nlmsg_seq != seq) { | ^~ netlink.c: In function ‘parse_xdp_features’: netlink.c:423:21: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 423 | if (ifindex != md->ifindex) | ^~ netlink.c: In function ‘tc_add_fd_and_name’: netlink.c:729:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 729 | if (len >= sizeof(name)) | ^~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c netlink.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/netlink.o netlink.c: In function ‘libbpf_netlink_recv’: netlink.c:159:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 159 | if (len > iov.iov_len) { | ^ netlink.c:180:43: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 180 | if (nh->nlmsg_seq != seq) { | ^~ netlink.c: In function ‘parse_xdp_features’: netlink.c:423:21: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 423 | if (ifindex != md->ifindex) | ^~ netlink.c: In function ‘tc_add_fd_and_name’: netlink.c:729:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 729 | if (len >= sizeof(name)) | ^~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c bpf.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/bpf.o bpf.c: In function ‘alloc_zero_tailing_info’: bpf.c:227:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 227 | for (i = 0; i < cnt; i++) { | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c nlattr.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/nlattr.o 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) | ^ In file included from nlattr.c:14: nlattr.c: In function ‘libbpf_nla_parse’: libbpf_internal.h:170:29: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ nlattr.c:125:25: note: in expansion of macro ‘pr_warn’ 125 | pr_warn("Attribute of type %#x found multiple times in message, " | ^~~~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c bpf_prog_linfo.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/bpf_prog_linfo.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c libbpf_probes.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/libbpf_probes.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c libbpf_probes.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/libbpf_probes.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c bpf_prog_linfo.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/bpf_prog_linfo.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c bpf.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/bpf.o bpf.c: In function ‘alloc_zero_tailing_info’: bpf.c:227:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 227 | for (i = 0; i < cnt; i++) { | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c hashmap.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/hashmap.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c strset.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/strset.o strset.c: In function ‘strset__new’: strset.c:66:35: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 66 | for (off = 0; off < set->strs_data_len; off += strlen(set->strs_data + off) + 1) { | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c ringbuf.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/ringbuf.o ringbuf.c: In function ‘ringbuf_process_ring’: ringbuf.c:272:33: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 272 | if (cnt >= n) | ^~ ringbuf.c: In function ‘ring_buffer__ring’: ringbuf.c:367:17: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 367 | if (idx >= rb->ring_cnt) | ^~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c hashmap.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/hashmap.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c btf_dump.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/btf_dump.o 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:898:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 898 | for (i = 0; i < ARRAY_SIZE(pads); i++) { | ^ btf_dump.c: In function ‘btf_dump_emit_missing_aliases’: btf_dump.c:1050:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 1050 | for (i = 0; i < ARRAY_SIZE(missing_base_types); i++) { | ^ In file included from btf_dump.c:23: btf_dump.c: In function ‘btf_dump_get_bitfield_value’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf_dump.c:1779:17: note: in expansion of macro ‘pr_warn’ 1779 | pr_warn("unexpected bitfield size %d\n", t->size); | ^~~~~~~ btf_dump.c: In function ‘btf_dump_int_data’: btf_dump.c:1889:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 1889 | if (sz == 0 || sz > sizeof(buf)) { | ^ btf_dump.c: In function ‘btf_dump_get_enum_value’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf_dump.c:2254:17: note: in expansion of macro ‘pr_warn’ 2254 | pr_warn("unexpected size %d for enum, id:[%u]\n", t->size, id); | ^~~~~~~ btf_dump.c: In function ‘btf_dump_enum_data’: btf_dump.c:2288:35: warning: comparison of integer expressions of different signedness: ‘__s64’ {aka ‘long long int’} and ‘__u64’ {aka ‘long long unsigned int’} [-Wsign-compare] 2288 | if (value != btf_enum64_value(e)) | ^~ btf_dump.c: In function ‘btf_dump_type_data_check_zero’: btf_dump.c:2436:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 2436 | for (i = 0; i < array->nelems; i++) { | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c ringbuf.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/ringbuf.o ringbuf.c: In function ‘ringbuf_process_ring’: ringbuf.c:272:33: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 272 | if (cnt >= n) | ^~ ringbuf.c: In function ‘ring_buffer__ring’: ringbuf.c:367:17: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 367 | if (idx >= rb->ring_cnt) | ^~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c btf_dump.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/btf_dump.o 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:898:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 898 | for (i = 0; i < ARRAY_SIZE(pads); i++) { | ^ btf_dump.c: In function ‘btf_dump_emit_missing_aliases’: btf_dump.c:1050:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 1050 | for (i = 0; i < ARRAY_SIZE(missing_base_types); i++) { | ^ In file included from btf_dump.c:23: btf_dump.c: In function ‘btf_dump_get_bitfield_value’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf_dump.c:1779:17: note: in expansion of macro ‘pr_warn’ 1779 | pr_warn("unexpected bitfield size %d\n", t->size); | ^~~~~~~ btf_dump.c: In function ‘btf_dump_int_data’: btf_dump.c:1889:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 1889 | if (sz == 0 || sz > sizeof(buf)) { | ^ btf_dump.c: In function ‘btf_dump_get_enum_value’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf_dump.c:2254:17: note: in expansion of macro ‘pr_warn’ 2254 | pr_warn("unexpected size %d for enum, id:[%u]\n", t->size, id); | ^~~~~~~ btf_dump.c: In function ‘btf_dump_enum_data’: btf_dump.c:2288:35: warning: comparison of integer expressions of different signedness: ‘__s64’ {aka ‘long long int’} and ‘__u64’ {aka ‘long long unsigned int’} [-Wsign-compare] 2288 | if (value != btf_enum64_value(e)) | ^~ btf_dump.c: In function ‘btf_dump_type_data_check_zero’: btf_dump.c:2436:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 2436 | for (i = 0; i < array->nelems; i++) { | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c btf.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/btf.o In file included from btf.c:23: btf.c: In function ‘btf_parse_type_sec’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf.c:437:25: note: in expansion of macro ‘pr_warn’ 437 | pr_warn("BTF type [%d] is malformed\n", btf->start_id + btf->nr_types); | ^~~~~~~ btf.c: In function ‘btf_type_by_id’: btf.c:634:21: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 634 | if (type_id < btf->start_id) | ^ btf.c: In function ‘determine_ptr_size’: btf.c:681:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 681 | for (j = 0; j < ARRAY_SIZE(long_aliases); j++) { | ^ btf.c: In function ‘btf_ptr_sz’: btf.c:694:51: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘long unsigned int’ due to unsignedness of other operand [-Wsign-compare] 694 | return btf->ptr_sz < 0 ? sizeof(void *) : btf->ptr_sz; | ^~~~~~~~~~~ btf.c: In function ‘btf_find_by_name_kind’: btf.c:973:27: warning: comparison of integer expressions of different signedness: ‘__s32’ {aka ‘int’} and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 973 | for (; id < nr_types; id++) { | ^ btf.c:982:40: warning: comparison of integer expressions of different signedness: ‘__s32’ {aka ‘int’} and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 982 | for (id = start_id; id < nr_types; id++) { | ^ btf.c: In function ‘btf_find_elf_sections’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘Elf64_Word’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf.c:1236:25: note: in expansion of macro ‘pr_warn’ 1236 | pr_warn("unexpected section type (%d) of section(%d, %s) from %s\n", | ^~~~~~~ btf.c: In function ‘btf_parse_raw’: btf.c:1416:35: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 1416 | if (fread(data, 1, sz, f) < sz) { | ^ btf.c: In function ‘btf_get_raw_data’: btf.c:1629:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 1629 | for (i = 0; i < btf->nr_types; i++) { | ^ btf.c: In function ‘btf__str_by_offset’: btf.c:1676:20: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1676 | if (offset < btf->start_str_off) | ^ btf.c: In function ‘btf__add_btf’: btf.c:2070:38: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2070 | if (*str_off < src_btf->start_str_off) | ^ btf.c: In function ‘validate_type_id’: btf.c:2227:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2227 | if (id < 0 || id > BTF_MAX_NR_TYPES) | ^ btf.c: In function ‘btf_dedup_clear_hypot_map’: btf.c:3766:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 3766 | for (i = 0; i < d->hypot_cnt; i++) | ^ btf.c: In function ‘btf_for_each_str_off’: btf.c:3869:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 3869 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function ‘strs_dedup_remap_str_off’: btf.c:3903:37: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 3903 | if (str_off == 0 || str_off < d->btf->start_str_off) | ^ btf.c: In function ‘btf_hash_struct’: btf.c:4130:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 4130 | for (i = 0; i < vlen; i++) { | ^ btf.c: In function ‘btf_dedup_prim_types’: btf.c:4449:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 4449 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function ‘btf_dedup_identical_types’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ btf.c:4579:41: note: in expansion of macro ‘pr_debug’ 4579 | pr_debug("%s '%s' size=%d vlen=%d id1[%u] id2[%u] shallow-equal but not identical for field#%d '%s'\n", | ^~~~~~~~ btf.c: In function ‘btf_dedup_is_equiv’: btf.c:4770:63: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 4770 | if (fwd_kind == real_kind && canon_id < d->btf->start_id) | ^ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ btf.c:4829:41: note: in expansion of macro ‘pr_debug’ 4829 | pr_debug("%s '%s' size=%d vlen=%d cand_id[%u] canon_id[%u] shallow-equal but not equiv for field#%d '%s': %d\n", | ^~~~~~~~ btf.c: In function ‘btf_dedup_merge_hypot_map’: btf.c:4905:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 4905 | for (i = 0; i < d->hypot_cnt; i++) { | ^ btf.c: In function ‘btf_dedup_struct_types’: btf.c:5064:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {akmake[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' a ‘unsigned int’} [-Wsign-compare] 5064 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function ‘btf_dedup_ref_types’: btf.c:5225:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 5225 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function ‘btf_dedup_resolve_fwds’: btf.c:5353:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 5353 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function ‘btf_dedup_compact_types’: btf.c:5388:46: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 5388 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) | ^ btf.c:5393:46: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 5393 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) { | ^ btf.c:5394:32: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 5394 | if (d->map[id] != id) | ^~ btf.c: In function ‘btf_dedup_remap_types’: btf.c:5457:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 5457 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function ‘btf__load_vmlinux_btf’: btf.c:5531:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 5531 | for (i = 0; i < ARRAY_SIZE(locations); i++) { | ^ btf.c: In function ‘btf_ext_visit_type_ids’: libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ btf.c:5570:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 5570 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ btf.c:5581:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 5581 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ btf.c: In function ‘btf_ext_visit_str_offs’: libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ btf.c:5612:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 5612 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ btf.c:5630:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 5630 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ btf.c: In function ‘btf_add_distilled_types’: btf.c:5724:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5724 | for (i = 1; i < dist->split_start_id; i++) { | ^ libbpf_internal.h:170:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf.c:5791:25: note: in expansion of macro ‘pr_warn’ 5791 | pr_warn("unexpected kind when adding base type '%s'[%u] of kind [%u] to distilled base BTF.\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf.c:5791:25: note: in expansion of macro ‘pr_warn’ 5791 | pr_warn("unexpected kind when adding base type '%s'[%u] of kind [%u] to distilled base BTF.\n", | ^~~~~~~ btf.c: In function ‘btf__distill_base’: btf.c:5883:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5883 | for (i = src_btf->start_id; i < n; i++) { | ^ btf.c:5907:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5907 | for (i = src_btf->start_id; i < n; i++) { | ^ btf.c:5925:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5925 | for (i = 1; i < n; i++) { | ^ btf.c: In function ‘btf_permute_remap_type_id’: btf.c:5978:20: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 5978 | if (new_id < p->btf->start_id) | ^ btf.c: In function ‘btf__permute’: btf.c:6031:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 6031 | for (i = start_offs; i < id_map_cnt; i++) { | ^ btf.c:6033:24: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 6033 | if (id < btf->start_id || id >= btf__type_cnt(btf)) { | ^ btf.c:6050:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 6050 | for (i = start_offs; i < id_map_cnt; i++) { | ^ btf.c:6082:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 6082 | for (nt = new_types, i = 0; i < id_map_cnt - start_offs; i++) { | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c gen_loader.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/gen_loader.o gen_loader.c: In function ‘bpf_gen__init’: gen_loader.c:145:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 145 | for (i = 0; i < nr_progs_sz; i += 4) { | ^ gen_loader.c: In function ‘bpf_gen__finish’: gen_loader.c:379:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 379 | if (nr_progs < gen->nr_progs || nr_maps != gen->nr_maps) { | ^ gen_loader.c:379:49: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 379 | if (nr_progs < gen->nr_progs || nr_maps != gen->nr_maps) { | ^~ In file included from gen_loader.c:13: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:380:17: note: in expansion of macro ‘pr_warn’ 380 | pr_warn("nr_progs %d/%d nr_maps %d/%d mismatch\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:380:17: note: in expansion of macro ‘pr_warn’ 380 | pr_warn("nr_progs %d/%d nr_maps %d/%d mismatch\n", | ^~~~~~~ gen_loader.c:386:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 386 | for (i = 0; i < gen->nr_progs; i++) | ^ gen_loader.c:393:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 393 | for (i = 0; i < gen->nr_maps; i++) | ^ gen_loader.c: In function ‘compute_sha_update_offsets’: gen_loader.c:463:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 463 | for (i = 0; i < SHA256_DWORD_SIZE; i++) { | ^ gen_loader.c: In function ‘bpf_gen__load_btf’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:484:9: note: in expansion of macro ‘pr_debug’ 484 | pr_debug("gen: load_btf: off %d size %d, attr: off %d size %d\n", | ^~~~~~~~ gen_loader.c: In function ‘bpf_gen__map_create’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:530:9: note: in expansion of macro ‘pr_debug’ 530 | pr_debug("gen: map_create: %s idx %d type %d value_type_id %d, attr: off %d size %d\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:530:9: note: in expansion of macro ‘pr_debug’ 530 | pr_debug("gen: map_create: %s idx %d type %d value_type_id %d, attr: off %d size %d\n", | ^~~~~~~~ gen_loader.c:569:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 569 | } else if (map_idx != gen->nr_maps) { | ^~ gen_loader.c: In function ‘emit_signature_match’: gen_loader.c:588:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 588 | for (i = 0; i < SHA256_DWORD_SIZE; i++) { | ^ gen_loader.c: In function ‘bpf_gen__record_attach_target’: gen_loader.c:616:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 616 | if (ret >= sizeof(gen->attach_target)) | ^~ gen_loader.c: In function ‘get_ksym_desc’: gen_loader.c:669:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 669 | for (i = 0; i < gen->nr_ksyms; i++) { | ^ gen_loader.c: In function ‘cleanup_relos’: gen_loader.c:987:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 987 | for (i = 0; i < gen->nr_ksyms; i++) { | ^ gen_loader.c: In function ‘info_blob_bswap’: gen_loader.c:1023:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 1023 | for (i = 0; i < load_attr->func_info_cnt; i++) | ^ gen_loader.c:1026:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 1026 | for (i = 0; i < load_attr->line_info_cnt; i++) | ^ gen_loader.c: In function ‘bpf_gen__prog_load’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:1053:9: note: in expansion of macro ‘pr_debug’ 1053 | pr_debug("gen: prog_load: prog_idx %d type %d insn off %d insns_cnt %zd license off %d\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 6 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:1053:9: note: in expansion of macro ‘pr_debug’ 1053 | pr_debug("gen: prog_load: prog_idx %d type %d insn off %d insns_cnt %zd license off %d\n", | ^~~~~~~~ gen_loader.c:1061:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1061 | for (i = 0; i < insn_cnt; i++, insn++) | ^ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:1076:9: note: in expansion of macro ‘pr_debug’ 1076 | pr_debug("gen: prog_load: func_info: off %d cnt %d rec size %d\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:1076:9: note: in expansion of macro ‘pr_debug’ 1076 | pr_debug("gen: prog_load: func_info: off %d cnt %d rec size %d\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:1083:9: note: in expansion of macro ‘pr_debug’ 1083 | pr_debug("gen: prog_load: line_info: off %d cnt %d rec size %d\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:1083:9: note: in expansion of macro ‘pr_debug’ 1083 | pr_debug("gen: prog_load: line_info: off %d cnt %d rec size %d\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 5 has type ‘long unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:1090:9: note: in expansion of macro ‘pr_debug’ 1090 | pr_debug("gen: prog_load: core_relos: off %d cnt %d rec size %zd\n", | ^~~~~~~~ gen_loader.c: In function ‘bpf_gen__map_update_elem’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:1196:9: note: in expansion of macro ‘pr_debug’ 1196 | pr_debug("gen: map_update_elem: idx %d, value: off %d size %d, attr: off %d size %d\n", | ^~~~~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c btf.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/btf.o In file included from btf.c:23: btf.c: In function ‘btf_parse_type_sec’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf.c:437:25: note: in expansion of macro ‘pr_warn’ 437 | pr_warn("BTF type [%d] is malformed\n", btf->start_id + btf->nr_types); | ^~~~~~~ btf.c: In function ‘btf_type_by_id’: btf.c:634:21: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 634 | if (type_id < btf->start_id) | ^ btf.c: In function ‘determine_ptr_size’: btf.c:681:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 681 | for (j = 0; j < ARRAY_SIZE(long_aliases); j++) { | ^ btf.c: In function ‘btf_ptr_sz’: btf.c:694:51: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘long unsigned int’ due to unsignedness of other operand [-Wsign-compare] 694 | return btf->ptr_sz < 0 ? sizeof(void *) : btf->ptr_sz; | ^~~~~~~~~~~ btf.c: In function ‘btf_find_by_name_kind’: btf.c:973:27: warning: comparison of integer expressions of different signedness: ‘__s32’ {aka ‘int’} and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 973 | for (; id < nr_types; id++) { | ^ btf.c:982:40: warning: comparison of integer expressions of different signedness: ‘__s32’ {aka ‘int’} and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 982 | for (id = start_id; id < nr_types; id++) { | ^ btf.c: In function ‘btf_find_elf_sections’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘Elf64_Word’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf.c:1236:25: note: in expansion of macro ‘pr_warn’ 1236 | pr_warn("unexpected section type (%d) of section(%d, %s) from %s\n", | ^~~~~~~ btf.c: In function ‘btf_parse_raw’: btf.c:1416:35: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare] 1416 | if (fread(data, 1, sz, f) < sz) { | ^ btf.c: In function ‘btf_get_raw_data’: btf.c:1629:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 1629 | for (i = 0; i < btf->nr_types; i++) { | ^ btf.c: In function ‘btf__str_by_offset’: btf.c:1676:20: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1676 | if (offset < btf->start_str_off) | ^ btf.c: In function ‘btf__add_btf’: btf.c:2070:38: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2070 | if (*str_off < src_btf->start_str_off) | ^ btf.c: In function ‘validate_type_id’: btf.c:2227:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 2227 | if (id < 0 || id > BTF_MAX_NR_TYPES) | ^ btf.c: In function ‘btf_dedup_clear_hypot_map’: btf.c:3766:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 3766 | for (i = 0; i < d->hypot_cnt; i++) | ^ btf.c: In function ‘btf_for_each_str_off’: btf.c:3869:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 3869 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function ‘strs_dedup_remap_str_off’: btf.c:3903:37: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 3903 | if (str_off == 0 || str_off < d->btf->start_str_off) | ^ btf.c: In function ‘btf_hash_struct’: btf.c:4130:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 4130 | for (i = 0; i < vlen; i++) { | ^ btf.c: In function ‘btf_dedup_prim_types’: btf.c:4449:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 4449 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function ‘btf_dedup_identical_types’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ btf.c:4579:41: note: in expansion of macro ‘pr_debug’ 4579 | pr_debug("%s '%s' size=%d vlen=%d id1[%u] id2[%u] shallow-equal but not identical for field#%d '%s'\n", | ^~~~~~~~ btf.c: In function ‘btf_dedup_is_equiv’: btf.c:4770:63: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 4770 | if (fwd_kind == real_kind && canon_id < d->btf->start_id) | ^ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ btf.c:4829:41: note: in expansion of macro ‘pr_debug’ 4829 | pr_debug("%s '%s' size=%d vlen=%d cand_id[%u] canon_id[%u] shallow-equal but not equiv for field#%d '%s': %d\n", | ^~~~~~~~ btf.c: In function ‘btf_dedup_merge_hypot_map’: btf.c:4905:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 4905 | for (i = 0; i < d->hypot_cnt; i++) { | ^ btf.c: In function ‘btf_dedup_struct_types’: btf.c:5064:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {akmake[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c zip.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/zip.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' a ‘unsigned int’} [-Wsign-compare] 5064 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function ‘btf_dedup_ref_types’: btf.c:5225:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 5225 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function ‘btf_dedup_resolve_fwds’: btf.c:5353:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 5353 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function ‘btf_dedup_compact_types’: btf.c:5388:46: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 5388 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) | ^ btf.c:5393:46: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 5393 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) { | ^ btf.c:5394:32: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 5394 | if (d->map[id] != id) | ^~ btf.c: In function ‘btf_dedup_remap_types’: btf.c:5457:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 5457 | for (i = 0; i < d->btf->nr_types; i++) { | ^ btf.c: In function ‘btf__load_vmlinux_btf’: btf.c:5531:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 5531 | for (i = 0; i < ARRAY_SIZE(locations); i++) { | ^ btf.c: In function ‘btf_ext_visit_type_ids’: libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ btf.c:5570:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 5570 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ btf.c:5581:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 5581 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ btf.c: In function ‘btf_ext_visit_str_offs’: libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ btf.c:5612:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 5612 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ btf.c:5630:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 5630 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ btf.c: In function ‘btf_add_distilled_types’: btf.c:5724:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5724 | for (i = 1; i < dist->split_start_id; i++) { | ^ libbpf_internal.h:170:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf.c:5791:25: note: in expansion of macro ‘pr_warn’ 5791 | pr_warn("unexpected kind when adding base type '%s'[%u] of kind [%u] to distilled base BTF.\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf.c:5791:25: note: in expansion of macro ‘pr_warn’ 5791 | pr_warn("unexpected kind when adding base type '%s'[%u] of kind [%u] to distilled base BTF.\n", | ^~~~~~~ btf.c: In function ‘btf__distill_base’: btf.c:5883:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5883 | for (i = src_btf->start_id; i < n; i++) { | ^ btf.c:5907:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5907 | for (i = src_btf->start_id; i < n; i++) { | ^ btf.c:5925:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 5925 | for (i = 1; i < n; i++) { | ^ btf.c: In function ‘btf_permute_remap_type_id’: btf.c:5978:20: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 5978 | if (new_id < p->btf->start_id) | ^ btf.c: In function ‘btf__permute’: btf.c:6031:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 6031 | for (i = start_offs; i < id_map_cnt; i++) { | ^ btf.c:6033:24: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 6033 | if (id < btf->start_id || id >= btf__type_cnt(btf)) { | ^ btf.c:6050:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 6050 | for (i = start_offs; i < id_map_cnt; i++) { | ^ btf.c:6082:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 6082 | for (nt = new_types, i = 0; i < id_map_cnt - start_offs; i++) { | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c usdt.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/usdt.o In file included from usdt.c:21: usdt.c: In function ‘sanity_check_usdt_elf’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:330:17: note: in expansion of macro ‘pr_warn’ 330 | pr_warn("usdt: unrecognized ELF kind %d for '%s'\n", elf_kind(elf), path); | ^~~~~~~ usdt.c: In function ‘parse_elf_segs’: usdt.c:434:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 434 | for (i = 0; i < n; i++) { | ^ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:440:17: note: in expansion of macro ‘pr_debug’ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:440:17: note: in expansion of macro ‘pr_debug’ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:440:17: note: in expansion of macro ‘pr_debug’ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:440:17: note: in expansion of macro ‘pr_debug’ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:440:17: note: in expansion of macro ‘pr_debug’ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", | ^~~~~~~~ usdt.c: In function ‘find_elf_seg’: usdt.c:568:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 568 | for (i = 0, seg = segs; i < seg_cnt; i++, seg++) { | ^ usdt.c: In function ‘find_vma_seg’: usdt.c:584:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 584 | for (i = 0, seg = segs; i < seg_cnt; i++, seg++) { | ^ usdt.c: In function ‘collect_usdt_targets’: libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:713:25: note: in expansion of macro ‘pr_warn’ 713 | pr_warn("usdt: failed to find ELF program segment for '%s:%s' in '%s' at IP 0x%lx\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:719:25: note: in expansion of macro ‘pr_warn’ 719 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx) for '%s:%s' at IP 0x%lx is not executable\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:719:25: note: in expansion of macro ‘pr_warn’ 719 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx) for '%s:%s' at IP 0x%lx is not executable\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:719:25: note: in expansion of macro ‘pr_warn’ 719 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx) for '%s:%s' at IP 0x%lx is not executable\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:760:33: note: in expansion of macro ‘pr_warn’ 760 | pr_warn("usdt: failed to find shared lib memory segment for '%s:%s' in '%s' at relative IP 0x%lx\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:768:17: note: in expansion of macro ‘pr_debug’ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:768:17: note: in expansion of macro ‘pr_debug’ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:768:17: note: in expansion of macro ‘pr_debug’ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 10 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:768:17: note: in expansion of macro ‘pr_debug’ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 12 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:768:17: note: in expansion of macro ‘pr_debug’ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 13 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:768:17: note: in expansion of macro ‘pr_debug’ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 14 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:768:17: note: in expansion of macro ‘pr_debug’ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:785:33: note: in expansion of macro ‘pr_warn’ 785 | pr_warn("usdt: failed to find ELF loadable segment with semaphore of '%s:%s' in '%s' at 0x%lx\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:791:33: note: in expansion of macro ‘pr_warn’ 791 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx] for semaphore of '%s:%s' at 0x%lx is executable\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:791:33: note: in expansion of macro ‘pr_warn’ 791 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx] for semaphore of '%s:%s' at 0x%lx is executable\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:791:33: note: in expansion of macro ‘pr_warn’ 791 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx] for semaphore of '%s:%s' at 0x%lx is executable\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:799:25: note: in expansion of macro ‘pr_debug’ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:799:25: note: in expansion of macro ‘pr_debug’ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:799:25: note: in expansion of macro ‘pr_debug’ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 10 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:799:25: note: in expansion of macro ‘pr_debug’ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 11 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:799:25: note: in expansion of macro ‘pr_debug’ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 12 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:799:25: note: in expansion of macro ‘pr_debug’ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", | ^~~~~~~~ usdt.c: In function ‘bpf_link_usdt_detach’: usdt.c:880:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 880 | for (i = 0; i < usdt_link->uprobe_cnt; i++) { | ^ usdt.c: In function ‘usdt_manager_attach_usdt’: usdt.c:1080:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1080 | for (i = 0; i < target_cnt; i++) { | ^ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:1111:33: note: in expansion of macro ‘pr_warn’ 1111 | pr_warn("usdt: failed to map IP 0x%lx to spec #%d for '%s:%s' in '%s': %s\n", | ^~~~~~~ usdt.c: In function ‘calc_pt_regs_off’: usdt.c:1556:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 1556 | for (i = 0; i < ARRAY_SIZE(reg_map); i++) { | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c strset.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/strset.o strset.c: In function ‘strset__new’: strset.c:66:35: warning: comparison of integer expressions of different signedness: ‘long int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 66 | for (off = 0; off < set->strs_data_len; off += strlen(set->strs_data + off) + 1) { | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c relo_core.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/relo_core.o relo_core.c: In function ‘is_flex_arr’: relo_core.c:82:25: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 82 | return acc->idx == btf_vlen(t) - 1; | ^~ In file included from relo_core.c:67: relo_core.c: In function ‘__bpf_core_types_are_compat’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:219:17: note: in expansion of macro ‘pr_warn’ 219 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:219:17: note: in expansion of macro ‘pr_warn’ 219 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", | ^~~~~~~ relo_core.c: In function ‘bpf_core_parse_spec’: relo_core.c:373:49: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 373 | if (!flex && access_idx >= a->nelems) | ^~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:385:25: note: in expansion of macro ‘pr_warn’ 385 | pr_warn("prog '%s': relo for [%u] %s (at idx %d) captures type [%d] of unexpected kind %s\n", | ^~~~~~~ relo_core.c: In function ‘bpf_core_calc_field_relo’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:726:25: note: in expansion of macro ‘pr_warn’ 726 | pr_warn("prog '%s': relo %d at insn #%d can't be applied to array access\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:726:25: note: in expansion of macro ‘pr_warn’ 726 | pr_warn("prog '%s': relo %d at insn #%d can't be applied to array access\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:748:33: note: in expansion of macro ‘pr_warn’ 748 | pr_warn("prog '%s': relo %d at insn #%d can't be satisfied for bitfield\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:748:33: note: in expansion of macro ‘pr_warn’ 748 | pr_warn("prog '%s': relo %d at insn #%d can't be satisfied for bitfield\n", | ^~~~~~~ relo_core.c: In function ‘bpf_core_calc_relo’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:972:17: note: in expansion of macro ‘pr_warn’ 972 | pr_warn("prog '%s': relo #%d: unrecognized CO-RE relocation %s (%d) at insn #%d\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:972:17: note: in expansion of macro ‘pr_warn’ 972 | pr_warn("prog '%s': relo #%d: unrecognized CO-RE relocation %s (%d) at insn #%d\n", | ^~~~~~~ relo_core.c: In function ‘bpf_core_patch_insn’: relo_core.c:1067:48: warning: comparison of integer expressions of different signedness: ‘__s32’ {aka ‘int’} and ‘__u64’ {aka ‘long long unsigned int’} [-Wsign-compare] 1067 | if (res->validate && insn->imm != orig_val) { | ^~ libbpf_internal.h:170:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘__s32’ {aka ‘int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1068:25: note: in expansion of macro ‘pr_warn’ 1068 | pr_warn("prog '%s': relo #%d: unexpected insn #%d (ALU/ALU64) value: got %u, exp %llu -> %llu\n", | ^~~~~~~ relo_core.c:1083:48: warning: comparison of integer expressions of different signedness: ‘__s16’ {aka ‘short int’} and ‘__u64’ {aka ‘long long unsigned int’} [-Wsign-compare] 1083 | if (res->validate && insn->off != origmake[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' _val) { | ^~ libbpf_internal.h:170:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1084:25: note: in expansion of macro ‘pr_warn’ 1084 | pr_warn("prog '%s': relo #%d: unexpected insn #%d (LDX/ST/STX) value: got %u, exp %llu -> %llu\n", | ^~~~~~~ relo_core.c:1111:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 1111 | if (insn_bytes_sz != res->orig_sz) { | ^~ libbpf_internal.h:170:29: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 7 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1158:17: note: in expansion of macro ‘pr_warn’ 1158 | pr_warn("prog '%s': relo #%d: trying to relocate unrecognized insn #%d, code:0x%x, src:0x%x, dst:0x%x, off:0x%x, imm:0x%x\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 8 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1158:17: note: in expansion of macro ‘pr_warn’ 1158 | pr_warn("prog '%s': relo #%d: trying to relocate unrecognized insn #%d, code:0x%x, src:0x%x, dst:0x%x, off:0x%x, imm:0x%x\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 9 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1158:17: note: in expansion of macro ‘pr_warn’ 1158 | pr_warn("prog '%s': relo #%d: trying to relocate unrecognized insn #%d, code:0x%x, src:0x%x, dst:0x%x, off:0x%x, imm:0x%x\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 10 has type ‘__s32’ {aka ‘int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1158:17: note: in expansion of macro ‘pr_warn’ 1158 | pr_warn("prog '%s': relo #%d: trying to relocate unrecognized insn #%d, code:0x%x, src:0x%x, dst:0x%x, off:0x%x, imm:0x%x\n", | ^~~~~~~ relo_core.c: In function ‘bpf_core_format_spec’: relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1193:9: note: in expansion of macro ‘append_buf’ 1193 | append_buf("<%s> [%u] %s %s", | ^~~~~~~~~~ relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1209:25: note: in expansion of macro ‘append_buf’ 1209 | append_buf(fmt_str, s, e->val); | ^~~~~~~~~~ relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1217:25: note: in expansion of macro ‘append_buf’ 1217 | append_buf(fmt_str, s, (unsigned long long)btf_enum64_value(e)); | ^~~~~~~~~~ relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1225:33: note: in expansion of macro ‘append_buf’ 1225 | append_buf(".%s", spec->spec[i].name); | ^~~~~~~~~~ relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1227:33: note: in expansion of macro ‘append_buf’ 1227 | append_buf("[%u]", spec->spec[i].idx); | ^~~~~~~~~~ relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1230:17: note: in expansion of macro ‘append_buf’ 1230 | append_buf(" ("); | ^~~~~~~~~~ relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1232:25: note: in expansion of macro ‘append_buf’ 1232 | append_buf("%s%d", i == 0 ? "" : ":", spec->raw_spec[i]); | ^~~~~~~~~~ relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1235:25: note: in expansion of macro ‘append_buf’ 1235 | append_buf(" @ offset %u.%u)", spec->bit_offset / 8, spec->bit_offset % 8); | ^~~~~~~~~~ relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1237:25: note: in expansion of macro ‘append_buf’ 1237 | append_buf(" @ offset %u)", spec->bit_offset / 8); | ^~~~~~~~~~ relo_core.c: In function ‘bpf_core_calc_relo_insn’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1324:17: note: in expansion of macro ‘pr_warn’ 1324 | pr_warn("prog '%s': relo #%d: parsing [%d] %s %s + %s failed: %d\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1347:17: note: in expansion of macro ‘pr_warn’ 1347 | pr_warn("prog '%s': relo #%d: <%s> (%d) relocation doesn't support anonymous types\n", | ^~~~~~~ relo_core.c: In function ‘__bpf_core_types_match’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1698:17: note: in expansion of macro ‘pr_warn’ 1698 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1698:17: note: in expansion of macro ‘pr_warn’ 1698 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", | ^~~~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c linker.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/linker.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' linker.c: In function ‘bpf_linker__add_buf’: linker.c:583:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 583 | while (written < buf_sz) { | ^ linker.c: In function ‘linker_sanity_check_elf_symtab’: linker.c:922:55: warning: comparison of integer expressions of different signedness: ‘Elf64_Word’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 922 | if (!sec->shdr->sh_link || sec->shdr->sh_link >= obj->sec_cnt) { | ^~ linker.c: In function ‘linker_sanity_check_elf_relos’: linker.c:1004:55: warning: comparison of integer expressions of different signedness: ‘Elf64_Word’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1004 | if (!sec->shdr->sh_info || sec->shdr->sh_info >= obj->sec_cnt) { | ^~ linker.c: In function ‘linker_sanity_check_btf’: linker.c:1105:38: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1105 | if (*type_id >= n) | ^~ linker.c: In function ‘sec_content_is_same’: linker.c:1234:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘Elf64_Xword’ {aka ‘long unsigned int’} [-Wsign-compare] 1234 | if (dst_sec->sec_sz != src_sec->shdr->sh_size) | ^~ linker.c: In function ‘find_glob_sym_btf’: linker.c:1887:46: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 1887 | if (btf_id && btf_id != vi->type) { | ^~ linker.c: In function ‘linker_append_btf_ext’: linker.c:2655:47: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2655 | if (dst_sec->func_info.rec_sz != rec_sz) { | ^~ In file included from linker.c:26: libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ linker.c:2660:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 2660 | for_each_btf_ext_rec(&obj->btf_ext->func_info, ext_sec, i, src_rec) { | ^~~~~~~~~~~~~~~~~~~~ linker.c:2684:47: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2684 | if (dst_sec->line_info.rec_sz != rec_sz) { | ^~ libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ linker.c:2689:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 2689 | for_each_btf_ext_rec(&obj->btf_ext->line_info, ext_sec, i, src_rec) { | ^~~~~~~~~~~~~~~~~~~~ linker.c:2726:52: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2726 | if (dst_sec->core_relo_info.rec_sz != rec_sz) { | ^~ libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ linker.c:2731:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 2731 | for_each_btf_ext_rec(&obj->btf_ext->core_relo_info, ext_sec, i, src_rec) { | ^~~~~~~~~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c features.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/features.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c elf.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/elf.o elf.c: In function ‘elf_find_next_scn_by_type’: elf.c:69:32: warning: comparison of integer expressions of different signedness: ‘Elf64_Word’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 69 | if (sh.sh_type == sh_type) | ^~ elf.c: In function ‘elf_find_func_offset’: elf.c:311:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 311 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { | ^ elf.c:331:57: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 331 | if (elf_sym_offset(sym) == ret) { | ^~ In file included from elf.c:11: libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ elf.c:356:17: note: in expansion of macro ‘pr_debug’ 356 | pr_debug("elf: symbol address match for '%s' in '%s': 0x%lx\n", name, binary_path, | ^~~~~~~~ elf.c: In function ‘elf_resolve_syms_offsets’: elf.c:436:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 436 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { | ^ elf.c: In function ‘elf_resolve_pattern_offsets’: elf.c:517:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 517 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c btf_iter.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/btf_iter.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c btf_relocate.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/btf_relocate.o In file included from btf_relocate.c:32: btf_relocate.c: In function ‘btf_relocate_map_distilled_base’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf_relocate.c:283:33: note: in expansion of macro ‘pr_warn’ 283 | pr_warn("base BTF id [%d] maps to invalid distilled base BTF id [%d]\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf_relocate.c:283:33: note: in expansion of macro ‘pr_warn’ 283 | pr_warn("base BTF id [%d] maps to invalid distilled base BTF id [%d]\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf_relocate.c:371:17: note: in expansion of macro ‘pr_warn’ 371 | pr_warn("distilled base BTF type '%s' [%d] is not mapped to base BTF id\n", | ^~~~~~~ btf_relocate.c: In function ‘btf_relocate_validate_distilled_base’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf_relocate.c:400:25: note: in expansion of macro ‘pr_warn’ 400 | pr_warn("type [%d], kind [%d] is invalid for distilled base BTF; it is anonymous\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf_relocate.c:404:25: note: in expansion of macro ‘pr_warn’ 404 | pr_warn("type [%d] in distilled based BTF has unexpected kind [%d]\n", | ^~~~~~~ btf_relocate.c: In function ‘btf_relocate_rewrite_strs’: btf_relocate.c:426:30: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 426 | if (*str_off >= r->dist_str_len) { | ^~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c zip.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/zip.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c gen_loader.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/gen_loader.o gen_loader.c: In function ‘bpf_gen__init’: gen_loader.c:145:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 145 | for (i = 0; i < nr_progs_sz; i += 4) { | ^ gen_loader.c: In function ‘bpf_gen__finish’: gen_loader.c:379:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 379 | if (nr_progs < gen->nr_progs || nr_maps != gen->nr_maps) { | ^ gen_loader.c:379:49: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 379 | if (nr_progs < gen->nr_progs || nr_maps != gen->nr_maps) { | ^~ In file included from gen_loader.c:13: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:380:17: note: in expansion of macro ‘pr_warn’ 380 | pr_warn("nr_progs %d/%d nr_maps %d/%d mismatch\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:380:17: note: in expansion of macro ‘pr_warn’ 380 | pr_warn("nr_progs %d/%d nr_maps %d/%d mismatch\n", | ^~~~~~~ gen_loader.c:386:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 386 | for (i = 0; i < gen->nr_progs; i++) | ^ gen_loader.c:393:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 393 | for (i = 0; i < gen->nr_maps; i++) | ^ gen_loader.c: In function ‘compute_sha_update_offsets’: gen_loader.c:463:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 463 | for (i = 0; i < SHA256_DWORD_SIZE; i++) { | ^ gen_loader.c: In function ‘bpf_gen__load_btf’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:484:9: note: in expansion of macro ‘pr_debug’ 484 | pr_debug("gen: load_btf: off %d size %d, attr: off %d size %d\n", | ^~~~~~~~ gen_loader.c: In function ‘bpf_gen__map_create’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:530:9: note: in expansion of macro ‘pr_debug’ 530 | pr_debug("gen: map_create: %s idx %d type %d value_type_id %d, attr: off %d size %d\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:530:9: note: in expansion of macro ‘pr_debug’ 530 | pr_debug("gen: map_create: %s idx %d type %d value_type_id %d, attr: off %d size %d\n", | ^~~~~~~~ gen_loader.c:569:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 569 | } else if (map_idx != gen->nr_maps) { | ^~ gen_loader.c: In function ‘emit_signature_match’: gen_loader.c:588:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 588 | for (i = 0; i < SHA256_DWORD_SIZE; i++) { | ^ gen_loader.c: In function ‘bpf_gen__record_attach_target’: gen_loader.c:616:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 616 | if (ret >= sizeof(gen->attach_target)) | ^~ gen_loader.c: In function ‘get_ksym_desc’: gen_loader.c:669:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 669 | for (i = 0; i < gen->nr_ksyms; i++) { | ^ gen_loader.c: In function ‘cleanup_relos’: gen_loader.c:987:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 987 | for (i = 0; i < gen->nr_ksyms; i++) { | ^ gen_loader.c: In function ‘info_blob_bswap’: gen_loader.c:1023:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 1023 | for (i = 0; i < load_attr->func_info_cnt; i++) | ^ gen_loader.c:1026:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 1026 | for (i = 0; i < load_attr->line_info_cnt; i++) | ^ gen_loader.c: In function ‘bpf_gen__prog_load’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:1053:9: note: in expansion of macro ‘pr_debug’ 1053 | pr_debug("gen: prog_load: prog_idx %d type %d insn off %d insns_cnt %zd license off %d\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 6 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:1053:9: note: in expansion of macro ‘pr_debug’ 1053 | pr_debug("gen: prog_load: prog_idx %d type %d insn off %d insns_cnt %zd license off %d\n", | ^~~~~~~~ gen_loader.c:1061:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1061 | for (i = 0; i < insn_cnt; i++, insn++) | ^ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:1076:9: note: in expansion of macro ‘pr_debug’ 1076 | pr_debug("gen: prog_load: func_info: off %d cnt %d rec size %d\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:1076:9: note: in expansion of macro ‘pr_debug’ 1076 | pr_debug("gen: prog_load: func_info: off %d cnt %d rec size %d\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:1083:9: note: in expansion of macro ‘pr_debug’ 1083 | pr_debug("gen: prog_load: line_info: off %d cnt %d rec size %d\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:1083:9: note: in expansion of macro ‘pr_debug’ 1083 | pr_debug("gen: prog_load: line_info: off %d cnt %d rec size %d\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 5 has type ‘long unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:1090:9: note: in expansion of macro ‘pr_debug’ 1090 | pr_debug("gen: prog_load: core_relos: off %d cnt %d rec size %zd\n", | ^~~~~~~~ gen_loader.c: In function ‘bpf_gen__map_update_elem’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ gen_loader.c:1196:9: note: in expansion of macro ‘pr_debug’ 1196 | pr_debug("gen: map_update_elem: idx %d, value: off %d size %d, attr: off %d size %d\n", | ^~~~~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c usdt.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/usdt.o In file included from usdt.c:21: usdt.c: In function ‘sanity_check_usdt_elf’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:330:17: note: in expansion of macro ‘pr_warn’ 330 | pr_warn("usdt: unrecognized ELF kind %d for '%s'\n", elf_kind(elf), path); | ^~~~~~~ usdt.c: In function ‘parse_elf_segs’: usdt.c:434:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 434 | for (i = 0; i < n; i++) { | ^ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:440:17: note: in expansion of macro ‘pr_debug’ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:440:17: note: in expansion of macro ‘pr_debug’ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:440:17: note: in expansion of macro ‘pr_debug’ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:440:17: note: in expansion of macro ‘pr_debug’ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:440:17: note: in expansion of macro ‘pr_debug’ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", | ^~~~~~~~ usdt.c: In function ‘find_elf_seg’: usdt.c:568:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 568 | for (i = 0, seg = segs; i < seg_cnt; i++, seg++) { | ^ usdt.c: In function ‘find_vma_seg’: usdt.c:584:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 584 | for (i = 0, seg = segs; i < seg_cnt; i++, seg++) { | ^ usdt.c: In function ‘collect_usdt_targets’: libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:713:25: note: in expansion of macro ‘pr_warn’ 713 | pr_warn("usdt: failed to find ELF program segment for '%s:%s' in '%s' at IP 0x%lx\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:719:25: note: in expansion of macro ‘pr_warn’ 719 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx) for '%s:%s' at IP 0x%lx is not executable\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:719:25: note: in expansion of macro ‘pr_warn’ 719 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx) for '%s:%s' at IP 0x%lx is not executable\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:719:25: note: in expansion of macro ‘pr_warn’ 719 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx) for '%s:%s' at IP 0x%lx is not executable\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:760:33: note: in expansion of macro ‘pr_warn’ 760 | pr_warn("usdt: failed to find shared lib memory segment for '%s:%s' in '%s' at relative IP 0x%lx\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:768:17: note: in expansion of macro ‘pr_debug’ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:768:17: note: in expansion of macro ‘pr_debug’ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:768:17: note: in expansion of macro ‘pr_debug’ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 10 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:768:17: note: in expansion of macro ‘pr_debug’ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 12 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:768:17: note: in expansion of macro ‘pr_debug’ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 13 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:768:17: note: in expansion of macro ‘pr_debug’ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 14 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:768:17: note: in expansion of macro ‘pr_debug’ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:785:33: note: in expansion of macro ‘pr_warn’ 785 | pr_warn("usdt: failed to find ELF loadable segment with semaphore of '%s:%s' in '%s' at 0x%lx\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:791:33: note: in expansion of macro ‘pr_warn’ 791 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx] for semaphore of '%s:%s' at 0x%lx is executable\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:791:33: note: in expansion of macro ‘pr_warn’ 791 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx] for semaphore of '%s:%s' at 0x%lx is executable\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:791:33: note: in expansion of macro ‘pr_warn’ 791 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx] for semaphore of '%s:%s' at 0x%lx is executable\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:799:25: note: in expansion of macro ‘pr_debug’ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:799:25: note: in expansion of macro ‘pr_debug’ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 9 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:799:25: note: in expansion of macro ‘pr_debug’ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 10 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:799:25: note: in expansion of macro ‘pr_debug’ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 11 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:799:25: note: in expansion of macro ‘pr_debug’ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 12 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:799:25: note: in expansion of macro ‘pr_debug’ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", | ^~~~~~~~ usdt.c: In function ‘bpf_link_usdt_detach’: usdt.c:880:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 880 | for (i = 0; i < usdt_link->uprobe_cnt; i++) { | ^ usdt.c: In function ‘usdt_manager_attach_usdt’: usdt.c:1080:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1080 | for (i = 0; i < target_cnt; i++) { | ^ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ usdt.c:1111:33: note: in expansion of macro ‘pr_warn’ 1111 | pr_warn("usdt: failed to map IP 0x%lx to spec #%d for '%s:%s' in '%s': %s\n", | ^~~~~~~ usdt.c: In function ‘calc_pt_regs_off’: usdt.c:1556:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 1556 | for (i = 0; i < ARRAY_SIZE(reg_map); i++) { | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c relo_core.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/relo_core.o relo_core.c: In function ‘is_flex_arr’: relo_core.c:82:25: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 82 | return acc->idx == btf_vlen(t) - 1; | ^~ In file included from relo_core.c:67: relo_core.c: In function ‘__bpf_core_types_are_compat’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:219:17: note: in expansion of macro ‘pr_warn’ 219 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:219:17: note: in expansion of macro ‘pr_warn’ 219 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", | ^~~~~~~ relo_core.c: In function ‘bpf_core_parse_spec’: relo_core.c:373:49: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 373 | if (!flex && access_idx >= a->nelems) | ^~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:385:25: note: in expansion of macro ‘pr_warn’ 385 | pr_warn("prog '%s': relo for [%u] %s (at idx %d) captures type [%d] of unexpected kind %s\n", | ^~~~~~~ relo_core.c: In function ‘bpf_core_calc_field_relo’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:726:25: note: in expansion of macro ‘pr_warn’ 726 | pr_warn("prog '%s': relo %d at insn #%d can't be applied to array access\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:726:25: note: in expansion of macro ‘pr_warn’ 726 | pr_warn("prog '%s': relo %d at insn #%d can't be applied to array access\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:748:33: note: in expansion of macro ‘pr_warn’ 748 | pr_warn("prog '%s': relo %d at insn #%d can't be satisfied for bitfield\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:748:33: note: in expansion of macro ‘pr_warn’ 748 | pr_warn("prog '%s': relo %d at insn #%d can't be satisfied for bitfield\n", | ^~~~~~~ relo_core.c: In function ‘bpf_core_calc_relo’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:972:17: note: in expansion of macro ‘pr_warn’ 972 | pr_warn("prog '%s': relo #%d: unrecognized CO-RE relocation %s (%d) at insn #%d\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:972:17: note: in expansion of macro ‘pr_warn’ 972 | pr_warn("prog '%s': relo #%d: unrecognized CO-RE relocation %s (%d) at insn #%d\n", | ^~~~~~~ relo_core.c: In function ‘bpf_core_patch_insn’: relo_core.c:1067:48: warning: comparison of integer expressions of different signedness: ‘__s32’ {aka ‘int’} and ‘__u64’ {aka ‘long long unsigned int’} [-Wsign-compare] 1067 | if (res->validate && insn->imm != orig_val) { | ^~ libbpf_internal.h:170:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘__s32’ {aka ‘int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1068:25: note: in expansion of macro ‘pr_warn’ 1068 | pr_warn("prog '%s': relo #%d: unexpected insn #%d (ALU/ALU64) value: got %u, exp %llu -> %llu\n", | ^~~~~~~ relo_core.c:1083:48: warning: comparison of integer expressions of different signedness: ‘__s16’ {aka ‘short int’} and ‘__u64’ {aka ‘long long unsigned int’} [-Wsign-compare] 1083 | if (res->validate && insn->off != orig_val) { | ^~ libbpf_internal.h:170:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 6 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1084:25: note: in expansion of macro ‘pr_warn’ 1084 | pr_warn("prog '%s': relo #%d: unexpected insn #%d (LDX/ST/STX) value: got %u, exp %llu -> %llu\n", | ^~~~~~~ relo_core.c:1111:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 1111 | if (insn_bytes_sz != res->orig_sz) { | ^~ libbpf_internal.h:170:29: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 7 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1158:17: note: in expansion of macro ‘pr_warn’ 1158 | pr_warn("prog '%s': relo #%d: trying to relocate unrecognized insn #%d, code:0x%x, src:0x%x, dst:0x%x, off:0x%x, imm:0x%x\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 8 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1158:17: note: in expansion of macro ‘pr_warn’ 1158 | pr_warn("prog '%s': relo #%d: trying to relocate unrecognized insn #%d, code:0x%x, src:0x%x, dst:0x%x, off:0x%x, imm:0x%x\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 9 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1158:17: note: in expansion of macro ‘pr_warn’ 1158 | pr_warn("prog '%s': relo #%d: trying to relocate unrecognized insn #%d, code:0x%x, src:0x%x, dst:0x%x, off:0x%x, imm:0x%x\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 10 has type ‘__s32’ {aka ‘int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1158:17: note: in expansion of macro ‘pr_warn’ 1158 | pr_warn("prog '%s': relo #%d: trying to relocate unrecognized insn #%d, code:0x%x, src:0x%x, dst:0x%x, off:0x%x, imm:0x%x\n", | ^~~~~~~ relo_core.c: In function ‘bpf_core_format_spec’: relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1193:9: note: in expansion of macro ‘append_buf’ 1193 | append_buf("<%s> [%u] %s %s", | ^~~~~~~~~~ relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1209:25: note: in expansion of macro ‘append_buf’ 1209 | append_buf(fmt_str, s, e->val); | ^~~~~~~~~~ relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1217:25: note: in expansion of macro ‘append_buf’ 1217 | append_buf(fmt_str, s, (unsigned long long)btf_enum64_value(e)); | ^~~~~~~~~~ relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1225:33: note: in expansion of macro ‘append_buf’ 1225 | append_buf(".%s", spec->spec[i].name); | ^~~~~~~~~~ relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1227:33: note: in expansion of macro ‘append_buf’ 1227 | append_buf("[%u]", spec->spec[i].idx); | ^~~~~~~~~~ relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1230:17: note: in expansion of macro ‘append_buf’ 1230 | append_buf(" ("); | ^~~~~~~~~~ relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1232:25: note: in expansion of macro ‘append_buf’ 1232 | append_buf("%s%d", i == 0 ? "" : ":", spec->raw_spec[i]); | ^~~~~~~~~~ relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1235:25: note: in expansion of macro ‘append_buf’ 1235 | append_buf(" @ offset %u.%u)", spec->bit_offset / 8, spec->bit_offset % 8); | ^~~~~~~~~~ relo_core.c:1183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1183 | if (r >= buf_sz) \ | ^~ relo_core.c:1237:25: note: in expansion of macro ‘append_buf’ 1237 | append_buf(" @ offset %u)", spec->bit_offset / 8); | ^~~~~~~~~~ relo_core.c: In function ‘bpf_core_calc_relo_insn’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1324:17: note: in expansion of macro ‘pr_warn’ 1324 | pr_warn("prog '%s': relo #%d: parsing [%d] %s %s + %s failed: %d\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1347:17: note: in expansion of macro ‘pr_warn’ 1347 | pr_warn("prog '%s': relo #%d: <%s> (%d) relocation doesn't support anonymous types\n", | ^~~~~~~ relo_core.c: In function ‘__bpf_core_types_match’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1698:17: note: in expansion of macro ‘pr_warn’ 1698 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ relo_core.c:1698:17: note: in expansion of macro ‘pr_warn’ 1698 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", | ^~~~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c btf_iter.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/btf_iter.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c elf.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/elf.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' elf.c: In function ‘elf_find_next_scn_by_type’: elf.c:69:32: warning: comparison of integer expressions of different signedness: ‘Elf64_Word’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 69 | if (sh.sh_type == sh_type) | ^~ elf.c: In function ‘elf_find_func_offset’: elf.c:311:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 311 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { | ^ elf.c:331:57: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘long int’ [-Wsign-compare] 331 | if (elf_sym_offset(sym) == ret) { | ^~ In file included from elf.c:11: libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ elf.c:356:17: note: in expansion of macro ‘pr_debug’ 356 | pr_debug("elf: symbol address match for '%s' in '%s': 0x%lx\n", name, binary_path, | ^~~~~~~~ elf.c: In function ‘elf_resolve_syms_offsets’: elf.c:436:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 436 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { | ^ elf.c: In function ‘elf_resolve_pattern_offsets’: elf.c:517:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 517 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c btf_relocate.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/btf_relocate.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' In file included from btf_relocate.c:32: btf_relocate.c: In function ‘btf_relocate_map_distilled_base’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf_relocate.c:283:33: note: in expansion of macro ‘pr_warn’ 283 | pr_warn("base BTF id [%d] maps to invalid distilled base BTF id [%d]\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf_relocate.c:283:33: note: in expansion of macro ‘pr_warn’ 283 | pr_warn("base BTF id [%d] maps to invalid distilled base BTF id [%d]\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf_relocate.c:371:17: note: in expansion of macro ‘pr_warn’ 371 | pr_warn("distilled base BTF type '%s' [%d] is not mapped to base BTF id\n", | ^~~~~~~ btf_relocate.c: In function ‘btf_relocate_validate_distilled_base’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf_relocate.c:400:25: note: in expansion of macro ‘pr_warn’ 400 | pr_warn("type [%d], kind [%d] is invalid for distilled base BTF; it is anonymous\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ btf_relocate.c:404:25: note: in expansion of macro ‘pr_warn’ 404 | pr_warn("type [%d] in distilled based BTF has unexpected kind [%d]\n", | ^~~~~~~ btf_relocate.c: In function ‘btf_relocate_rewrite_strs’: btf_relocate.c:426:30: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 426 | if (*str_off >= r->dist_str_len) { | ^~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c features.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/features.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c linker.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/linker.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' linker.c: In function ‘bpf_linker__add_buf’: linker.c:583:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 583 | while (written < buf_sz) { | ^ linker.c: In function ‘linker_sanity_check_elf_symtab’: linker.c:922:55: warning: comparison of integer expressions of different signedness: ‘Elf64_Word’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 922 | if (!sec->shdr->sh_link || sec->shdr->sh_link >= obj->sec_cnt) { | ^~ linker.c: In function ‘linker_sanity_check_elf_relos’: linker.c:1004:55: warning: comparison of integer expressions of different signedness: ‘Elf64_Word’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1004 | if (!sec->shdr->sh_info || sec->shdr->sh_info >= obj->sec_cnt) { | ^~ linker.c: In function ‘linker_sanity_check_btf’: linker.c:1105:38: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 1105 | if (*type_id >= n) | ^~ linker.c: In function ‘sec_content_is_same’: linker.c:1234:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘Elf64_Xword’ {aka ‘long unsigned int’} [-Wsign-compare] 1234 | if (dst_sec->sec_sz != src_sec->shdr->sh_size) | ^~ linker.c: In function ‘find_glob_sym_btf’: linker.c:1887:46: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 1887 | if (btf_id && btf_id != vi->type) { | ^~ linker.c: In function ‘linker_append_btf_ext’: linker.c:2655:47: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2655 | if (dst_sec->func_info.rec_sz != rec_sz) { | ^~ In file included from linker.c:26: libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ linker.c:2660:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 2660 | for_each_btf_ext_rec(&obj->btf_ext->func_info, ext_sec, i, src_rec) { | ^~~~~~~~~~~~~~~~~~~~ linker.c:2684:47: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2684 | if (dst_sec->line_info.rec_sz != rec_sz) { | ^~ libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ linker.c:2689:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 2689 | for_each_btf_ext_rec(&obj->btf_ext->line_info, ext_sec, i, src_rec) { | ^~~~~~~~~~~~~~~~~~~~ linker.c:2726:52: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 2726 | if (dst_sec->core_relo_info.rec_sz != rec_sz) { | ^~ libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ linker.c:2731:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 2731 | for_each_btf_ext_rec(&obj->btf_ext->core_relo_info, ext_sec, i, src_rec) { | ^~~~~~~~~~~~~~~~~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c libbpf.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/libbpf.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' libbpf.c: In function ‘bpf_object__add_programs’: libbpf.c:915:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 915 | for (i = 0; i < nr_syms; i++) { | ^ libbpf.c: In function ‘bpf_object_bswap_progs’: libbpf.c:992:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 992 | for (p = 0; p < obj->nr_programs; p++, prog++) { | ^ libbpf.c:994:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 994 | for (i = 0; i < prog->insns_cnt; i++, insn++) | ^ libbpf.c: In function ‘find_struct_ops_kern_types’: libbpf.c:1083:44: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘__s32’ {aka ‘int’} [-Wsign-compare] 1083 | if (kern_data_member->type == kern_type_id) | ^~ libbpf.c: In function ‘is_valid_st_ops_program’: libbpf.c:1111:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1111 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function ‘bpf_object_adjust_struct_ops_autoload’: libbpf.c:1130:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1130 | for (i = 0; i < obj->nr_programs; ++i) { | ^ libbpf.c:1138:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1138 | for (j = 0; j < obj->nr_maps; ++j) { | ^ In file included from libbpf.c:53: libbpf.c: In function ‘init_struct_ops_maps’: libbpf_internal.h:170:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘__s32’ {aka ‘int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:1484:17: note: in expansion of macro ‘pr_debug’ 1484 | pr_debug("struct_ops init: struct %s(type_id=%u) %s found at offset %u\n", | ^~~~~~~~ libbpf.c: In function ‘bpf_object_init_struct_ops’: libbpf.c:1496:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1496 | for (sec_idx = 0; sec_idx < obj->efile.sec_cnt; ++sec_idx) { | ^ libbpf.c: In function ‘internal_map_name’: libbpf.c:1902:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1902 | if (sfx_len >= BPF_OBJ_NAME_LEN) | ^~ libbpf.c: In function ‘bpf_object__init_global_data_maps’: libbpf.c:2025:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2025 | for (sec_idx = 1; sec_idx < obj->efile.sec_cnt; sec_idx++) { | ^ libbpf.c: In function ‘find_extern_by_name_with_len’: libbpf.c:2086:38: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2086 | if (strlen(ext_name) == len && strncmp(ext_name, name, len) == 0) | ^~ libbpf.c: In function ‘set_kcfg_value_str’: libbpf.c:2147:17: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2147 | if (len >= ext->kcfg.sz) { | ^~ libbpf.c: In function ‘pathname_concat’: libbpf.c:2545:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2545 | if (len >= buf_sz) | ^~ libbpf.c: In function ‘parse_btf_map_def’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:2624:33: note: in expansion of macro ‘pr_warn’ 2624 | pr_warn("map '%s': key type [%d] not found.\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:2664:33: note: in expansion of macro ‘pr_warn’ 2664 | pr_warn("map '%s': value type [%d] not found.\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:2718:33: note: in expansion of macro ‘pr_warn’ 2718 | pr_warn("map '%s': %s type [%d] not found.\n", | ^~~~~~~ libbpf.c: In function ‘bpf_object__init_user_btf_maps’: libbpf.c:3067:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 3067 | for (i = 0; i < obj->nr_maps; i++) { | ^ libbpf.c: In function ‘bpf_object__sanitize_btf’: libbpf.c:3160:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 3160 | for (i = 1; i < btf__type_cnt(btf); i++) { | ^ libbpf.c: In function ‘bpf_object__init_btf’: libbpf.c:3306:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 3306 | for (seg_num = 0; seg_num < ARRAY_SIZE(ext_segs); seg_num++) { | ^ libbpf.c: In function ‘btf_fixup_datasec’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:3416:25: note: in expansion of macro ‘pr_debug’ 3416 | pr_debug("sec '%s': failed to find name of DATASEC's member #%d\n", | ^~~~~~~~ libbpf.c: In function ‘bpf_object__sanitize_and_load_btf’: libbpf.c:3577:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 3577 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function ‘bpf_object__elf_collect’: libbpf_internal.h:170:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:3923:17: note: in expansion of macro ‘pr_debug’ 3923 | pr_debug("elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n", | ^~~~~~~~ libbpf.c:3994:42: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 3994 | targ_sec_idx >= obj->efile.sec_cnt) | ^~ libbpf.c:4024:59: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 4024 | if (!obj->efile.strtabidx || obj->efile.strtabidx > idx) { | ^ libbpf.c: In function ‘find_extern_sec_btf_id’: libbpf.c:4118:38: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 4118 | if (vs->type == ext_btf_id) | ^~ libbpf.c: In function ‘bpf_object__collect_externs’: libbpf_internal.h:170:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:4446:25: note: in expansion of macro ‘pr_debug’ 4446 | pr_debug("extern (kcfg) #%d: symbol %d, off %u, name %s\n", | ^~~~~~~~ libbpf.c: In function ‘prog_is_subprog’: libbpf.c:4471:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 4471 | return prog->sec_idx == obj->efile.text_shndx; | ^~ libbpf.c: In function ‘bpf_prog_compute_hash’: libbpf.c:4538:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 4538 | for (i = 0; i < prog->insns_cnt; i++) { | ^ libbpf.c:4545:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 4545 | if (i >= prog->insns_cnt || | ^~ libbpf.c: In function ‘bpf_program__record_reloc’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:4578:17: note: in expansion of macro ‘pr_warn’ 4578 | pr_warn("prog '%s': invalid relo against '%s' for insns[%d].code 0x%x\n", | ^~~~~~~ libbpf.c:4616:43: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 4616 | if (!shdr_idx || shdr_idx != obj->efile.text_shndx) { | ^~ libbpf.c:4660:22: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 4660 | if (shdr_idx == obj->efile.arena_data_shndx) { | ^~ libbpf.c:4679:22: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 4679 | if (shdr_idx == obj->efile.jumptables_data_shndx) { | ^~ libbpf_internal.h:170:29: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 4 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:4701:25: note: in expansion of macro ‘pr_debug’ 4701 | pr_debug("prog '%s': found map %zd (%s, sec %d, off %zu) for insn #%u\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 4 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:4728:17: note: in expansion of macro ‘pr_debug’ 4728 | pr_debug("prog '%s': found data map %zd (%s, sec %d, off %zu) for insn %u\n", | ^~~~~~~~ libbpf.c: In function ‘bpf_get_map_info_from_fdinfo’: libbpf.c:4937:53: warning: format ‘%i’ expects argument of type ‘int *’, but argument 3 has type ‘__u32 *’ {aka ‘unsigned int *’} [-Wformat=] 4937 | else if (sscanf(buff, "map_flags:\t%i", &val) == 1) | ~^ ~~~~ | | | | | __u32 * {aka unsigned int *} | int * | %i libbpf.c: In function ‘init_map_in_map_slots’: libbpf.c:5449:23: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 5449 | for (i = 0; i < map->init_slots_sz; i++) { | ^ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:5465:25: note: in expansion of macro ‘pr_warn’ 5465 | pr_warn("map '%s': failed to initialize slot [%d] to map '%s' fd=%d: %s\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:5469:17: note: in expansion of macro ‘pr_debug’ 5469 | pr_debug("map '%s': slot [%d] set to map '%s' fd=%d\n", | ^~~~~~~~ libbpf.c: In function ‘init_prog_array_slots’: libbpf.c:5488:23: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 5488 | for (i = 0; i < map->init_slots_sz; i++) { | ^ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:5498:25: note: in expansion of macro ‘pr_warn’ 5498 | pr_warn("map '%s': failed to initialize slot [%d] to prog '%s' fd=%d: %s\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:5502:17: note: in expansion of macro ‘pr_debug’ 5502 | pr_debug("map '%s': slot [%d] set to prog '%s' fd=%d\n", | ^~~~~~~~ libbpf.c: In function ‘bpf_object_init_prog_arrays’: libbpf.c:5517:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 5517 | for (i = 0; i < obj->nr_maps; i++) { | ^ libbpf.c: In function ‘bpf_core_add_cands’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:5732:17: note: in expansion of macro ‘pr_debug’ 5732 | pr_debug("CO-RE relocating [%d] %s %s: found target candidate [%d] %s %s in [%s]\n", | ^~~~~~~~ libbpf.c: In function ‘load_module_btfs’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:5792:25: note: in expansion of macro ‘pr_warn’ 5792 | pr_warn("failed to get BTF object #%d FD: %s\n", id, errstr(err)); | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:5804:25: note: in expansion of macro ‘pr_warn’ 5804 | pr_warn("failed to get BTF object #%d info: %s\n", id, errstr(err)); | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:5817:25: note: in expansion of macro ‘pr_warn’ 5817 | pr_warn("failed to load module [%s]'s BTF object #%d: %s\n", | ^~~~~~~ libbpf.c: In function ‘bpf_core_find_cands’: libbpf.c:5892:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 5892 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c: In function ‘bpf_core_resolve_relo’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:6010:25: note: in expansion of macro ‘pr_warn’ 6010 | pr_warn("prog '%s': relo #%d: target candidate search failed for [%d] %s %s: %ld\n", | ^~~~~~~ libbpf.c: In function ‘bpf_object__relocate_core’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:6070:17: note: in expansion of macro ‘pr_debug’ 6070 | pr_debug("sec '%s': found %d CO-RE relocations\n", sec_name, sec->num_info); | ^~~~~~~~ libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ libbpf.c:6072:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 6072 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf.c:6101:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6101 | if (insn_idx >= prog->insns_cnt) | ^~ libbpf_internal.h:170:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:6124:33: note: in expansion of macro ‘pr_warn’ 6124 | pr_warn("prog '%s': relo #%d: failed to patch insn #%u: %s\n", | ^~~~~~~ In file included from libbpf.c:54: hashmap.h:169:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 169 | for (bkt = 0; bkt < (map)->cap; bkt++) \ | ^ libbpf.c:6137:17: note: in expansion of macro ‘hashmap__for_each_entry’ 6137 | hashmap__for_each_entry(cand_cache, entry, i) { | ^~~~~~~~~~~~~~~~~~~~~~~ libbpf.c: In function ‘find_subprog_idx’: libbpf.c:6241:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 6241 | if (insn_idx >= prog->subprogs[i].sub_insn_off) | ^~ libbpf.c: In function ‘create_jt_map’: libbpf_internal.h:170:29: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:6289:17: note: in expansion of macro ‘pr_warn’ 6289 | pr_warn("map '.jumptables': jumptables_data size is %zd, trying to access %d\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:6289:17: note: in expansion of macro ‘pr_warn’ 6289 | pr_warn("map '.jumptables': jumptables_data size is %zd, trying to access %d\n", | ^~~~~~~ libbpf.c:6296:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6296 | if (relo->insn_idx < 0 || relo->insn_idx >= prog->insns_cnt) { | ^~ libbpf_internal.h:170:29: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘long long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:6323:25: note: in expansion of macro ‘pr_warn’ 6323 | pr_warn("map '.jumptables': invalid jump table value 0x%llx at offset %u\n", | ^~~~~~~ libbpf.c: In function ‘bpf_object__relocate_data’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:6460:25: note: in expansion of macro ‘pr_warn’ 6460 | pr_warn("prog '%s': relo #%d: bad relo type %d\n", | ^~~~~~~ libbpf.c: In function ‘adjust_prog_btf_ext_info’: libbpf.c:6485:35: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 6485 | if (prog->sec_idx != sec_idx) | ^~ libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ libbpf.c:6488:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 6488 | for_each_btf_ext_rec(ext_info, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf.c: In function ‘cmp_relo_by_insn_idx’: libbpf.c:6614:22: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 6614 | if (insn_idx == relo->insn_idx) | ^~ libbpf.c:6616:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 6616 | return insn_idx < relo->insn_idx ? -1 : 1; | ^ libbpf.c: In function ‘bpf_object__reloc_code’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:6740:25: note: in expansion of macro ‘pr_warn’ 6740 | pr_warn("prog '%s': unexpected relo for insn #%zu, type %d\n", | ^~~~~~~ libbpf.c: In function ‘bpf_object__relocate_calls’: libbpf.c:6913:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6913 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function ‘bpf_object__free_relocs’: libbpf.c:6935:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6935 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function ‘bpf_object__sort_relos’: libbpf.c:6961:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6961 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function ‘bpf_prog_assign_exc_cb’: libbpf.c:7017:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 7017 | for (j = 0; j < obj->nr_programs; j++) { | ^ libbpf.c: In function ‘bpf_program_fixup_func_info’: libbpf.c:7256:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 7256 | for (i = 0; i < ARRAY_SIZE(global_ctx_map); i++) { | ^ libbpf.c:7269:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 7269 | for (i = 0; i < prog->func_info_cnt; i++) { | ^ libbpf.c:7299:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 7299 | for (rec_idx = 0; rec_idx < prog->func_info_cnt; rec_idx++) { | ^ libbpf.c:7300:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 7300 | if (orig_ids[rec_idx] == t->type) { | ^~ libbpf.c:7322:39: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7322 | if (func_rec->type_id == orig_fn_id) { | ^~ libbpf.c: In function ‘bpf_object__relocate’: libbpf.c:7405:31: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 7405 | for (j = 0; j < prog->nr_reloc; j++) { | ^ libbpf.c: In function ‘bpf_object__collect_map_relos’: libbpf_internal.h:170:29: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 5 has type ‘long unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:7530:17: note: in expansion of macro ‘pr_debug’ 7530 | pr_debug(".maps relo #%d: for %zd value %zd rel->r_offset %zu name %d ('%s')\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘Elf64_Word’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:7530:17: note: in expansion of macro ‘pr_debug’ 7530 | pr_debug(".maps relo #%d: for %zd value %zd rel->r_offset %zu name %d ('%s')\n", | ^~~~~~~~ libbpf.c:7534:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 7534 | for (j = 0; j < obj->nr_maps; j++) { | ^ libbpf.c:7544:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 7544 | if (j == obj->nr_maps) { | ^~ libbpf.c:7609:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 7609 | if (moff >= map->init_slots_sz) { | ^~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:7621:17: note: in expansion of macro ‘pr_debug’ 7621 | pr_debug(".maps relo #%d: map '%s' slot [%d] points to %s '%s'\n", | ^~~~~~~~ libbpf.c: In function ‘bpf_object__collect_relos’: libbpf.c:7632:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 7632 | for (i = 0; i < obj->efile.sec_cnt; i++) { | ^ libbpf.c:7645:64: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 7645 | if (shdr->sh_type != SHT_REL || idx < 0 || idx >= obj->efile.sec_cnt) { | ^~ libbpf.c: In function ‘bpf_object__sanitize_prog’: libbpf.c:7686:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 7686 | for (i = 0; i < prog->insns_cnt; i++, insn++) { | ^ libbpf.c: In function ‘bpf_object_load_prog’: libbpf.c:7911:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 7911 | for (i = 0; i < obj->nr_maps; i++) { | ^ libbpf.c: In function ‘fixup_log_failed_core_relo’: libbpf.c:8047:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 8047 | insn_idx, spec_buf, spec_len >= sizeof(spec_buf) ? "..." : ""); | ^~ libbpf.c: In function ‘fixup_log_missing_map_load’: libbpf.c:8073:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 8073 | if (map_idx < 0 || map_idx >= obj->nr_maps) | ^~ libbpf.c: In function ‘fixup_verifier_log’: libbpf.c:8132:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 8132 | for (i = 0; i < max_last_line_cnt; i++, next_line = cur_line) { | ^ libbpf.c: In function ‘find_ksym_btf_id’: libbpf.c:8552:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 8552 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c: In function ‘bpf_object__resolve_ksym_var_btf_id’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:8606:17: note: in expansion of macro ‘pr_warn’ 8606 | pr_warn("extern (var ksym) '%s': incompatible types, expected [%d] %s %s, but kernel has [%d] %s %s\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:8606:17: note: in expansion of macro ‘pr_warn’ 8606 | pr_warn("extern (var ksym) '%s': incompatible types, expected [%d] %s %s, but kernel has [%d] %s %s\n", | ^~~~~~~ libbpf.c: In function ‘bpf_object__resolve_externs’: libbpf_internal.h:170:29: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘long long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:8782:25: note: in expansion of macro ‘pr_debug’ 8782 | pr_debug("extern (kcfg) '%s': set to 0x%llx\n", | ^~~~~~~~ libbpf.c: In function ‘bpf_object_prepare_struct_ops’: libbpf.c:8859:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 8859 | for (i = 0; i < obj->nr_maps; i++) { | ^ libbpf.c: In function ‘bpf_object_unpin’: libbpf.c:8879:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 8879 | for (i = 0; i < obj->nr_maps; i++) | ^ libbpf.c: In function ‘bpf_object_post_load_cleanup’: libbpf.c:8892:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 8892 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c: In function ‘bpf_object__close’: libbpf.c:9462:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 9462 | for (i = 0; i < obj->nr_extern; i++) { | ^ libbpf.c: In function ‘__bpf_program__iter’: libbpf.c:9569:17: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 9569 | if (idx >= obj->nr_programs || idx < 0) | ^~ libbpf.c: In function ‘libbpf_unregister_prog_handler’: libbpf.c:9999:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 9999 | for (i = 0; i < custom_sec_def_cnt; i++) { | ^ libbpf.c:10004:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 10004 | if (i == custom_sec_def_cnt) | ^~ libbpf.c:10008:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 10008 | for (i = i + 1; i < custom_sec_def_cnt; i++) | ^ libbpf.c: In function ‘libbpf_get_type_names’: libbpf.c:10090:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 10090 | for (i = 0; i < ARRAY_SIZE(section_defs); i++) { | ^ libbpf.c:10101:67: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 10101 | if (strlen(buf) + strlen(section_defs[i].sec) + 2 > len) { | ^ libbpf.c: In function ‘bpf_object__collect_st_ops_relos’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 9 has type ‘Elf64_Word’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:10237:17: note: in expansion of macro ‘pr_debug’ 10237 | pr_debug("struct_ops reloc %s: for %lld value %lld shdr_idx %u rel->r_offset %zu map->sec_offset %zu name %d (\'%s\')\n", | ^~~~~~~~ libbpf.c: In function ‘find_btf_by_prefix_kind’: libbpf.c:10340:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 10340 | if (ret < 0 || ret >= sizeof(btf_type_name)) | ^~ libbpf.c: In function ‘libbpf_find_prog_btf_id’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:10386:17: note: in expansion of macro ‘pr_warn’ 10386 | pr_warn("failed bpf_prog_get_info_by_fd for FD %d: %s\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:10399:17: note: in expansion of macro ‘pr_warn’ 10399 | pr_warn("Failed to get BTF %d of the program: %s\n", info.btf_id, errstr(err)); | ^~~~~~~ libbpf.c: In function ‘find_kernel_btf_id’: libbpf.c:10443:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 10443 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c: In function ‘libbpf_find_attach_btf_id’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:10481:25: note: in expansion of macro ‘pr_warn’ 10481 | pr_warn("prog '%s': failed to find BPF program (FD %d) BTF ID for '%s': %s\n", | ^~~~~~~ libbpf.c: In function ‘__bpf_map__iter’: libbpf.c:10874:17: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 10874 | if (idx >= obj->nr_maps || idx < 0) | ^~ libbpf.c: In function ‘validate_map_op’: libbpf_internal.h:170:29: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 7 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:10976:25: note: in expansion of macro ‘pr_warn’ 10976 | pr_warn("map '%s': unexpected value size %zu provided for per-CPU map, expected %d * %zu = %zd\n", | ^~~~~~~ libbpf.c: In function ‘append_to_file’: libbpf.c:11457:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 11457 | if (n < 0 || n >= sizeof(buf)) | ^~ libbpf.c: In function ‘gen_probe_legacy_event_name’: libbpf.c:11517:40: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘__pid_t’ {aka ‘int’} [-Wformat=] 11517 | snprintf(buf, buf_sz, "libbpf_%u_%d_%s_0x%zx", getpid(), | ~^ ~~~~~~~~ | | | | unsigned int __pid_t {aka int} | %u libbpf.c: In function ‘libbpf_available_kallsyms_parse’: libbpf.c:11940:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 11940 | for (i = 0; i < cnt; i++) | ^ libbpf.c: In function ‘attach_kprobe’: libbpf.c:12138:50: warning: format ‘%li’ expects argument of type ‘long int *’, but argument 4 has type ‘long unsigned int *’ [-Wformat=] 12138 | n = sscanf(func_name, "%m[a-zA-Z0-9_.]+%li", &func, &offset); | ~~^ ~~~~~~~ | | | | long int * long unsigned int * | %li libbpf.c: In function ‘elf_find_func_offset_from_archive’: libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:12384:17: note: in expansion of macro ‘pr_debug’ 12384 | pr_debug("elf: symbol address match for %s of %s in %s: 0x%x + 0x%lx = 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:12384:17: note: in expansion of macro ‘pr_debug’ 12384 | pr_debug("elf: symbol address match for %s of %s in %s: 0x%x + 0x%lx = 0x%lx\n", | ^~~~~~~~ libbpf.c: In function ‘resolve_full_path’: libbpf.c:12448:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 12448 | for (i = 0; i < ARRAY_SIZE(search_paths); i++) { | ^ libbpf.c:12460:47: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 12460 | seg_len = next_path ? next_path - s : strlen(s); | ^~~~~~~~~~~~~ libbpf.c: In function ‘determine_tracepoint_id’: libbpf.c:12906:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 12906 | if (ret >= sizeof(file)) { | ^~ libbpf.c: In function ‘__perf_buffer__new’: libbpf.c:13892:56: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 13892 | if (map.max_entries && map.max_entries < pb->cpu_cnt) | ^ libbpf.c: In function ‘perf_buffer__process_record’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:14010:17: note: in expansion of macro ‘pr_warn’ 14010 | pr_warn("unknown perf sample type %d\n", e->type); | ^~~~~~~ libbpf.c: In function ‘perf_buffer__buffer_fd’: libbpf.c:14072:21: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 14072 | if (buf_idx >= pb->cpu_cnt) | ^~ libbpf.c: In function ‘perf_buffer__consume_buffer’: libbpf.c:14110:21: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 14110 | if (buf_idx >= pb->cpu_cnt) | ^~ libbpf.c: In function ‘parse_cpu_mask_file’: libbpf.c:14285:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 14285 | if (len >= sizeof(buf)) { | ^~ libbpf.c: In function ‘populate_skeleton_maps’: libbpf.c:14326:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 14326 | for (i = 0; i < map_cnt; i++) { | ^ libbpf.c: In function ‘populate_skeleton_progs’: libbpf.c:14351:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 14351 | for (i = 0; i < prog_cnt; i++) { | ^ libbpf.c: In function ‘bpf_object__attach_skeleton’: libbpf.c:14544:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 14544 | if (s->map_skel_sz < offsetofend(struct bpf_map_skeleton, link)) { | ^ libbpf.c: In function ‘bpf_object__detach_skeleton’: libbpf.c:14584:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 14584 | if (s->map_skel_sz < sizeof(struct bpf_map_skeleton)) | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' ar rcs /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/libbpf.a /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/bpf.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/btf.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/libbpf.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/libbpf_utils.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/netlink.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/nlattr.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/libbpf_probes.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/bpf_prog_linfo.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/btf_dump.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/hashmap.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/ringbuf.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/strset.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/linker.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/gen_loader.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/relo_core.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/usdt.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/zip.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/elf.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/features.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/btf_iter.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/staticobjs/btf_relocate.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -MMD json_writer.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/json_writer.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -MMD sign.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/sign.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' gcc -I. -I../include -I../include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-unknown-warning-option -Wno-format-overflow -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -c libbpf.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/libbpf.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' libbpf.c: In function ‘bpf_object__add_programs’: libbpf.c:915:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 915 | for (i = 0; i < nr_syms; i++) { | ^ libbpf.c: In function ‘bpf_object_bswap_progs’: libbpf.c:992:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 992 | for (p = 0; p < obj->nr_programs; p++, prog++) { | ^ libbpf.c:994:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 994 | for (i = 0; i < prog->insns_cnt; i++, insn++) | ^ libbpf.c: In function ‘find_struct_ops_kern_types’: libbpf.c:1083:44: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘__s32’ {aka ‘int’} [-Wsign-compare] 1083 | if (kern_data_member->type == kern_type_id) | ^~ libbpf.c: In function ‘is_valid_st_ops_program’: libbpf.c:1111:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1111 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function ‘bpf_object_adjust_struct_ops_autoload’: libbpf.c:1130:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1130 | for (i = 0; i < obj->nr_programs; ++i) { | ^ libbpf.c:1138:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1138 | for (j = 0; j < obj->nr_maps; ++j) { | ^ In file included from libbpf.c:53: libbpf.c: In function ‘init_struct_ops_maps’: libbpf_internal.h:170:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘__s32’ {aka ‘int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:1484:17: note: in expansion of macro ‘pr_debug’ 1484 | pr_debug("struct_ops init: struct %s(type_id=%u) %s found at offset %u\n", | ^~~~~~~~ libbpf.c: In function ‘bpf_object_init_struct_ops’: libbpf.c:1496:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1496 | for (sec_idx = 0; sec_idx < obj->efile.sec_cnt; ++sec_idx) { | ^ libbpf.c: In function ‘internal_map_name’: libbpf.c:1902:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 1902 | if (sfx_len >= BPF_OBJ_NAME_LEN) | ^~ libbpf.c: In function ‘bpf_object__init_global_data_maps’: libbpf.c:2025:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2025 | for (sec_idx = 1; sec_idx < obj->efile.sec_cnt; sec_idx++) { | ^ libbpf.c: In function ‘find_extern_by_name_with_len’: libbpf.c:2086:38: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2086 | if (strlen(ext_name) == len && strncmp(ext_name, name, len) == 0) | ^~ libbpf.c: In function ‘set_kcfg_value_str’: libbpf.c:2147:17: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 2147 | if (len >= ext->kcfg.sz) { | ^~ libbpf.c: In function ‘pathname_concat’: libbpf.c:2545:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 2545 | if (len >= buf_sz) | ^~ libbpf.c: In function ‘parse_btf_map_def’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:2624:33: note: in expansion of macro ‘pr_warn’ 2624 | pr_warn("map '%s': key type [%d] not found.\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:2664:33: note: in expansion of macro ‘pr_warn’ 2664 | pr_warn("map '%s': value type [%d] not found.\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:2718:33: note: in expansion of macro ‘pr_warn’ 2718 | pr_warn("map '%s': %s type [%d] not found.\n", | ^~~~~~~ libbpf.c: In function ‘bpf_object__init_user_btf_maps’: libbpf.c:3067:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 3067 | for (i = 0; i < obj->nr_maps; i++) { | ^ libbpf.c: In function ‘bpf_object__sanitize_btf’: libbpf.c:3160:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 3160 | for (i = 1; i < btf__type_cnt(btf); i++) { | ^ libbpf.c: In function ‘bpf_object__init_btf’: libbpf.c:3306:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 3306 | for (seg_num = 0; seg_num < ARRAY_SIZE(ext_segs); seg_num++) { | ^ libbpf.c: In function ‘btf_fixup_datasec’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:3416:25: note: in expansion of macro ‘pr_debug’ 3416 | pr_debug("sec '%s': failed to find name of DATASEC's member #%d\n", | ^~~~~~~~ libbpf.c: In function ‘bpf_object__sanitize_and_load_btf’: libbpf.c:3577:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 3577 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function ‘bpf_object__elf_collect’: libbpf_internal.h:170:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:3923:17: note: in expansion of macro ‘pr_debug’ 3923 | pr_debug("elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n", | ^~~~~~~~ libbpf.c:3994:42: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 3994 | targ_sec_idx >= obj->efile.sec_cnt) | ^~ libbpf.c:4024:59: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 4024 | if (!obj->efile.strtabidx || obj->efile.strtabidx > idx) { | ^ libbpf.c: In function ‘find_extern_sec_btf_id’: libbpf.c:4118:38: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 4118 | if (vs->type == ext_btf_id) | ^~ libbpf.c: In function ‘bpf_object__collect_externs’: libbpf_internal.h:170:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:4446:25: note: in expansion of macro ‘pr_debug’ 4446 | pr_debug("extern (kcfg) #%d: symbol %d, off %u, name %s\n", | ^~~~~~~~ libbpf.c: In function ‘prog_is_subprog’: libbpf.c:4471:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 4471 | return prog->sec_idx == obj->efile.text_shndx; | ^~ libbpf.c: In function ‘bpf_prog_compute_hash’: libbpf.c:4538:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 4538 | for (i = 0; i < prog->insns_cnt; i++) { | ^ libbpf.c:4545:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 4545 | if (i >= prog->insns_cnt || | ^~ libbpf.c: In function ‘bpf_program__record_reloc’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:4578:17: note: in expansion of macro ‘pr_warn’ 4578 | pr_warn("prog '%s': invalid relo against '%s' for insns[%d].code 0x%x\n", | ^~~~~~~ libbpf.c:4616:43: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 4616 | if (!shdr_idx || shdr_idx != obj->efile.text_shndx) { | ^~ libbpf.c:4660:22: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 4660 | if (shdr_idx == obj->efile.arena_data_shndx) { | ^~ libbpf.c:4679:22: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 4679 | if (shdr_idx == obj->efile.jumptables_data_shndx) { | ^~ libbpf_internal.h:170:29: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 4 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:4701:25: note: in expansion of macro ‘pr_debug’ 4701 | pr_debug("prog '%s': found map %zd (%s, sec %d, off %zu) for insn #%u\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 4 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:4728:17: note: in expansion of macro ‘pr_debug’ 4728 | pr_debug("prog '%s': found data map %zd (%s, sec %d, off %zu) for insn %u\n", | ^~~~~~~~ libbpf.c: In function ‘bpf_get_map_info_from_fdinfo’: libbpf.c:4937:53: warning: format ‘%i’ expects argument of type ‘int *’, but argument 3 has type ‘__u32 *’ {aka ‘unsigned int *’} [-Wformat=] 4937 | else if (sscanf(buff, "map_flags:\t%i", &val) == 1) | ~^ ~~~~ | | | | | __u32 * {aka unsigned int *} | int * | %i libbpf.c: In function ‘init_map_in_map_slots’: libbpf.c:5449:23: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 5449 | for (i = 0; i < map->init_slots_sz; i++) { | ^ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:5465:25: note: in expansion of macro ‘pr_warn’ 5465 | pr_warn("map '%s': failed to initialize slot [%d] to map '%s' fd=%d: %s\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:5469:17: note: in expansion of macro ‘pr_debug’ 5469 | pr_debug("map '%s': slot [%d] set to map '%s' fd=%d\n", | ^~~~~~~~ libbpf.c: In function ‘init_prog_array_slots’: libbpf.c:5488:23: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 5488 | for (i = 0; i < map->init_slots_sz; i++) { | ^ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:5498:25: note: in expansion of macro ‘pr_warn’ 5498 | pr_warn("map '%s': failed to initialize slot [%d] to prog '%s' fd=%d: %s\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:5502:17: note: in expansion of macro ‘pr_debug’ 5502 | pr_debug("map '%s': slot [%d] set to prog '%s' fd=%d\n", | ^~~~~~~~ libbpf.c: In function ‘bpf_object_init_prog_arrays’: libbpf.c:5517:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 5517 | for (i = 0; i < obj->nr_maps; i++) { | ^ libbpf.c: In function ‘bpf_core_add_cands’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:5732:17: note: in expansion of macro ‘pr_debug’ 5732 | pr_debug("CO-RE relocating [%d] %s %s: found target candidate [%d] %s %s in [%s]\n", | ^~~~~~~~ libbpf.c: In function ‘load_module_btfs’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:5792:25: note: in expansion of macro ‘pr_warn’ 5792 | pr_warn("failed to get BTF object #%d FD: %s\n", id, errstr(err)); | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:5804:25: note: in expansion of macro ‘pr_warn’ 5804 | pr_warn("failed to get BTF object #%d info: %s\n", id, errstr(err)); | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:5817:25: note: in expansion of macro ‘pr_warn’ 5817 | pr_warn("failed to load module [%s]'s BTF object #%d: %s\n", | ^~~~~~~ libbpf.c: In function ‘bpf_core_find_cands’: libbpf.c:5892:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 5892 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c: In function ‘bpf_core_resolve_relo’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:6010:25: note: in expansion of macro ‘pr_warn’ 6010 | pr_warn("prog '%s': relo #%d: target candidate search failed for [%d] %s %s: %ld\n", | ^~~~~~~ libbpf.c: In function ‘bpf_object__relocate_core’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:6070:17: note: in expansion of macro ‘pr_debug’ 6070 | pr_debug("sec '%s': found %d CO-RE relocations\n", sec_name, sec->num_info); | ^~~~~~~~ libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ libbpf.c:6072:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 6072 | for_each_btf_ext_rec(seg, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf.c:6101:38: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6101 | if (insn_idx >= prog->insns_cnt) | ^~ libbpf_internal.h:170:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 5 has type ‘int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:6124:33: note: in expansion of macro ‘pr_warn’ 6124 | pr_warn("prog '%s': relo #%d: failed to patch insn #%u: %s\n", | ^~~~~~~ In file included from libbpf.c:54: hashmap.h:169:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 169 | for (bkt = 0; bkt < (map)->cap; bkt++) \ | ^ libbpf.c:6137:17: note: in expansion of macro ‘hashmap__for_each_entry’ 6137 | hashmap__for_each_entry(cand_cache, entry, i) { | ^~~~~~~~~~~~~~~~~~~~~~~ libbpf.c: In function ‘find_subprog_idx’: libbpf.c:6241:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 6241 | if (insn_idx >= prog->subprogs[i].sub_insn_off) | ^~ libbpf.c: In function ‘create_jt_map’: libbpf_internal.h:170:29: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 3 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:6289:17: note: in expansion of macro ‘pr_warn’ 6289 | pr_warn("map '.jumptables': jumptables_data size is %zd, trying to access %d\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:6289:17: note: in expansion of macro ‘pr_warn’ 6289 | pr_warn("map '.jumptables': jumptables_data size is %zd, trying to access %d\n", | ^~~~~~~ libbpf.c:6296:50: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6296 | if (relo->insn_idx < 0 || relo->insn_idx >= prog->insns_cnt) { | ^~ libbpf_internal.h:170:29: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘long long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:6323:25: note: in expansion of macro ‘pr_warn’ 6323 | pr_warn("map '.jumptables': invalid jump table value 0x%llx at offset %u\n", | ^~~~~~~ libbpf.c: In function ‘bpf_object__relocate_data’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:6460:25: note: in expansion of macro ‘pr_warn’ 6460 | pr_warn("prog '%s': relo #%d: bad relo type %d\n", | ^~~~~~~ libbpf.c: In function ‘adjust_prog_btf_ext_info’: libbpf.c:6485:35: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 6485 | if (prog->sec_idx != sec_idx) | ^~ libbpf_internal.h:459:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 459 | i < (sec)->num_info; \ | ^ libbpf.c:6488:17: note: in expansion of macro ‘for_each_btf_ext_rec’ 6488 | for_each_btf_ext_rec(ext_info, sec, i, rec) { | ^~~~~~~~~~~~~~~~~~~~ libbpf.c: In function ‘cmp_relo_by_insn_idx’: libbpf.c:6614:22: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 6614 | if (insn_idx == relo->insn_idx) | ^~ libbpf.c:6616:25: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 6616 | return insn_idx < relo->insn_idx ? -1 : 1; | ^ libbpf.c: In function ‘bpf_object__reloc_code’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:6740:25: note: in expansion of macro ‘pr_warn’ 6740 | pr_warn("prog '%s': unexpected relo for insn #%zu, type %d\n", | ^~~~~~~ libbpf.c: In function ‘bpf_object__relocate_calls’: libbpf.c:6913:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6913 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function ‘bpf_object__free_relocs’: libbpf.c:6935:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6935 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function ‘bpf_object__sort_relos’: libbpf.c:6961:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 6961 | for (i = 0; i < obj->nr_programs; i++) { | ^ libbpf.c: In function ‘bpf_prog_assign_exc_cb’: libbpf.c:7017:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 7017 | for (j = 0; j < obj->nr_programs; j++) { | ^ libbpf.c: In function ‘bpf_program_fixup_func_info’: libbpf.c:7256:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 7256 | for (i = 0; i < ARRAY_SIZE(global_ctx_map); i++) { | ^ libbpf.c:7269:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 7269 | for (i = 0; i < prog->func_info_cnt; i++) { | ^ libbpf.c:7299:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 7299 | for (rec_idx = 0; rec_idx < prog->func_info_cnt; rec_idx++) { | ^ libbpf.c:7300:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__u32’ {aka ‘unsigned int’} [-Wsign-compare] 7300 | if (orig_ids[rec_idx] == t->type) { | ^~ libbpf.c:7322:39: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 7322 | if (func_rec->type_id == orig_fn_id) { | ^~ libbpf.c: In function ‘bpf_object__relocate’: libbpf.c:7405:31: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 7405 | for (j = 0; j < prog->nr_reloc; j++) { | ^ libbpf.c: In function ‘bpf_object__collect_map_relos’: libbpf_internal.h:170:29: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 5 has type ‘long unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:7530:17: note: in expansion of macro ‘pr_debug’ 7530 | pr_debug(".maps relo #%d: for %zd value %zd rel->r_offset %zu name %d ('%s')\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘Elf64_Word’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:7530:17: note: in expansion of macro ‘pr_debug’ 7530 | pr_debug(".maps relo #%d: for %zd value %zd rel->r_offset %zu name %d ('%s')\n", | ^~~~~~~~ libbpf.c:7534:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 7534 | for (j = 0; j < obj->nr_maps; j++) { | ^ libbpf.c:7544:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 7544 | if (j == obj->nr_maps) { | ^~ libbpf.c:7609:26: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 7609 | if (moff >= map->init_slots_sz) { | ^~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘unsigned int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:7621:17: note: in expansion of macro ‘pr_debug’ 7621 | pr_debug(".maps relo #%d: map '%s' slot [%d] points to %s '%s'\n", | ^~~~~~~~ libbpf.c: In function ‘bpf_object__collect_relos’: libbpf.c:7632:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 7632 | for (i = 0; i < obj->efile.sec_cnt; i++) { | ^ libbpf.c:7645:64: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 7645 | if (shdr->sh_type != SHT_REL || idx < 0 || idx >= obj->efile.sec_cnt) { | ^~ libbpf.c: In function ‘bpf_object__sanitize_prog’: libbpf.c:7686:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 7686 | for (i = 0; i < prog->insns_cnt; i++, insn++) { | ^ libbpf.c: In function ‘bpf_object_load_prog’: libbpf.c:7911:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 7911 | for (i = 0; i < obj->nr_maps; i++) { | ^ libbpf.c: In function ‘fixup_log_failed_core_relo’: libbpf.c:8047:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 8047 | insn_idx, spec_buf, spec_len >= sizeof(spec_buf) ? "..." : ""); | ^~ libbpf.c: In function ‘fixup_log_missing_map_load’: libbpf.c:8073:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 8073 | if (map_idx < 0 || map_idx >= obj->nr_maps) | ^~ libbpf.c: In function ‘fixup_verifier_log’: libbpf.c:8132:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 8132 | for (i = 0; i < max_last_line_cnt; i++, next_line = cur_line) { | ^ libbpf.c: In function ‘find_ksym_btf_id’: libbpf.c:8552:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 8552 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c: In function ‘bpf_object__resolve_ksym_var_btf_id’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:8606:17: note: in expansion of macro ‘pr_warn’ 8606 | pr_warn("extern (var ksym) '%s': incompatible types, expected [%d] %s %s, but kernel has [%d] %s %s\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:8606:17: note: in expansion of macro ‘pr_warn’ 8606 | pr_warn("extern (var ksym) '%s': incompatible types, expected [%d] %s %s, but kernel has [%d] %s %s\n", | ^~~~~~~ libbpf.c: In function ‘bpf_object__resolve_externs’: libbpf_internal.h:170:29: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 4 has type ‘long long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:8782:25: note: in expansion of macro ‘pr_debug’ 8782 | pr_debug("extern (kcfg) '%s': set to 0x%llx\n", | ^~~~~~~~ libbpf.c: In function ‘bpf_object_prepare_struct_ops’: libbpf.c:8859:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 8859 | for (i = 0; i < obj->nr_maps; i++) { | ^ libbpf.c: In function ‘bpf_object_unpin’: libbpf.c:8879:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 8879 | for (i = 0; i < obj->nr_maps; i++) | ^ libbpf.c: In function ‘bpf_object_post_load_cleanup’: libbpf.c:8892:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 8892 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c: In function ‘bpf_object__close’: libbpf.c:9462:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 9462 | for (i = 0; i < obj->nr_extern; i++) { | ^ libbpf.c: In function ‘__bpf_program__iter’: libbpf.c:9569:17: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 9569 | if (idx >= obj->nr_programs || idx < 0) | ^~ libbpf.c: In function ‘libbpf_unregister_prog_handler’: libbpf.c:9999:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 9999 | for (i = 0; i < custom_sec_def_cnt; i++) { | ^ libbpf.c:10004:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 10004 | if (i == custom_sec_def_cnt) | ^~ libbpf.c:10008:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 10008 | for (i = i + 1; i < custom_sec_def_cnt; i++) | ^ libbpf.c: In function ‘libbpf_get_type_names’: libbpf.c:10090:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 10090 | for (i = 0; i < ARRAY_SIZE(section_defs); i++) { | ^ libbpf.c:10101:67: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 10101 | if (strlen(buf) + strlen(section_defs[i].sec) + 2 > len) { | ^ libbpf.c: In function ‘bpf_object__collect_st_ops_relos’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 9 has type ‘Elf64_Word’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:10237:17: note: in expansion of macro ‘pr_debug’ 10237 | pr_debug("struct_ops reloc %s: for %lld value %lld shdr_idx %u rel->r_offset %zu map->sec_offset %zu name %d (\'%s\')\n", | ^~~~~~~~ libbpf.c: In function ‘find_btf_by_prefix_kind’: libbpf.c:10340:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 10340 | if (ret < 0 || ret >= sizeof(btf_type_name)) | ^~ libbpf.c: In function ‘libbpf_find_prog_btf_id’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:10386:17: note: in expansion of macro ‘pr_warn’ 10386 | pr_warn("failed bpf_prog_get_info_by_fd for FD %d: %s\n", | ^~~~~~~ libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:10399:17: note: in expansion of macro ‘pr_warn’ 10399 | pr_warn("Failed to get BTF %d of the program: %s\n", info.btf_id, errstr(err)); | ^~~~~~~ libbpf.c: In function ‘find_kernel_btf_id’: libbpf.c:10443:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 10443 | for (i = 0; i < obj->btf_module_cnt; i++) { | ^ libbpf.c: In function ‘libbpf_find_attach_btf_id’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:10481:25: note: in expansion of macro ‘pr_warn’ 10481 | pr_warn("prog '%s': failed to find BPF program (FD %d) BTF ID for '%s': %s\n", | ^~~~~~~ libbpf.c: In function ‘__bpf_map__iter’: libbpf.c:10874:17: warning: comparison of integer expressions of different signedness: ‘ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 10874 | if (idx >= obj->nr_maps || idx < 0) | ^~ libbpf.c: In function ‘validate_map_op’: libbpf_internal.h:170:29: warning: format ‘%zd’ expects argument of type ‘signed size_t’, but argument 7 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:10976:25: note: in expansion of macro ‘pr_warn’ 10976 | pr_warn("map '%s': unexpected value size %zu provided for per-CPU map, expected %d * %zu = %zd\n", | ^~~~~~~ libbpf.c: In function ‘append_to_file’: libbpf.c:11457:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 11457 | if (n < 0 || n >= sizeof(buf)) | ^~ libbpf.c: In function ‘gen_probe_legacy_event_name’: libbpf.c:11517:40: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘__pid_t’ {aka ‘int’} [-Wformat=] 11517 | snprintf(buf, buf_sz, "libbpf_%u_%d_%s_0x%zx", getpid(), | ~^ ~~~~~~~~ | | | | unsigned int __pid_t {aka int} | %u libbpf.c: In function ‘libbpf_available_kallsyms_parse’: libbpf.c:11940:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 11940 | for (i = 0; i < cnt; i++) | ^ libbpf.c: In function ‘attach_kprobe’: libbpf.c:12138:50: warning: format ‘%li’ expects argument of type ‘long int *’, but argument 4 has type ‘long unsigned int *’ [-Wformat=] 12138 | n = sscanf(func_name, "%m[a-zA-Z0-9_.]+%li", &func, &offset); | ~~^ ~~~~~~~ | | | | long int * long unsigned int * | %li libbpf.c: In function ‘elf_find_func_offset_from_archive’: libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 7 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:12384:17: note: in expansion of macro ‘pr_debug’ 12384 | pr_debug("elf: symbol address match for %s of %s in %s: 0x%x + 0x%lx = 0x%lx\n", | ^~~~~~~~ libbpf_internal.h:170:29: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 8 has type ‘long int’ [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:175:33: note: in expansion of macro ‘__pr’ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:12384:17: note: in expansion of macro ‘pr_debug’ 12384 | pr_debug("elf: symbol address match for %s of %s in %s: 0x%x + 0x%lx = 0x%lx\n", | ^~~~~~~~ libbpf.c: In function ‘resolve_full_path’: libbpf.c:12448:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 12448 | for (i = 0; i < ARRAY_SIZE(search_paths); i++) { | ^ libbpf.c:12460:47: warning: operand of ‘?:’ changes signedness from ‘long int’ to ‘size_t’ {aka ‘long unsigned int’} due to unsignedness of other operand [-Wsign-compare] 12460 | seg_len = next_path ? next_path - s : strlen(s); | ^~~~~~~~~~~~~ libbpf.c: In function ‘determine_tracepoint_id’: libbpf.c:12906:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 12906 | if (ret >= sizeof(file)) { | ^~ libbpf.c: In function ‘__perf_buffer__new’: libbpf.c:13892:56: warning: comparison of integer expressions of different signedness: ‘__u32’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 13892 | if (map.max_entries && map.max_entries < pb->cpu_cnt) | ^ libbpf.c: In function ‘perf_buffer__process_record’: libbpf_internal.h:170:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘__u32’ {aka ‘unsigned int’} [-Wformat=] 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ | ^~~~~~~~~~ libbpf_internal.h:173:33: note: in expansion of macro ‘__pr’ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) | ^~~~ libbpf.c:14010:17: note: in expansion of macro ‘pr_warn’ 14010 | pr_warn("unknown perf sample type %d\n", e->type); | ^~~~~~~ libbpf.c: In function ‘perf_buffer__buffer_fd’: libbpf.c:14072:21: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 14072 | if (buf_idx >= pb->cpu_cnt) | ^~ libbpf.c: In function ‘perf_buffer__consume_buffer’: libbpf.c:14110:21: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 14110 | if (buf_idx >= pb->cpu_cnt) | ^~ libbpf.c: In function ‘parse_cpu_mask_file’: libbpf.c:14285:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 14285 | if (len >= sizeof(buf)) { | ^~ libbpf.c: In function ‘populate_skeleton_maps’: libbpf.c:14326:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 14326 | for (i = 0; i < map_cnt; i++) { | ^ libbpf.c: In function ‘populate_skeleton_progs’: libbpf.c:14351:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 14351 | for (i = 0; i < prog_cnt; i++) { | ^ libbpf.c: In function ‘bpf_object__attach_skeleton’: libbpf.c:14544:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 14544 | if (s->map_skel_sz < offsetofend(struct bpf_map_skeleton, link)) { | ^ libbpf.c: In function ‘bpf_object__detach_skeleton’: libbpf.c:14584:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 14584 | if (s->map_skel_sz < sizeof(struct bpf_map_skeleton)) | ^ At top level: cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -MMD main.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/main.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make[1]: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' ar rcs /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/libbpf.a /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/bpf.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/btf.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/libbpf.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/libbpf_utils.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/netlink.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/nlattr.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/libbpf_probes.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/bpf_prog_linfo.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/btf_dump.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/hashmap.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/ringbuf.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/strset.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/linker.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/gen_loader.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/relo_core.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/usdt.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/zip.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/elf.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/features.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/btf_iter.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/staticobjs/btf_relocate.o make[1]: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/libbpf/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD cfg.c -o cfg.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -MMD common.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/common.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD btf_dumper.c -o btf_dumper.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -MMD btf.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/btf.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD cgroup.c -o cgroup.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' clang \ -Wno-microsoft-anon-tag \ -fms-extensions \ -I. \ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi/ \ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/include \ -g -O2 -Wall -fno-stack-protector \ --target=bpf -c skeleton/profiler.bpf.c -o profiler.bpf.o llvm-strip -g profiler.bpf.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' clang \ -Wno-microsoft-anon-tag \ -fms-extensions \ -I. \ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi/ \ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/include \ -g -O2 -Wall -fno-stack-protector \ --target=bpf -c skeleton/pid_iter.bpf.c -o pid_iter.bpf.o llvm-strip -g pid_iter.bpf.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -MMD gen.c -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/gen.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD json_writer.c -o json_writer.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD jit_disasm.c -o jit_disasm.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD iter.c -o iter.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD common.c -o common.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD btf.c -o btf.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD map_perf_ring.c -o map_perf_ring.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD main.c -o main.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD feature.c -o feature.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD perf.c -o perf.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD netlink_dumper.c -o netlink_dumper.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD token.c -o token.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD link.c -o link.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD struct_ops.c -o struct_ops.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD net.c -o net.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD sign.c -o sign.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/main.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/common.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/json_writer.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/gen.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/btf.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/sign.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/libbpf/libbpf.a -lelf -lcrypto -lz -lzstd -o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/bpftool make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/bpftool gen skeleton profiler.bpf.o > profiler.skel.h make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/bootstrap/bpftool gen skeleton pid_iter.bpf.o > pid_iter.skel.h make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD tracelog.c -o tracelog.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD map.c -o map.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/disasm.c -o disasm.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD xlated_dumper.c -o xlated_dumper.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD pids.c -o pids.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD gen.c -o gen.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -c -MMD prog.c -o prog.o make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -W -Wall -Wextra -Wformat-signedness -Wno-unused-parameter -Wno-missing-field-initializers -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpacked -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-default -Wundef -Wwrite-strings -DPACKAGE='"bpftool"' -D__EXPORTED_HEADERS__ -I. -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/kernel/bpf/ -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include -I/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/include/uapi -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DUSE_LIBCAP -DHAVE_LLVM_SUPPORT -I/usr/lib64/llvm23/include -D_GLIBCXX_USE_CXX11_ABI=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -L/usr/lib64/llvm23/lib64 btf.o btf_dumper.o cfg.o cgroup.o common.o feature.o gen.o iter.o jit_disasm.o json_writer.o link.o main.o map.o map_perf_ring.o net.o netlink_dumper.o perf.o pids.o prog.o sign.o struct_ops.o token.o tracelog.o xlated_dumper.o disasm.o /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src/libbpf/libbpf.a -lelf -lcrypto -lz -lzstd -lcap -lLLVM-23 -o bpftool make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6eX7mh + umask 022 + cd /builddir/build/BUILD/bpftool-7.7.0-build + '[' /builddir/build/BUILD/bpftool-7.7.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/bpftool-7.7.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/bpftool-7.7.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/bpftool-7.7.0-build + mkdir /builddir/build/BUILD/bpftool-7.7.0-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bpftool-libbpf-v7.7.0-sources + /usr/bin/make install DESTDIR=/builddir/build/BUILD/bpftool-7.7.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p' -C src/ prefix=/usr bash_compdir=/usr/share/bash-completion/completions mandir=/usr/share/man doc-install make: Entering directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' ... libbfd: [ OFF ] ... clang-bpf-co-re: [ on ] ... llvm: [ on ] ... libcap: [ on ] GEN vmlinux.h skipping /sys/kernel/btf/vmlinux (will be loaded as base) CLANG pid_iter.bpf.o GEN pid_iter.skel.h CC pids.o CLANG profiler.bpf.o GEN profiler.skel.h CC prog.o LINK bpftool INSTALL bpftool DESCEND /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/docs GEN bpftool-btf.8 GEN bpftool-cgroup.8 GEN bpftool-feature.8 GEN bpftool-gen.8 GEN bpftool-iter.8 GEN bpftool-link.8 GEN bpftool-map.8 GEN bpftool-net.8 GEN bpftool-perf.8 GEN bpftool-prog.8 GEN bpftool-struct_ops.8 GEN bpftool-token.8 GEN bpftool.8 INSTALL Documentation-man make: Leaving directory '/builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources/src' + mv /builddir/build/BUILD/bpftool-7.7.0-build/BUILDROOT/usr/sbin /builddir/build/BUILD/bpftool-7.7.0-build/BUILDROOT/usr/bin + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 7.7.0-3.fc45 --unique-debug-suffix -7.7.0-3.fc45.riscv64 --unique-debug-src-base bpftool-7.7.0-3.fc45.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/bpftool-7.7.0-build/bpftool-libbpf-v7.7.0-sources find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/bpftool-7.7.0-3.fc45.riscv64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/bpftool-7.7.0-build/BUILDROOT Scanned 33 directories and 110 files, processed 13 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/bpftool-7.7.0-build/BUILDROOT/usr Scanned 32 directories and 110 files, considered 110 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Reading /builddir/build/BUILD/bpftool-7.7.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: bpftool-7.7.0-3.fc45.riscv64 Provides: bpftool = 7.7.0-3.fc45 bpftool(riscv-64) = 7.7.0-3.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: filesystem(unmerged-sbin-symlinks) ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libLLVM.so.23.1()(64bit) libLLVM.so.23.1(LLVM_23.1)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libcap.so.2()(64bit) libcrypto.so.4()(64bit) libcrypto.so.4(OPENSSL_4.0.0)(64bit) libelf.so.1()(64bit) libelf.so.1(ELFUTILS_1.0)(64bit) libelf.so.1(ELFUTILS_1.3)(64bit) libelf.so.1(ELFUTILS_1.5)(64bit) libelf.so.1(ELFUTILS_1.6)(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.3.3)(64bit) rtld(GNU_HASH) Processing files: bpftool-debugsource-7.7.0-3.fc45.riscv64 Provides: bpftool-debugsource = 7.7.0-3.fc45 bpftool-debugsource(riscv-64) = 7.7.0-3.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bpftool-debuginfo-7.7.0-3.fc45.riscv64 Provides: bpftool-debuginfo = 7.7.0-3.fc45 bpftool-debuginfo(riscv-64) = 7.7.0-3.fc45 debuginfo(build-id) = f0e986166a742eb8d43af41e6f01332085fe8965 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bpftool-debugsource(riscv-64) = 7.7.0-3.fc45 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/bpftool-7.7.0-build/BUILDROOT Wrote: /builddir/build/RPMS/bpftool-7.7.0-3.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/bpftool-debuginfo-7.7.0-3.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/bpftool-debugsource-7.7.0-3.fc45.riscv64.rpm Child return code was: 0