boulder v0.26.1 (Git ref c90cc1352da2a41d926f61a2ce478ad191170f4c-dirty) └─ building bpftool-7.6.0-5-1 Refreshed repo0 The following package(s) will be installed: acl 2.3.2-5 attr 2.5.2-6 bash 5.3.9-29 binutils 2.46.0+git.908827bf-27 binutils-devel 2.46.0+git.908827bf-27 binutils-gprofng 2.46.0+git.908827bf-27 binutils-libs 2.46.0+git.908827bf-27 blake3 1.8.3-6 boulder 0.26.1+git.d022b29-139 brotli-libs 1.2.0-9 bsdtar 3.8.6-23 bsdtar-static 3.8.6-23 bzip2-libs 1.0.8-7 ca-certificates 20250516-17 ca-certificates-mozilla 3.121-41 ca-certificates-utils 20250516-17 clang 22.1.1-47 clang-libs 22.1.1-47 compiler-rt 22.1.1-47 coreutils 0.6.0-33 cracklib 2.10.3-3 cryptsetup-libs 2.8.4-11 curl-libs 8.19.0-30 cyrus-sasl-libs 2.1.28-5 dash 0.5.13.1-16 device-mapper-libs 2.03.38-13 diffutils 3.12-6 docutils 0.22.4-5 elfutils-libs 0.194-12 envsubst 1.0-11 expat 2.7.4-11 file 5.47-11 findutils 4.10.0-4 gawk 5.4.0-9 gcc 15.2.0+git.6bdd48e5-19 gdbm-libs 1.26-7 git 2.53.0-23 glib2 2.86.4-35 glibc 2.43+git.c3ceb93d-35 glibc-devel 2.43+git.c3ceb93d-35 gmp 6.3.0-5 gpm-libs 1.20.7-4 grep 3.12-7 gzip 1.14-6 helix 25.07.01-8 hwloc-libs 2.13.0-6 iana-etc 20251120-3 icu-libs 78.2-12 isl 0.27-2 jansson 2.15.0-5 json-c 0.18-5 kbd 2.9.0-9 keyutils 1.6.3-4 kmod-libs 34.2-10 krb5-libs 1.22.2-5 layout 0.1.0-8 less 692-15 libarchive 3.8.6-23 libatomic 15.2.0+git.6bdd48e5-19 libb2 0.98.1-2 libblkid 2.41.3-18 libbpf 1.6.3-7 libcap 2.77-12 libcap-devel 2.77-12 libcap-ng 0.8.5-5 libcom_err 1.47.4-7 libeconf 0.7.10-6 libedit 20251016-3.1-5 libedit-devel 20251016-3.1-5 libelf 0.194-12 libelf-devel 0.194-12 libfdisk 2.41.3-18 libffi 3.5.2-9 libgcc 15.2.0+git.6bdd48e5-19 libgcc-static 15.2.0+git.6bdd48e5-19 libgcrypt 1.12.1-10 libgomp 15.2.0+git.6bdd48e5-19 libgpg-error 1.59-8 libidn2 2.3.8-5 libmount 2.41.3-18 libpciaccess 0.18.1-5 libpsl 0.21.5-4 libpwquality 1.4.5-3 libseccomp 2.6.0-6 libsecret 0.21.7-8 libsmartcols 2.41.3-18 libsodium 1.0.21+git.f6c18801-4 libssh2 1.11.1-3 libstdc++ 15.2.0+git.6bdd48e5-19 libstdc++-devel 15.2.0+git.6bdd48e5-19 libstone 0.26.1+git.647000c-7 libtasn1 4.21.0-4 libunistring 1.4.2-7 libutempter 1.2.1-2 libuuid 2.41.3-18 libxcrypt 4.5.2-10 libxkbcommon 1.13.1-15 libxml2 2.15.1-18 linux-headers 6.19-28 linux-pam-libs 1.7.2-19 lld 22.1.1-47 lld-libs 22.1.1-47 llvm 22.1.1-47 llvm-devel 22.1.1-47 llvm-libs 22.1.1-47 lz4 1.10.0-4 lzo 2.10-2 make 4.4.1-4 mimalloc 2.2.7-11 mlir 22.1.1-47 mlir-devel 22.1.1-47 mpc 1.3.1-3 mpdecimal 4.0.1-2 mpfr 4.2.2-5 nano 8.7.1-39 ncurses-base 6.6-20260124-21 ncurses-libs 6.6-20260124-21 nghttp2-libs 1.68.0-13 nghttp3 1.15.0-5 ntpd-rs 1.6.2-6 ocl-icd 2.3.4-4 onetbb 2022.3.0-6 openldap 2.6.13-7 openmp 22.1.1-47 openmp-devel 22.1.1-47 openssl-libs 3.6.1-34 os-info 2026.02-15 p11-kit 0.26.2-11 p11-kit-libs 0.26.2-11 pcre2 10.47-8 pkgconf 2.5.1-12 polly 22.1.1-47 polly-devel 22.1.1-47 procps 4.0.6-8 python 3.11.15-15 python-libs 3.11.15-15 qrencode 4.1.1-3 readline 8.3.3-9 ripgrep 15.1.0-4 sed 4.9-3 sqlite 3.52.0-18 sudo-rs 0.2.11-18 system-accounts 0.1.0-8 systemd 257.11-76 terminus-font 4.49.1-2 tpm2-tss 4.1.3-4 tzdata 2026a-9 util-linux 2.41.3-18 uutils-coreutils 0.6.0-33 vim 9.2.0131-20 wayland 1.24.0-8 xkeyboard-config 2.47-8 xxd 9.2.0131-20 xz 5.8.2-14 zlib 2.3.3-23 zlib-devel 2.3.3-23 zstd 1.5.7-12 zstd-devel 1.5.7-12 zstd-libs 1.5.7-12 Installed attr (cached) Installed acl (cached) Installed brotli-libs (cached) Installed bash (cached) Installed binutils-libs (cached) Installed blake3 (cached) Installed bsdtar-static (cached) Installed bsdtar (cached) Installed bzip2-libs (cached) Installed binutils (cached) Installed ca-certificates-mozilla (cached) Installed ca-certificates (cached) Installed boulder (cached) Installed ca-certificates-utils (cached) Installed coreutils (cached) Installed cryptsetup-libs (cached) Installed cracklib (cached) Installed curl-libs (cached) Installed cyrus-sasl-libs (cached) Installed dash (cached) Installed device-mapper-libs (cached) Installed clang Installed diffutils (cached) Installed elfutils-libs (cached) Installed envsubst (cached) Installed expat (cached) Installed file (cached) Installed findutils (cached) Installed gawk (cached) Installed gdbm-libs (cached) Installed docutils (cached) Installed glib2 (cached) Installed binutils-devel Installed git (cached) Installed gcc (cached) Installed gmp (cached) Installed gpm-libs (cached) Installed glibc-devel (cached) Installed grep (cached) Installed hwloc-libs (cached) Installed iana-etc (cached) Installed gzip (cached) Installed isl (cached) Installed icu-libs (cached) Installed jansson (cached) Installed keyutils (cached) Installed kmod-libs (cached) Installed krb5-libs (cached) Installed layout (cached) Installed less (cached) Installed json-c (cached) Installed kbd (cached) Installed libarchive (cached) Installed libatomic (cached) Installed libb2 (cached) Installed libblkid (cached) Installed libbpf (cached) Installed libcap (cached) Installed libcap-ng (cached) Installed libeconf (cached) Installed helix (cached) Installed libcap-devel (cached) Installed libcom_err (cached) Installed libedit (cached) Installed libedit-devel (cached) Installed libelf (cached) Installed libgcc (cached) Installed libffi (cached) Installed libfdisk (cached) Installed libgcc-static (cached) Installed libelf-devel (cached) Installed libgcrypt (cached) Installed libgomp (cached) Installed libmount (cached) Installed libidn2 (cached) Installed libgpg-error (cached) Installed libpciaccess (cached) Installed libpsl (cached) Installed libseccomp (cached) Installed libsmartcols (cached) Installed libsodium (cached) Installed libssh2 (cached) Installed libstdc++ (cached) Installed libpwquality (cached) Installed libtasn1 (cached) Installed libstone (cached) Installed libunistring (cached) Installed libsecret (cached) Installed libuuid (cached) Installed libxkbcommon (cached) Installed libxcrypt (cached) Installed libxml2 (cached) Installed linux-pam-libs (cached) Installed libutempter (cached) Installed lld Installed libstdc++-devel (cached) Installed binutils-gprofng Installed linux-headers (cached) Installed lz4 (cached) Installed lzo (cached) Installed make (cached) Installed mimalloc (cached) Installed glibc (cached) Installed lld-libs Installed mpc (cached) Installed mpdecimal (cached) Installed mpfr (cached) Installed nano (cached) Installed ncurses-base (cached) Installed ncurses-libs (cached) Installed nghttp2-libs (cached) Installed nghttp3 (cached) Installed ntpd-rs (cached) Installed ocl-icd (cached) Installed onetbb (cached) Installed openldap (cached) Installed openmp Installed openmp-devel Installed openssl-libs (cached) Installed os-info (cached) Installed p11-kit (cached) Installed p11-kit-libs (cached) Installed pcre2 (cached) Installed pkgconf (cached) Installed polly Installed polly-devel Installed procps (cached) Installed python (cached) Installed python-libs (cached) Installed qrencode (cached) Installed readline (cached) Installed ripgrep (cached) Installed sed (cached) Installed sqlite (cached) Installed sudo-rs (cached) Installed system-accounts (cached) Installed systemd (cached) Installed terminus-font (cached) Installed tpm2-tss (cached) Installed compiler-rt Installed tzdata (cached) Installed uutils-coreutils (cached) Installed util-linux (cached) Installed wayland (cached) Installed xkeyboard-config (cached) Installed xxd (cached) Installed xz (cached) Installed zlib (cached) Installed zlib-devel (cached) Installed zstd (cached) Installed zstd-devel (cached) Installed zstd-libs (cached) Installed vim (cached) Installed llvm-libs Installed mlir Installed llvm Installed clang-libs Installed mlir-devel Installed llvm-devel 37162 entries blitted in 0.37s (101.0k / s) Sharing 1 upstream(s) with the build container Shared bpftool-libbpf-v7.6.0-sources.tar.gz x86_64 │Prepare │P│ + TERM=dumb │P│ + export TERM │P│ + SOURCE_DATE_EPOCH=1773270772 │P│ + export SOURCE_DATE_EPOCH │P│ + PGO_STAGE=NONE │P│ + export PGO_STAGE │P│ + PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig │P│ + export PKG_CONFIG_PATH │P│ + CFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │P│ + export CFLAGS │P│ + CGO_CFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │P│ + export CGO_CFLAGS │P│ + CXXFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │P│ + export CXXFLAGS │P│ + CGO_CXXFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │P│ + export CGO_CXXFLAGS │P│ + FFLAGS='-D_FORTIFY_SOURCE=2 -O2 -flto=thin -fno-omit-frame-pointer -g' │P│ + export FFLAGS │P│ + LDFLAGS='-Wl,--as-needed -Wl,--build-id=sha1 -Wl,--compress-debug-sections=zstd -Wl,--icf=safe -Wl,--undefined-version -Wl,-Bsymbolic-functions -Wl,-O2,--gc-sections -Wl,-z,pack-relative-relocs -Wl,-z,relro,-z,now -flto=thin' │P│ + export LDFLAGS │P│ + CGO_LDFLAGS='-Wl,--as-needed -Wl,--build-id=sha1 -Wl,--compress-debug-sections=zstd -Wl,--icf=safe -Wl,--undefined-version -Wl,-Bsymbolic-functions -Wl,-O2,--gc-sections -Wl,-z,pack-relative-relocs -Wl,-z,relro,-z,now -flto=thin -Wl,--no-gc-sections' │P│ + export CGO_LDFLAGS │P│ + DFLAGS='-O2 -flto=thin -frame-pointer=all -g -gc -d-debug -mcpu=x86-64-v2 -release -Hkeep-all-bodies -relocation-model=pic -wi' │P│ + export DFLAGS │P│ + RUSTFLAGS='-C debuginfo=2 -C split-debuginfo=off -C force-frame-pointers -C link-args=-Wl,--build-id=sha1 -C link-args=-Wl,--compress-debug-sections=zstd -C lto=thin -C linker-plugin-lto -C embed-bitcode=yes -C opt-level=3 -C codegen-units=16 -C strip=none -C target-cpu=x86-64-v2' │P│ + export RUSTFLAGS │P│ + CC=clang │P│ + export CC │P│ + CXX=clang++ │P│ + export CXX │P│ + OBJC=clang │P│ + export OBJC │P│ + OBJCXX=clang++ │P│ + export OBJCXX │P│ + CPP=clang-cpp │P│ + export CPP │P│ + OBJCPP='clang -E -' │P│ + export OBJCPP │P│ + OBJCXXCPP='clang++ -E' │P│ + export OBJCXXCPP │P│ + AR=llvm-ar │P│ + export AR │P│ + LD=ld.lld │P│ + export LD │P│ + OBJCOPY=llvm-objcopy │P│ + export OBJCOPY │P│ + NM=llvm-nm │P│ + export NM │P│ + RANLIB=llvm-ranlib │P│ + export RANLIB │P│ + STRIP=llvm-strip │P│ + export STRIP │P│ + PATH=/usr/bin:/bin │P│ + export PATH │P│ + CCACHE_DIR=/mason/ccache │P│ + export CCACHE_DIR │P│ + CCACHE_BASEDIR=/mason/build/x86_64 │P│ + export CCACHE_BASEDIR │P│ + test -z /mason/ccache │P│ + export 'NINJA_STATUS=[%f/%t %es (%P)] ' │P│ + NINJA_STATUS='[%f/%t %es (%P)] ' │P│ + CARGO_BUILD_DEP_INFO_BASEDIR=/mason/build/x86_64 │P│ + export CARGO_BUILD_DEP_INFO_BASEDIR │P│ + CARGO_NET_RETRY=5 │P│ + export CARGO_NET_RETRY │P│ + CARGO_PROFILE_RELEASE_DEBUG=full │P│ + export CARGO_PROFILE_RELEASE_DEBUG │P│ + CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO=off │P│ + export CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO │P│ + CARGO_PROFILE_RELEASE_LTO=off │P│ + export CARGO_PROFILE_RELEASE_LTO │P│ + CARGO_PROFILE_RELEASE_STRIP=none │P│ + export CARGO_PROFILE_RELEASE_STRIP │P│ + RUSTC_WRAPPER= │P│ + export RUSTC_WRAPPER │P│ + test -z '' │P│ + unset RUSTC_WRAPPER │P│ + GOCACHE= │P│ + export GOCACHE │P│ + test -z '' │P│ + unset GOCACHE │P│ + GOMODCACHE= │P│ + export GOMODCACHE │P│ + test -z '' │P│ + unset GOMODCACHE │P│ + CARGO_HOME= │P│ + export CARGO_HOME │P│ + test -z '' │P│ + unset CARGO_HOME │P│ + SCCACHE_DIR=/mason/sccache │P│ + export SCCACHE_DIR │P│ + test -z /mason/sccache │P│ + LANG=en_US.UTF-8 │P│ + export LANG │P│ + LC_ALL=en_US.UTF-8 │P│ + export LC_ALL │P│ + test -d /mason/build/x86_64 │P│ + cd /mason/build/x86_64 │P│ + echo 'The work directory %(workdir) is /mason/build/x86_64' │P│ + mkdir -p bpftool-libbpf-v7.6.0-sources.tar.gz │P│ The work directory %(workdir) is /mason/build/x86_64 │P│ + bsdtar-static xf /mason/sourcedir/bpftool-libbpf-v7.6.0-sources.tar.gz -C bpftool-libbpf-v7.6.0-sources.tar.gz --strip-components=1 --no-same-owner │ │Build │B│ + TERM=dumb │B│ + export TERM │B│ + SOURCE_DATE_EPOCH=1773270772 │B│ + export SOURCE_DATE_EPOCH │B│ + PGO_STAGE=NONE │B│ + export PGO_STAGE │B│ + PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig │B│ + export PKG_CONFIG_PATH │B│ + CFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │B│ + export CFLAGS │B│ + CGO_CFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │B│ + export CGO_CFLAGS │B│ + CXXFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │B│ + export CXXFLAGS │B│ + CGO_CXXFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │B│ + export CGO_CXXFLAGS │B│ + FFLAGS='-D_FORTIFY_SOURCE=2 -O2 -flto=thin -fno-omit-frame-pointer -g' │B│ + export FFLAGS │B│ + LDFLAGS='-Wl,--as-needed -Wl,--build-id=sha1 -Wl,--compress-debug-sections=zstd -Wl,--icf=safe -Wl,--undefined-version -Wl,-Bsymbolic-functions -Wl,-O2,--gc-sections -Wl,-z,pack-relative-relocs -Wl,-z,relro,-z,now -flto=thin' │B│ + export LDFLAGS │B│ + CGO_LDFLAGS='-Wl,--as-needed -Wl,--build-id=sha1 -Wl,--compress-debug-sections=zstd -Wl,--icf=safe -Wl,--undefined-version -Wl,-Bsymbolic-functions -Wl,-O2,--gc-sections -Wl,-z,pack-relative-relocs -Wl,-z,relro,-z,now -flto=thin -Wl,--no-gc-sections' │B│ + export CGO_LDFLAGS │B│ + DFLAGS='-O2 -flto=thin -frame-pointer=all -g -gc -d-debug -mcpu=x86-64-v2 -release -Hkeep-all-bodies -relocation-model=pic -wi' │B│ + export DFLAGS │B│ + RUSTFLAGS='-C debuginfo=2 -C split-debuginfo=off -C force-frame-pointers -C link-args=-Wl,--build-id=sha1 -C link-args=-Wl,--compress-debug-sections=zstd -C lto=thin -C linker-plugin-lto -C embed-bitcode=yes -C opt-level=3 -C codegen-units=16 -C strip=none -C target-cpu=x86-64-v2' │B│ + export RUSTFLAGS │B│ + CC=clang │B│ + export CC │B│ + CXX=clang++ │B│ + export CXX │B│ + OBJC=clang │B│ + export OBJC │B│ + OBJCXX=clang++ │B│ + export OBJCXX │B│ + CPP=clang-cpp │B│ + export CPP │B│ + OBJCPP='clang -E -' │B│ + export OBJCPP │B│ + OBJCXXCPP='clang++ -E' │B│ + export OBJCXXCPP │B│ + AR=llvm-ar │B│ + export AR │B│ + LD=ld.lld │B│ + export LD │B│ + OBJCOPY=llvm-objcopy │B│ + export OBJCOPY │B│ + NM=llvm-nm │B│ + export NM │B│ + RANLIB=llvm-ranlib │B│ + export RANLIB │B│ + STRIP=llvm-strip │B│ + export STRIP │B│ + PATH=/usr/bin:/bin │B│ + export PATH │B│ + CCACHE_DIR=/mason/ccache │B│ + export CCACHE_DIR │B│ + CCACHE_BASEDIR=/mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz │B│ + export CCACHE_BASEDIR │B│ + test -z /mason/ccache │B│ + export 'NINJA_STATUS=[%f/%t %es (%P)] ' │B│ + NINJA_STATUS='[%f/%t %es (%P)] ' │B│ + CARGO_BUILD_DEP_INFO_BASEDIR=/mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz │B│ + export CARGO_BUILD_DEP_INFO_BASEDIR │B│ + CARGO_NET_RETRY=5 │B│ + export CARGO_NET_RETRY │B│ + CARGO_PROFILE_RELEASE_DEBUG=full │B│ + export CARGO_PROFILE_RELEASE_DEBUG │B│ + CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO=off │B│ + export CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO │B│ + CARGO_PROFILE_RELEASE_LTO=off │B│ + export CARGO_PROFILE_RELEASE_LTO │B│ + CARGO_PROFILE_RELEASE_STRIP=none │B│ + export CARGO_PROFILE_RELEASE_STRIP │B│ + RUSTC_WRAPPER= │B│ + export RUSTC_WRAPPER │B│ + test -z '' │B│ + unset RUSTC_WRAPPER │B│ + GOCACHE= │B│ + export GOCACHE │B│ + test -z '' │B│ + unset GOCACHE │B│ + GOMODCACHE= │B│ + export GOMODCACHE │B│ + test -z '' │B│ + unset GOMODCACHE │B│ + CARGO_HOME= │B│ + export CARGO_HOME │B│ + test -z '' │B│ + unset CARGO_HOME │B│ + SCCACHE_DIR=/mason/sccache │B│ + export SCCACHE_DIR │B│ + test -z /mason/sccache │B│ + LANG=en_US.UTF-8 │B│ + export LANG │B│ + LC_ALL=en_US.UTF-8 │B│ + export LC_ALL │B│ + test -d /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz │B│ + cd /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz │B│ + echo 'The work directory %(workdir) is /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz' │B│ The work directory %(workdir) is /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz │B│ + _common_args='-C src prefix=/usr mandir=/usr/share/man' │B│ + make -j 8 -C src prefix=/usr mandir=/usr/share/man HOSTCC=clang 'EXTRA_CFLAGS=-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' 'EXTRA_LDFLAGS=-Wl,--as-needed -Wl,--build-id=sha1 -Wl,--compress-debug-sections=zstd -Wl,--icf=safe -Wl,--undefined-version -Wl,-Bsymbolic-functions -Wl,-O2,--gc-sections -Wl,-z,pack-relative-relocs -Wl,-z,relro,-z,now -flto=thin' all doc │B│ make: Entering directory '/mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src' │B│ ... libbfd: [ on ] │B│ ... clang-bpf-co-re: [ on ] │B│ ... llvm: [ on ] │B│ ... libcap: [ on ] │B│ MKDIR /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/ │B│ MKDIR /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/include/bpf │B│ MKDIR /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/include/bpf │B│ MKDIR /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/ │B│ MKDIR /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/ │B│ make[1]: Entering directory '/mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/libbpf/src' │B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/include/bpf/hashmap.h │B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/include/bpf/nlattr.h │B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/include/bpf/relo_core.h │B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/include/bpf/libbpf_internal.h │B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/include/bpf/hashmap.h │B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/include/bpf/relo_core.h │B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/include/bpf/libbpf_internal.h │B│ make[1]: Entering directory '/mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/libbpf/src' │B│ DESCEND /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/docs │B│ GEN bpftool-btf.8 │B│ GEN bpftool-cgroup.8 │B│ GEN bpftool-feature.8 │B│ GEN bpftool-gen.8 │B│ GEN bpftool-iter.8 │B│ GEN bpftool-link.8 │B│ MKDIR /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs │B│ INSTALL bpf.h libbpf.h btf.h libbpf_common.h libbpf_legacy.h bpf_helpers.h bpf_helper_defs.h bpf_tracing.h bpf_endian.h bpf_core_read.h skel_internal.h libbpf_version.h usdt.bpf.h │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/bpf.o │B│ MKDIR /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs │B│ INSTALL bpf.h libbpf.h btf.h libbpf_common.h libbpf_legacy.h bpf_helpers.h bpf_helper_defs.h bpf_tracing.h bpf_endian.h bpf_core_read.h skel_internal.h libbpf_version.h usdt.bpf.h │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/bpf.o │B│ bpf.c:225:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 225 | for (i = 0; i < cnt; i++) { │B│ | ~ ^ ~~~ │B│ bpf.c:225:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 225 | for (i = 0; i < cnt; i++) { │B│ | ~ ^ ~~~ │B│ GEN bpftool-map.8 │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/btf.o │B│ GEN bpftool-net.8 │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/btf.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/libbpf.o │B│ GEN bpftool-perf.8 │B│ btf.c:436:44: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 436 | pr_warn("BTF type [%d] is malformed\n", btf->start_id + btf->nr_types); │B│ | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:633:14: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'const int' [-Wsign-compare] │B│ 633 | if (type_id < btf->start_id) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~ │B│ btf.c:680:17: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 680 | for (j = 0; j < ARRAY_SIZE(long_aliases); j++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:436:44: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 436 | pr_warn("BTF type [%d] is malformed\n", btf->start_id + btf->nr_types); │B│ | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:633:14: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'const int' [-Wsign-compare] │B│ 633 | if (type_id < btf->start_id) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~ │B│ btf.c:680:17: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 680 | for (j = 0; j < ARRAY_SIZE(long_aliases); j++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:1174:5: warning: format specifies type 'int' but the argument has type 'Elf64_Word' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1173 | pr_warn("unexpected section type (%d) of section(%d, %s) from %s\n", │B│ | ~~ │B│ | %u │B│ 1174 | sh.sh_type, idx, name, path); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:1353:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Wsign-compare] │B│ 1353 | if (fread(data, 1, sz, f) < sz) { │B│ | ~~~~~~~~~~~~~~~~~~~~~ ^ ~~ │B│ btf.c:1566:17: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 1566 | for (i = 0; i < btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ btf.c:1613:13: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'const int' [-Wsign-compare] │B│ 1613 | if (offset < btf->start_str_off) │B│ | ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ btf.c:1174:5: warning: format specifies type 'int' but the argument has type 'Elf64_Word' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1173 | pr_warn("unexpected section type (%d) of section(%d, %s) from %s\n", │B│ | ~~ │B│ | %u │B│ 1174 | sh.sh_type, idx, name, path); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:1353:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Wsign-compare] │B│ 1353 | if (fread(data, 1, sz, f) < sz) { │B│ | ~~~~~~~~~~~~~~~~~~~~~ ^ ~~ │B│ btf.c:2154:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 2154 | if (id < 0 || id > BTF_MAX_NR_TYPES) │B│ | ~~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:1566:17: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 1566 | for (i = 0; i < btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ btf.c:1613:13: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'const int' [-Wsign-compare] │B│ 1613 | if (offset < btf->start_str_off) │B│ | ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ btf.c:2154:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 2154 | if (id < 0 || id > BTF_MAX_NR_TYPES) │B│ | ~~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:3693:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3693 | for (i = 0; i < d->hypot_cnt; i++) │B│ | ~ ^ ~~~~~~~~~~~~ │B│ btf.c:3796:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 3796 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:3830:30: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 3830 | if (str_off == 0 || str_off < d->btf->start_str_off) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:4036:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 4036 | for (i = 0; i < vlen; i++) { │B│ | ~ ^ ~~~~ │B│ btf.c:4355:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 4355 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:4665:42: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 4665 | if (fwd_kind == real_kind && canon_id < d->btf->start_id) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:4792:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 4792 | for (i = 0; i < d->hypot_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ btf.c:4932:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 4932 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5094:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5094 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ GEN bpftool-prog.8 │B│ btf.c:5222:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5222 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5257:39: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5257 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5262:39: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5262 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5263:18: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 5263 | if (d->map[id] != id) │B│ | ~~~~~~~~~~ ^ ~~ │B│ btf.c:5326:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5326 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5400:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 5400 | for (i = 0; i < ARRAY_SIZE(locations); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:5439:3: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5439 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ btf.c:5450:3: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5450 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ btf.c:5481:3: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5481 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ btf.c:5499:3: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5499 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ btf.c:3693:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ GEN bpftool.8 │B│ 3693 | for (i = 0; i < d->hypot_cnt; i++) │B│ | ~ ^ ~~~~~~~~~~~~ │B│ btf.c:3796:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 3796 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:3830:30: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 3830 | if (str_off == 0 || str_off < d->btf->start_str_off) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:4036:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 4036 | for (i = 0; i < vlen; i++) { │B│ | ~ ^ ~~~~ │B│ btf.c:5661:11: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ 5660 | pr_warn("unexpected kind when adding base type '%s'[%u] of kind [%u] to distilled base BTF.\n", │B│ | ~~ │B│ | %d │B│ 5661 | name, i, kind); │B│ | ^ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:5661:14: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ 5660 | pr_warn("unexpected kind when adding base type '%s'[%u] of kind [%u] to distilled base BTF.\n", │B│ | ~~ │B│ | %d │B│ 5661 | name, i, kind); │B│ | ^~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:5593:16: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 5593 | for (i = 1; i < dist->split_start_id; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:4355:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 4355 | for (i = 0; ibtf.c < :d-5752>:b32t:f -warning: >ncomparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]r │B│ _types; i++) { 5752 │B│ | | fo ~ ^ ~~~~~~~~~~~~~~~~r │B│ (i = src_btf->start_id; i < n; i++) { │B│ | ~ ^ ~ │B│ btf.c:5776:32: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 5776 | for (i = src_btf->start_id; i < n; i++) { │B│ | ~ ^ ~ │B│ btf.c:5794:16: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 5794 | for (i = 1; i < n; i++) { │B│ | ~ ^ ~ │B│ btf.c:4665:42: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 4665 | if (fwd_kind == real_kind && canon_id < d->btf->start_id) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:4792:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 4792 | for (i = 0; i < d->hypot_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ btf.c:4932:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 4932 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5094:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5094 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5222:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5222 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5257:39: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5257 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5262:39: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5262 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5263:18: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 5263 | if (d->map[id] != id) │B│ | ~~~~~~~~~~ ^ ~~ │B│ btf.c:5326:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5326 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5400:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 5400 | for (i = 0; i < ARRAY_SIZE(locations); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:5439:3: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5439 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ btf.c:5450:3: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5450 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ btf.c:5481:3: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5481 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ btf.c:5499:3: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5499 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:883:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 883 | for (i = 0; i < nr_syms; i++) { │B│ | ~ ^ ~~~~~~~ │B│ libbpf.c:960:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 960 | for (p = 0; p < obj->nr_programs; p++, prog++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:962:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 962 | for (i = 0; i < prog->insns_cnt; i++, insn++) │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:1053:30: warning: comparison of integers of different signs: 'const __u32' (aka 'const unsigned int') and '__s32' (aka 'int') [-Wsign-compare] │B│ 1053 | if (kern_data_member->type == kern_type_id) │B│ | ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:1081:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1081 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:1100:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1100 | for (i = 0; i < obj->nr_programs; ++i) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:1108:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1108 | for (j = 0; j < obj->nr_maps; ++j) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:1455:12: warning: format specifies type 'unsigned int' but the argument has type '__s32' (aka 'int'), which differs in signedness [-Wformat-signedness] │B│ 1454 | pr_debug("struct_ops init: struct %s(type_id=%u) %s found at offset %u\n", │B│ | ~~ │B│ | %d │B│ 1455 | tname, type_id, var_name, vsi->offset); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:1466:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1466 | for (sec_idx = 0; sec_idx < obj->efile.sec_cnt; ++sec_idx) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ btf.c:5661:11: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ 5660 | pr_warn("unexpected kind when adding base type '%s'[%u] of kind [%u] to distilled base BTF.\n", │B│ | ~~ │B│ | %d │B│ 5661 | name, i, kind); │B│ | ^ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:5661:14: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ 5660 | pr_warn("unexpected kind when adding base type '%s'[%u] of kind [%u] to distilled base BTF.\n", │B│ | ~~ │B│ | %d │B│ 5661 | name, i, kind); │B│ | ^~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:5593:16: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 5593 | for (i = 1; i < dist->split_start_id; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:5752:32: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 5752 | for (i = src_btf->start_id; i < n; i++) { │B│ | ~ ^ ~ │B│ btf.c:5776:32: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 5776 | for (i = src_btf->start_id; i < n; i++) { │B│ | ~ ^ ~ │B│ btf.c:5794:16: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 5794 | for (i = 1; i < n; i++) { │B│ | ~ ^ ~ │B│ libbpf.c:1871:14: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 1871 | if (sfx_len >= BPF_OBJ_NAME_LEN) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:1994:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1994 | for (sec_idx = 1; sec_idx < obj->efile.sec_cnt; sec_idx++) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:2055:24: warning: comparison of integers of different signs: '__size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 2055 | if (strlen(ext_name) == len && strncmp(ext_name, name, len) == 0) │B│ | ~~~~~~~~~~~~~~~~ ^ ~~~ │B│ libbpf.c:2116:10: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 2116 | if (len >= ext->kcfg.sz) { │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:2514:10: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 2514 | if (len >= buf_sz) │B│ | ~~~ ^ ~~~~~~ │B│ libbpf.c:2594:16: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 2593 | pr_warn("map '%s': key type [%d] not found.\n", │B│ | ~~ │B│ | %u │B│ 2594 | map_name, m->type); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:2634:16: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 2633 | pr_warn("map '%s': value type [%d] not found.\n", │B│ | ~~ │B│ | %u │B│ 2634 | map_name, m->type); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:2688:22: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 2687 | pr_warn("map '%s': %s type [%d] not found.\n", │B│ | ~~ │B│ | %u │B│ 2688 | map_name, desc, m->type); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:3035:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3035 | for (i = 0; i < obj->nr_maps; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:3128:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 3128 | for (i = 1; i < btf__type_cnt(btf); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:3274:29: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3274 | for (seg_num = 0; seg_num < ARRAY_SIZE(ext_segs); seg_num++) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:3385:16: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 3384 | pr_debug("sec '%s': failed to find name of DATASEC's member #%d\n", │B│ | ~~ │B│ | %u │B│ 3385 | sec_name, i); │B│ | ^ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:3545:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3545 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:3892:16: warning: format specifies type 'long' but the argument has type 'unsigned long', which differs in signedness [-Wformat-signedness] │B│ 3891 | pr_debug("elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n", │B│ | ~~~ │B│ | %lu │B│ 3892 | idx, name, (unsigned long)data->d_size, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ GEN bpftool-struct_ops.8 │B│ libbpf.c:3955:21: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3955 | targ_sec_idx >= obj->efile.sec_cnt) │B│ | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:3985:52: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 3985 | if (!obj->efile.strtabidx || obj->efile.strtabidx > idx) { │B│ | ~~~~~~~~~~~~~~~~~~~~ ^ ~~~ │B│ libbpf.c:4079:17: warning: comparison of integers of different signs: 'const __u32' (aka 'const unsigned int') and 'int' [-Wsign-compare] │B│ 4079 | if (vs->type == ext_btf_id) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~ │B│ libbpf.c:4408:23: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ 4407 | pr_debug("extern (kcfg) #%d: symbol %d, off %u, name %s\n", │B│ | ~~ │B│ | %d │B│ 4408 | i, ext->sym_idx, ext->kcfg.data_off, ext->name); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:4432:23: warning: comparison of integers of different signs: 'const size_t' (aka 'const unsigned long') and 'const int' [-Wsign-compare] │B│ 4432 | return prog->sec_idx == obj->efile.text_shndx; │B│ | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4502:26: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 4501 | pr_warn("prog '%s': invalid relo against '%s' for insns[%d].code 0x%x\n", │B│ | ~~ │B│ | %u │B│ 4502 | prog->name, sym_name, insn_idx, insn->code); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:4605:18: warning: format specifies type 'signed size_t' (aka 'long') but the argument has type 'size_t' (aka 'unsigned long'), which differs in signedness [-Wformat-signedness] │B│ 4604 | pr_debug("prog '%s': found map %zd (%s, sec %d, off %zu) for insn #%u\n", │B│ | ~~~ │B│ | %zu │B│ 4605 | prog->name, map_idx, map->name, map->sec_idx, │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:4632:17: warning: format specifies type 'signed size_t' (aka 'long') but the argument has type 'size_t' (aka 'unsigned long'), which differs in signedness [-Wformat-signedness] │B│ 4631 | pr_debug("prog '%s': found data map %zd (%s, sec %d, off %zu) for insn %u\n", │B│ | ~~~ │B│ | %zu │B│ 4632 | prog->name, map_idx, map->name, map->sec_idx, │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:4539:29: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 4539 | if (!shdr_idx || shdr_idx != obj->efile.text_shndx) { │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4583:15: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 4583 | if (shdr_idx == obj->efile.arena_data_shndx) { │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4840:43: warning: format specifies type 'int *' but the argument has type '__u32 *' (aka 'unsigned int *'), which differs in signedness [-Wformat-signedness] │B│ 4840 | else if (sscanf(buff, "map_flags:\t%i", &val) == 1) │B│ | ~~ ^~~~ │B│ | %i │B│ libbpf.c:5351:16: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 5350 | pr_warn("map '%s': failed to initialize slot [%d] to map '%s' fd=%d: %s\n", │B│ | ~~ │B│ | %u │B│ 5351 | map->name, i, targ_map->name, fd, errstr(err)); │B│ | ^ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5355:16: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 5354 | pr_debug("map '%s': slot [%d] set to map '%s' fd=%d\n", │B│ | ~~ │B│ | %u │B│ 5355 | map->name, i, targ_map->name, fd); │B│ | ^ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5334:16: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] │B│ 5334 | for (i = 0; i < map->init_slots_sz; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:5384:16: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 5383 | pr_warn("map '%s': failed to initialize slot [%d] to prog '%s' fd=%d: %s\n", │B│ | ~~ │B│ | %u │B│ 5384 | map->name, i, targ_prog->name, fd, errstr(err)); │B│ | ^ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5388:16: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 5387 | pr_debug("map '%s': slot [%d] set to prog '%s' fd=%d\n", │B│ | ~~ │B│ | %u │B│ 5388 | map->name, i, targ_prog->name, fd); │B│ | ^ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5373:16: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] │B│ 5373 | for (i = 0; i < map->init_slots_sz; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:5402:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 5402 | for (i = 0; i < obj->nr_maps; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:5617:5: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5616 | pr_debug("CO-RE relocating [%d] %s %s: found target candidate [%d] %s %s in [%s]\n", │B│ | ~~ │B│ | %u │B│ 5617 | local_cand->id, btf_kind_str(local_t), │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5676:53: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5676 | pr_warn("failed to get BTF object #%d FD: %s\n", id, errstr(err)); │B│ | ~~ ^~ │B│ | %u │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5688:55: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5688 | pr_warn("failed to get BTF object #%d info: %s\n", id, errstr(err)); │B│ | ~~ ^~ │B│ | %u │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5702:11: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5701 | pr_warn("failed to load module [%s]'s BTF object #%d: %s\n", │B│ | ~~ │B│ | %u │B│ 5702 | name, id, errstr(err)); │B│ | ^~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5776:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 5776 | for (i = 0; i < obj->btf_module_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:5895:26: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5894 | pr_warn("prog '%s': relo #%d: target candidate search failed for [%d] %s %s: %ld\n", │B│ | ~~ │B│ | %u │B│ 5895 | prog_name, relo_idx, local_id, btf_kind_str(local_type), │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5954:64: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5954 | pr_debug("sec '%s': found %d CO-RE relocations\n", sec_name, sec->num_info); │B│ | ~~ ^~~~~~~~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6009:21: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ 6008 | pr_warn("prog '%s': relo #%d: failed to patch insn #%u: %s\n", │B│ | ~~ │B│ | %d │B│ 6009 | prog->name, i, insn_idx, errstr(err)); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5956:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 5956 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:5985:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 5985 | if (insn_idx >= prog->insns_cnt) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:6021:3: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6021 | hashmap__for_each_entry(cand_cache, entry, i) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./hashmap.h:169:20: note: expanded from macro 'hashmap__for_each_entry' │B│ 169 | for (bkt = 0; bkt < (map)->cap; bkt++) \ │B│ | ~~~ ^ ~~~~~~~~~~ │B│ libbpf.c:6176:20: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 6175 | pr_warn("prog '%s': relo #%d: bad relo type %d\n", │B│ | ~~ │B│ | %u │B│ 6176 | prog->name, i, relo->type); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6200:21: warning: comparison of integers of different signs: 'const size_t' (aka 'const unsigned long') and 'int' [-Wsign-compare] │B│ 6200 | if (prog->sec_idx != sec_idx) │B│ | ~~~~~~~~~~~~~ ^ ~~~~~~~ │B│ libbpf.c:6203:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 6203 | for_each_btf_ext_rec(ext_info, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:6329:15: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'const int' [-Wsign-compare] │B│ 6329 | if (insn_idx == relo->insn_idx) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:6331:18: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'const int' [-Wsign-compare] │B│ 6331 | return insn_idx < relo->insn_idx ? -1 : 1; │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:6430:27: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 6429 | pr_warn("prog '%s': unexpected relo for insn #%zu, type %d\n", │B│ | ~~ │B│ | %u │B│ 6430 | prog->name, insn_idx, relo->type); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6602:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6602 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:6624:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6624 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:6650:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6650 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:6706:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6706 | for (j = 0; j < obj->nr_programs; j++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:6945:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6945 | for (i = 0; i < ARRAY_SIZE(global_ctx_map); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:6958:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 6958 | for (i = 0; i < prog->func_info_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:6988:29: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 6988 | for (rec_idx = 0; rec_idx < prog->func_info_cnt; rec_idx++) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:6989:26: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 6989 | if (orig_ids[rec_idx] == t->type) { │B│ | ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ │B│ libbpf.c:7011:25: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 7011 | if (func_rec->type_id == orig_fn_id) { │B│ | ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~ │B│ libbpf.c:7086:17: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 7086 | for (j = 0; j < prog->nr_reloc; j++) { │B│ | ~ ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:7212:38: warning: format specifies type 'signed size_t' (aka 'long') but the argument has type 'size_t' (aka 'unsigned long'), which differs in signedness [-Wformat-signedness] │B│ 7211 | pr_debug(".maps relo #%d: for %zd value %zd rel->r_offset %zu name %d ('%s')\n", │B│ | ~~~ │B│ | %zu │B│ 7212 | i, (ssize_t)(rel->r_info >> 32), (size_t)sym->st_value, │B│ | ^~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:7213:28: warning: format specifies type 'int' but the argument has type 'Elf64_Word' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 7211 | pr_debug(".maps relo #%d: for %zd value %zd rel->r_offset %zu name %d ('%s')\n", │B│ | ~~ │B│ | %u │B│ 7212 | i, (ssize_t)(rel->r_info >> 32), (size_t)sym->st_value, │B│ 7213 | (size_t)rel->r_offset, sym->st_name, name); │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:7303:19: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 7302 | pr_debug(".maps relo #%d: map '%s' slot [%d] points to %s '%s'\n", │B│ | ~~ │B│ | %u │B│ 7303 | i, map->name, moff, type, name); │B│ | ^~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:7215:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7215 | for (j = 0; j < obj->nr_maps; j++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:7225:9: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7225 | if (j == obj->nr_maps) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:7290:12: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] │B│ 7290 | if (moff >= map->init_slots_sz) { │B│ | ~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7313:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7313 | for (i = 0; i < obj->efile.sec_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7326:50: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7326 | if (shdr->sh_type != SHT_REL || idx < 0 || idx >= obj->efile.sec_cnt) { │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7367:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7367 | for (i = 0; i < prog->insns_cnt; i++, insn++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:7592:18: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7592 | for (i = 0; i < obj->nr_maps; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:7728:33: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7728 | insn_idx, spec_buf, spec_len >= sizeof(spec_buf) ? "..." : ""); │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:7754:29: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7754 | if (map_idx < 0 || map_idx >= obj->nr_maps) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:7813:16: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare] │B│ 7813 | for (i = 0; i < max_last_line_cnt; i++, next_line = cur_line) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~ │B│ libbpf.c:8186:6: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 8186 | res = strstr(sym_name, ".llvm."); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:8233:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8233 | for (i = 0; i < obj->btf_module_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:8288:15: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 8287 | pr_warn("extern (var ksym) '%s': incompatible types, expected [%d] %s %s, but kernel has [%d] %s %s\n", │B│ | ~~ │B│ | %u │B│ 8288 | ext->name, local_type_id, │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:8289:42: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 8287 | pr_warn("extern (var ksym) '%s': incompatible types, expected [%d] %s %s, but kernel has [%d] %s %s\n", │B│ | ~~ │B│ | %u │B│ 8288 | ext->name, local_type_id, │B│ 8289 | btf_kind_str(local_type), local_name, targ_type_id, │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:8464:17: warning: format specifies type 'unsigned long long' but the argument has type 'long long', which differs in signedness [-Wformat-signedness] │B│ 8463 | pr_debug("extern (kcfg) '%s': set to 0x%llx\n", │B│ | ~~~~ │B│ | %llx │B│ 8464 | ext->name, (long long)value); │B│ | ^~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:8540:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8540 | for (i = 0; i < obj->nr_maps; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:8560:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8560 | for (i = 0; i < obj->nr_maps; i++) │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:8573:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8573 | for (i = 0; i < obj->btf_module_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:9143:16: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 9143 | for (i = 0; i < obj->nr_extern; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:9243:10: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'const size_t' (aka 'const unsigned long') [-Wsign-compare] │B│ 9243 | if (idx >= obj->nr_programs || idx < 0) │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ libbpf.c:9671:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 9671 | for (i = 0; i < custom_sec_def_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:9676:8: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 9676 | if (i == custom_sec_def_cnt) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:9680:20: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 9680 | for (i = i + 1; i < custom_sec_def_cnt; i++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:9762:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 9762 | for (i = 0; i < ARRAY_SIZE(section_defs); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:9773:53: warning: comparison of integers of different signs: '__size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 9773 | if (strlen(buf) + strlen(section_defs[i].sec) + 2 > len) { │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~ │B│ libbpf.c:9914:22: warning: format specifies type 'int' but the argument has type 'Elf64_Word' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 9909 | 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", │B│ | ~~ │B│ | %u │B│ 9910 | map->name, │B│ 9911 | (long long)(rel->r_info >> 32), │B│ 9912 | (long long)sym->st_value, │B│ 9913 | shdr_idx, (size_t)rel->r_offset, │B│ 9914 | map->sec_offset, sym->st_name, name); │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:10012:21: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 10012 | if (ret < 0 || ret >= sizeof(btf_type_name)) │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/libbpf.o │B│ libbpf.c:10059:4: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 10058 | pr_warn("failed bpf_prog_get_info_by_fd for FD %d: %s\n", │B│ | ~~ │B│ | %u │B│ 10059 | attach_prog_fd, errstr(err)); │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:10071:56: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 10071 | pr_warn("Failed to get BTF %d of the program: %s\n", info.btf_id, errstr(err)); │B│ | ~~ ^~~~~~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:10115:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 10115 | for (i = 0; i < obj->btf_module_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:10154:17: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 10153 | pr_warn("prog '%s': failed to find BPF program (FD %d) BTF ID for '%s': %s\n", │B│ | ~~ │B│ | %u │B│ 10154 | prog->name, attach_prog_fd, attach_name, errstr(err)); │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:10525:10: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'const size_t' (aka 'const unsigned long') [-Wsign-compare] │B│ 10525 | if (idx >= obj->nr_maps || idx < 0) │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:10614:44: warning: format specifies type 'signed size_t' (aka 'long') but the argument has type 'size_t' (aka 'unsigned long'), which differs in signedness [-Wformat-signedness] │B│ 10613 | pr_warn("map '%s': unexpected value size %zu provided for per-CPU map, expected %d * %zu = %zd\n", │B│ | ~~~ │B│ | %zu │B│ 10614 | map->name, value_sz, num_cpu, elem_sz, num_cpu * elem_sz); │B│ | ^~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:11091:17: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 11091 | if (n < 0 || n >= sizeof(buf)) │B│ | ~ ^ ~~~~~~~~~~~ │B│ libbpf.c:11491:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 11491 | if (!(sym_sfx = strstr(sym_name, ".llvm."))) │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:11575:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 11575 | for (i = 0; i < cnt; i++) │B│ | ~ ^ ~~~ │B│ libbpf.c:11756:54: warning: format specifies type 'long *' but the argument has type 'unsigned long *', which differs in signedness [-Wformat-signedness] │B│ 11756 | n = sscanf(func_name, "%m[a-zA-Z0-9_.]+%li", &func, &offset); │B│ | ~~~ ^~~~~~~ │B│ | %li │B│ libbpf.c:12003:60: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 12002 | pr_debug("elf: symbol address match for %s of %s in %s: 0x%x + 0x%lx = 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 12003 | func_name, file_name, archive_path, entry.data_offset, ret, │B│ | ^~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:12004:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 12002 | pr_debug("elf: symbol address match for %s of %s in %s: 0x%x + 0x%lx = 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 12003 | func_name, file_name, archive_path, entry.data_offset, ret, │B│ 12004 | ret + entry.data_offset); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:12079:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 12079 | next_path = strchr(s, ':'); │B│ | ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:12068:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 12068 | for (i = 0; i < ARRAY_SIZE(search_paths); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:12526:10: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 12526 | if (ret >= sizeof(file)) { │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/libbpf_errno.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/libbpf_errno.o │B│ libbpf.c:13512:42: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 13512 | if (map.max_entries && map.max_entries < pb->cpu_cnt) │B│ | ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ │B│ libbpf.c:13630:44: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 13630 | pr_warn("unknown perf sample type %d\n", e->type); │B│ | ~~ ^~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:13692:14: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'const int' [-Wsign-compare] │B│ 13692 | if (buf_idx >= pb->cpu_cnt) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~ │B│ libbpf.c:13730:14: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 13730 | if (buf_idx >= pb->cpu_cnt) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~ │B│ libbpf.c:13874:10: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 13874 | if (len >= sizeof(buf)) { │B│ | ~~~ ^ ~~~~~~~~~~~ │B│ libbpf.c:13915:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 13915 | for (i = 0; i < map_cnt; i++) { │B│ | ~ ^ ~~~~~~~ │B│ libbpf.c:13940:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 13940 | for (i = 0; i < prog_cnt; i++) { │B│ | ~ ^ ~~~~~~~~ │B│ libbpf.c:14130:22: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 14130 | if (s->map_skel_sz < offsetofend(struct bpf_map_skeleton, link)) { │B│ | ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:14170:21: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 14170 | if (s->map_skel_sz < sizeof(struct bpf_map_skeleton)) │B│ | ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:883:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 883 | for (i = 0; i < nr_syms; i++) { │B│ | ~ ^ ~~~~~~~ │B│ libbpf.c:960:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 960 | for (p = 0; p < obj->nr_programs; p++, prog++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:962:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 962 | for (i = 0; i < prog->insns_cnt; i++, insn++) │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:1053:30: warning: comparison of integers of different signs: 'const __u32' (aka 'const unsigned int') and '__s32' (aka 'int') [-Wsign-compare] │B│ 1053 | if (kern_data_member->type == kern_type_id) │B│ | ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:1081:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1081 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:1100:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1100 | for (i = 0; i < obj->nr_programs; ++i) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:1108:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1108 | for (j = 0; j < obj->nr_maps; ++j) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:1455:12: warning: format specifies type 'unsigned int' but the argument has type '__s32' (aka 'int'), which differs in signedness [-Wformat-signedness] │B│ 1454 | pr_debug("struct_ops init: struct %s(type_id=%u) %s found at offset %u\n", │B│ | ~~ │B│ | %d │B│ 1455 | tname, type_id, var_name, vsi->offset); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:1466:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1466 | for (sec_idx = 0; sec_idx < obj->efile.sec_cnt; ++sec_idx) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:1871:14: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 1871 | if (sfx_len >= BPF_OBJ_NAME_LEN) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:1994:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1994 | for (sec_idx = 1; sec_idx < obj->efile.sec_cnt; sec_idx++) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:2055:24: warning: comparison of integers of different signs: '__size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 2055 | if (strlen(ext_name) == len && strncmp(ext_name, name, len) == 0) │B│ | ~~~~~~~~~~~~~~~~ ^ ~~~ │B│ libbpf.c:2116:10: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 2116 | if (len >= ext->kcfg.sz) { │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:2514:10: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 2514 | if (len >= buf_sz) │B│ | ~~~ ^ ~~~~~~ │B│ libbpf.c:2594:16: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 2593 | pr_warn("map '%s': key type [%d] not found.\n", │B│ | ~~ │B│ | %u │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/netlink.o │B│ 2594 | map_name, m->type); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:2634:16: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 2633 | pr_warn("map '%s': value type [%d] not found.\n", │B│ | ~~ │B│ | %u │B│ 2634 | map_name, m->type); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:2688:22: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 2687 | pr_warn("map '%s': %s type [%d] not found.\n", │B│ | ~~ │B│ | %u │B│ 2688 | map_name, desc, m->type); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:3035:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3035 | for (i = 0; i < obj->nr_maps; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:3128:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 3128 | for (i = 1; i < btf__type_cnt(btf); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:3274:29: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3274 | for (seg_num = 0; seg_num < ARRAY_SIZE(ext_segs); seg_num++) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:3385:16: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 3384 | pr_debug("sec '%s': failed to find name of DATASEC's member #%d\n", │B│ | ~~ │B│ | %u │B│ 3385 | sec_name, i); │B│ | ^ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:3545:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3545 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:3892:16: warning: format specifies type 'long' but the argument has type 'unsigned long', which differs in signedness [-Wformat-signedness] │B│ 3891 | pr_debug("elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n", │B│ | ~~~ │B│ | %lu │B│ 3892 | idx, name, (unsigned long)data->d_size, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:3955:21: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3955 | targ_sec_idx >= obj->efile.sec_cnt) │B│ | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:3985:52: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 3985 | if (!obj->efile.strtabidx || obj->efile.strtabidx > idx) { │B│ | ~~~~~~~~~~~~~~~~~~~~ ^ ~~~ │B│ libbpf.c:4079:17: warning: comparison of integers of different signs: 'const __u32' (aka 'const unsigned int') and 'int' [-Wsign-compare] │B│ 4079 | if (vs->type == ext_btf_id) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~ │B│ libbpf.c:4408:23: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ 4407 | pr_debug("extern (kcfg) #%d: symbol %d, off %u, name %s\n", │B│ | ~~ │B│ | %d │B│ 4408 | i, ext->sym_idx, ext->kcfg.data_off, ext->name); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:4432:23: warning: comparison of integers of different signs: 'const size_t' (aka 'const unsigned long') and 'const int' [-Wsign-compare] │B│ 4432 | return prog->sec_idx == obj->efile.text_shndx; │B│ | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4502:26: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 4501 | pr_warn("prog '%s': invalid relo against '%s' for insns[%d].code 0x%x\n", │B│ | ~~ │B│ | %u │B│ 4502 | prog->name, sym_name, insn_idx, insn->code); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:4605:18: warning: format specifies type 'signed size_t' (aka 'long') but the argument has type 'size_t' (aka 'unsigned long'), which differs in signedness [-Wformat-signedness] │B│ 4604 | pr_debug("prog '%s': found map %zd (%s, sec %d, off %zu) for insn #%u\n", │B│ | ~~~ │B│ | %zu │B│ 4605 | prog->name, map_idx, map->name, map->sec_idx, │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:4632:17: warning: format specifies type 'signed size_t' (aka 'long') but the argument has type 'size_t' (aka 'unsigned long'), which differs in signedness [-Wformat-signedness] │B│ 4631 | pr_debug("prog '%s': found data map %zd (%s, sec %d, off %zu) for insn %u\n", │B│ | ~~~ │B│ | %zu │B│ 4632 | prog->name, map_idx, map->name, map->sec_idx, │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:4539:29: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 4539 | if (!shdr_idx || shdr_idx != obj->efile.text_shndx) { │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4583:15: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 4583 | if (shdr_idx == obj->efile.arena_data_shndx) { │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4840:43: warning: format specifies type 'int *' but the argument has type '__u32 *' (aka 'unsigned int *'), which differs in signedness [-Wformat-signedness] │B│ 4840 | else if (sscanf(buff, "map_flags:\t%i", &val) == 1) │B│ | ~~ ^~~~ │B│ | %i │B│ libbpf.c:5351:16: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 5350 | pr_warn("map '%s': failed to initialize slot [%d] to map '%s' fd=%d: %s\n", │B│ | ~~ │B│ | %u │B│ 5351 | map->name, i, targ_map->name, fd, errstr(err)); │B│ | ^ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5355:16: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 5354 | pr_debug("map '%s': slot [%d] set to map '%s' fd=%d\n", │B│ | ~~ │B│ | %u │B│ 5355 | map->name, i, targ_map->name, fd); │B│ | ^ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5334:16: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] │B│ 5334 | for (i = 0; i < map->init_slots_sz; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:5384:16: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 5383 | pr_warn("map '%s': failed to initialize slot [%d] to prog '%s' fd=%d: %s\n", │B│ | ~~ │B│ | %u │B│ 5384 | map->name, i, targ_prog->name, fd, errstr(err)); │B│ | ^ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5388:16: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 5387 | pr_debug("map '%s': slot [%d] set to prog '%s' fd=%d\n", │B│ | ~~ │B│ | %u │B│ 5388 | map->name, i, targ_prog->name, fd); │B│ | ^ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5373:16: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] │B│ 5373 | for (i = 0; i < map->init_slots_sz; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:5402:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 5402 | for (i = 0; i < obj->nr_maps; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:5617:5: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5616 | pr_debug("CO-RE relocating [%d] %s %s: found target candidate [%d] %s %s in [%s]\n", │B│ | ~~ │B│ | %u │B│ 5617 | local_cand->id, btf_kind_str(local_t), │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5676:53: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5676 | pr_warn("failed to get BTF object #%d FD: %s\n", id, errstr(err)); │B│ | ~~ ^~ │B│ | %u │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5688:55: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5688 | pr_warn("failed to get BTF object #%d info: %s\n", id, errstr(err)); │B│ | ~~ ^~ │B│ | %u │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5702:11: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5701 | pr_warn("failed to load module [%s]'s BTF object #%d: %s\n", │B│ | ~~ │B│ | %u │B│ 5702 | name, id, errstr(err)); │B│ | ^~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5776:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 5776 | for (i = 0; i < obj->btf_module_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:5895:26: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5894 | pr_warn("prog '%s': relo #%d: target candidate search failed for [%d] %s %s: %ld\n", │B│ | ~~ │B│ | %u │B│ 5895 | prog_name, relo_idx, local_id, btf_kind_str(local_type), │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5954:64: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5954 | pr_debug("sec '%s': found %d CO-RE relocations\n", sec_name, sec->num_info); │B│ | ~~ ^~~~~~~~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6009:21: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ 6008 | pr_warn("prog '%s': relo #%d: failed to patch insn #%u: %s\n", │B│ | ~~ │B│ | %d │B│ 6009 | prog->name, i, insn_idx, errstr(err)); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5956:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 5956 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:5985:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 5985 | if (insn_idx >= prog->insns_cnt) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:6021:3: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6021 | hashmap__for_each_entry(cand_cache, entry, i) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./hashmap.h:169:20: note: expanded from macro 'hashmap__for_each_entry' │B│ 169 | for (bkt = 0; bkt < (map)->cap; bkt++) \ │B│ | ~~~ ^ ~~~~~~~~~~ │B│ libbpf_errno.c:65:11: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 65 | if (ret >= size) │B│ | ~~~ ^ ~~~~ │B│ libbpf_errno.c:72:10: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 72 | if (ret >= size) │B│ | ~~~ ^ ~~~~ │B│ libbpf.c:6176:20: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 6175 | pr_warn("prog '%s': relo #%d: bad relo type %d\n", │B│ | ~~ │B│ | %u │B│ 6176 | prog->name, i, relo->type); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6200:21: warning: comparison of integers of different signs: 'const size_t' (aka 'const unsigned long') and 'int' [-Wsign-compare] │B│ 6200 | if (prog->sec_idx != sec_idx) │B│ | ~~~~~~~~~~~~~ ^ ~~~~~~~ │B│ libbpf.c:6203:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 6203 | for_each_btf_ext_rec(ext_info, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:6329:15: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'const int' [-Wsign-compare] │B│ 6329 | if (insn_idx == relo->insn_idx) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:6331:18: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'const int' [-Wsign-compare] │B│ 6331 | return insn_idx < relo->insn_idx ? -1 : 1; │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:6430:27: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 6429 | pr_warn("prog '%s': unexpected relo for insn #%zu, type %d\n", │B│ | ~~ │B│ | %u │B│ 6430 | prog->name, insn_idx, relo->type); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6602:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6602 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:6624:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6624 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:6650:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6650 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:6706:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6706 | for (j = 0; j < obj->nr_programs; j++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ 1 warning generated. │B│ libbpf.c:6945:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6945 | for (i = 0; i < ARRAY_SIZE(global_ctx_map); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:6958:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 6958 | for (i = 0; i < prog->func_info_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:6988:29: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 6988 | for (rec_idx = 0; rec_idx < prog->func_info_cnt; rec_idx++) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:6989:26: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 6989 | if (orig_ids[rec_idx] == t->type) { │B│ | ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ │B│ libbpf.c:7011:25: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 7011 | if (func_rec->type_id == orig_fn_id) { │B│ | ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~ │B│ libbpf.c:7086:17: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 7086 | for (j = 0; j < prog->nr_reloc; j++) { │B│ | ~ ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:7212:38: warning: format specifies type 'signed size_t' (aka 'long') but the argument has type 'size_t' (aka 'unsigned long'), which differs in signedness [-Wformat-signedness] │B│ 7211 | pr_debug(".maps relo #%d: for %zd value %zd rel->r_offset %zu name %d ('%s')\n", │B│ | ~~~ │B│ | %zu │B│ 7212 | i, (ssize_t)(rel->r_info >> 32), (size_t)sym->st_value, │B│ | ^~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:7213:28: warning: format specifies type 'int' but the argument has type 'Elf64_Word' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 7211 | pr_debug(".maps relo #%d: for %zd value %zd rel->r_offset %zu name %d ('%s')\n", │B│ | ~~ │B│ | %u │B│ 7212 | i, (ssize_t)(rel->r_info >> 32), (size_t)sym->st_value, │B│ 7213 | (size_t)rel->r_offset, sym->st_name, name); │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:7303:19: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 7302 | pr_debug(".maps relo #%d: map '%s' slot [%d] points to %s '%s'\n", │B│ | ~~ │B│ | %u │B│ 7303 | i, map->name, moff, type, name); │B│ | ^~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:7215:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7215 | for (j = 0; j < obj->nr_maps; j++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:7225:9: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7225 | if (j == obj->nr_maps) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:7290:12: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] │B│ 7290 | if (moff >= map->init_slots_sz) { │B│ | ~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7313:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7313 | for (i = 0; i < obj->efile.sec_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7326:50: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7326 | if (shdr->sh_type != SHT_REL || idx < 0 || idx >= obj->efile.sec_cnt) { │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7367:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7367 | for (i = 0; i < prog->insns_cnt; i++, insn++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:7592:18: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7592 | for (i = 0; i < obj->nr_maps; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:7728:33: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7728 | insn_idx, spec_buf, spec_len >= sizeof(spec_buf) ? "..." : ""); │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:7754:29: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7754 | if (map_idx < 0 || map_idx >= obj->nr_maps) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~ │B│ 2 warnings generated. │B│ libbpf.c:7813:16: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare] │B│ 7813 | for (i = 0; i < max_last_line_cnt; i++, next_line = cur_line) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~ │B│ libbpf.c:8186:6: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 8186 | res = strstr(sym_name, ".llvm."); │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:8233:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8233 | for (i = 0; i < obj->btf_module_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:8288:15: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 8287 | pr_warn("extern (var ksym) '%s': incompatible types, expected [%d] %s %s, but kernel has [%d] %s %s\n", │B│ | ~~ │B│ | %u │B│ 8288 | ext->name, local_type_id, │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/nlattr.o │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:8289:42: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 8287 | pr_warn("extern (var ksym) '%s': incompatible types, expected [%d] %s %s, but kernel has [%d] %s %s\n", │B│ | ~~ │B│ | %u │B│ 8288 | ext->name, local_type_id, │B│ 8289 | btf_kind_str(local_type), local_name, targ_type_id, │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:8464:17: warning: format specifies type 'unsigned long long' but the argument has type 'long long', which differs in signedness [-Wformat-signedness] │B│ 8463 | pr_debug("extern (kcfg) '%s': set to 0x%llx\n", │B│ | ~~~~ │B│ | %llx │B│ 8464 | ext->name, (long long)value); │B│ | ^~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:8540:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8540 | for (i = 0; i < obj->nr_maps; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:8560:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8560 | for (i = 0; i < obj->nr_maps; i++) │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:8573:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8573 | for (i = 0; i < obj->btf_module_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/str_error.o │B│ libbpf.c:9143:16: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 9143 | for (i = 0; i < obj->nr_extern; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:9243:10: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'const size_t' (aka 'const unsigned long') [-Wsign-compare] │B│ 9243 | if (idx >= obj->nr_programs || idx < 0) │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf_errno.c:65:11: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 65 | if (ret >= size) │B│ | ~~~ ^ ~~~~ │B│ libbpf_errno.c:72:10: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 72 | if (ret >= size) │B│ | ~~~ ^ ~~~~ │B│ libbpf.c:9671:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 9671 | for (i = 0; i < custom_sec_def_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:9676:8: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 9676 | if (i == custom_sec_def_cnt) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:9680:20: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 9680 | for (i = i + 1; i < custom_sec_def_cnt; i++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:9762:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 9762 | for (i = 0; i < ARRAY_SIZE(section_defs); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:9773:53: warning: comparison of integers of different signs: '__size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 9773 | if (strlen(buf) + strlen(section_defs[i].sec) + 2 > len) { │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~ │B│ libbpf.c:9914:22: warning: format specifies type 'int' but the argument has type 'Elf64_Word' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 9909 | 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", │B│ | ~~ │B│ | %u │B│ 9910 | map->name, │B│ 9911 | (long long)(rel->r_info >> 32), │B│ 9912 | (long long)sym->st_value, │B│ 9913 | shdr_idx, (size_t)rel->r_offset, │B│ 9914 | map->sec_offset, sym->st_name, name); │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:10012:21: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 10012 | if (ret < 0 || ret >= sizeof(btf_type_name)) │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:10059:4: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 10058 | pr_warn("failed bpf_prog_get_info_by_fd for FD %d: %s\n", │B│ | ~~ │B│ | %u │B│ 10059 | attach_prog_fd, errstr(err)); │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:10071:56: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 10071 | pr_warn("Failed to get BTF %d of the program: %s\n", info.btf_id, errstr(err)); │B│ | ~~ ^~~~~~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ netlink.c:159:11: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 159 | if (len > iov.iov_len) { │B│ | ~~~ ^ ~~~~~~~~~~~ │B│ netlink.c:174:46: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 174 | for (nh = libbpf.c(s:t10115:r16u:c twarning: nlmcomparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]s │B│ ghdr *)iov.i ov10115_ | ba sfe;o rN L(MiSG _=O K(0nh,; lien )<; │B│ o| b ^~~~~~~~~~~~~~~~~ │B│ j->btf_m../include/uapi/linux/netlink.ho:d99u:24l:e _note: cexpanded from macro 'NLMSG_OK' │B│ nt; i +99+ | ) { │B│ (| nl ~ ^ ~~~~~~~~~~~~~~~~~~~h) │B│ ->nlmsg_len <= (len)) │B│ | ~~~~~~~~~~~~~~~~ ^ ~~~ │B│ netlink.c:180:22: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 180 | if (nh->nlmsg_seq != seq) { │B│ | ~~~~~~~~~~~~~ ^ ~~~ │B│ libbpf.c:10154:17: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 10153 | pr_warn("prog '%s': failed to find BPF program (FD %d) BTF ID for '%s': %s\n", │B│ | ~~ │B│ | %u │B│ 10154 | prog->name, attach_prog_fd, attach_name, errstr(err)); │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ netlink.c:421:14: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 421 | if (ifindex != md->ifindex) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~ │B│ libbpf.c:10525:10: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'const size_t' (aka 'const unsigned long') [-Wsign-compare] │B│ 10525 | if (idx >= obj->nr_maps || idx < 0) │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ 2 warnings generated. │B│ libbpf.c:10614:44: warning: format specifies type 'signed size_t' (aka 'long') but the argument has type 'size_t' (aka 'unsigned long'), which differs in signedness [-Wformat-signedness] │B│ 10613 | pr_warn("map '%s': unexpected value size %zu provided for per-CPU map, expected %d * %zu = %zd\n", │B│ | ~~~ │B│ | %zu │B│ 10614 | map->name, value_sz, num_cpu, elem_sz, num_cpu * elem_sz); │B│ | ^~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ netlink.c:727:10: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 727 | if (len >= sizeof(name)) │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:11091:17: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 11091 | if (n < 0 || n >= sizeof(buf)) │B│ | ~ ^ ~~~~~~~~~~~ │B│ libbpf.c:11491:17: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 11491 | if (!(sym_sfx = strstr(sym_name, ".llvm."))) │B│ | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:11575:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 11575 | for (i = 0; i < cnt; i++) │B│ | ~ ^ ~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/netlink.o │B│ libbpf.c:11756:54: warning: format specifies type 'long *' but the argument has type 'unsigned long *', which differs in signedness [-Wformat-signedness] │B│ 11756 | n = sscanf(func_name, "%m[a-zA-Z0-9_.]+%li", &func, &offset); │B│ | ~~~ ^~~~~~~ │B│ | %li │B│ libbpf.c:12003:60: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 12002 | pr_debug("elf: symbol address match for %s of %s in %s: 0x%x + 0x%lx = 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 12003 | func_name, file_name, archive_path, entry.data_offset, ret, │B│ | ^~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:12004:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 12002 | pr_debug("elf: symbol address match for %s of %s in %s: 0x%x + 0x%lx = 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 12003 | func_name, file_name, archive_path, entry.data_offset, ret, │B│ 12004 | ret + entry.data_offset); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:12079:14: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] │B│ 12079 | next_path = strchr(s, ':'); │B│ | ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:12068:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 12068 | for (i = 0; i < ARRAY_SIZE(search_paths); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:12526:10: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 12526 | if (ret >= sizeof(file)) { │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:13512:42: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 13512 | if (map.max_entries && map.max_entries < pb->cpu_cnt) │B│ | ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ │B│ libbpf.c:13630:44: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 13630 | pr_warn("unknown perf sample type %d\n", e->type); │B│ | ~~ ^~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:13692:14: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'const int' [-Wsign-compare] │B│ 13692 | if (buf_idx >= pb->cpu_cnt) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~ │B│ libbpf.c:13730:14: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 13730 | if (buf_idx >= pb->cpu_cnt) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/libbpf_probes.o │B│ nlattr.c:65:26: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 65 | if (libbpf_nla_len(nla) < minlen) │B│ | ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ │B│ nlattr.c:126:47: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ 125 | pr_warn("Attribute of type %#x found multiple times in message, " │B│ | ~~~ │B│ | %#x │B│ 126 | "previous attribute is being ignored.\n", type); │B│ | ^~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:13874:10: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 13874 | if (len >= sizeof(buf)) { │B│ | ~~~ ^ ~~~~~~~~~~~ │B│ libbpf.c:13915:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 13915 | for (i = 0; i < map_cnt; i++) { │B│ | ~ ^ ~~~~~~~ │B│ libbpf.c:13940:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 13940 | for (i = 0; i < prog_cnt; i++) { │B│ | ~ ^ ~~~~~~~~ │B│ libbpf.c:14130:22: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 14130 | if (s->map_skel_sz < offsetofend(struct bpf_map_skeleton, link)) { │B│ | ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:14170:21: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 14170 | if (s->map_skel_sz < sizeof(struct bpf_map_skeleton)) │B│ | ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 2 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/bpf_prog_linfo.o │B│ netlink.c:159:11: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 159 | if (len > iov.iov_len) { │B│ | ~~~ ^ ~~~~~~~~~~~ │B│ netlink.c:174:46: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 174 | for (nh = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(nh, len); │B│ | ^~~~~~~~~~~~~~~~~ │B│ ../include/uapi/linux/netlink.h:99:24: note: expanded from macro 'NLMSG_OK' │B│ 99 | (nlh)->nlmsg_len <= (len)) │B│ | ~~~~~~~~~~~~~~~~ ^ ~~~ │B│ netlink.c:180:22: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 180 | if (nh->nlmsg_seq != seq) { │B│ | ~~~~~~~~~~~~~ ^ ~~~ │B│ netlink.c:421:14: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 421 | if (ifindex != md->ifindex) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~ │B│ netlink.c:727:10: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 727 | if (len >= sizeof(name)) │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ 5 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/btf_dump.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/hashmap.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/nlattr.o │B│ btf_dump.c:31:13: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare] │B│ 31 | return lvl >= PREFIX_CNT ? PREFIXES : &PREFIXES[PREFIX_CNT - lvl]; │B│ | ~~~ ^ ~~~~~~~~~~ │B│ btf_dump.c:899:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 899 | for (i = 0; i < ARRAY_SIZE(pads); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf_dump.c:1051:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1051 | for (i = 0; i < ARRAY_SIZE(missing_base_types); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ btf_dump.c:1771:44: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1771 | pr_warn("unexpected bitfield size %d\n", t->size); │B│ | ~~ ^~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_dump.c:1881:20: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1881 | if (sz == 0 || sz > sizeof(buf)) { │B│ | ~~ ^ ~~~~~~~~~~~ │B│ btf_dump.c:2246:53: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 2246 | pr_warn("unexpected size %d for enum, id:[%u]\n", t->size, id); │B│ | ~~ ^~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_dump.c:2280:14: warning: comparison of integers of different signs: '__s64' (aka 'long long') and '__u64' (aka 'unsigned long long') [-Wsign-compare] │B│ 2280 | if (value != btf_enum64_value(e)) │B│ | ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ btf_dump.c:2428:17: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 2428 | for (i = 0; i < array->nelems; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ 5 warnings generated. │B│ nlattr.c:65:26: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 65 | if (libbpf_nla_len(nla) < minlen) │B│ | ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ │B│ nlattr.c:126:47: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ 125 | pr_warn("Attribute of type %#x found multiple times in message, " │B│ | ~~~ │B│ | %#x │B│ 126 | "previous attribute is being ignored.\n", type); │B│ | ^~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/str_error.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/ringbuf.o │B│ 2 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/libbpf_probes.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/bpf_prog_linfo.o │B│ ringbuf.c:273:12: warning: comparison of integers of different signs: 'int64_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 273 | if (cnt >= n) │B│ | ~~~ ^ ~ │B│ ringbuf.c:368:10: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] │B│ 368 | if (idx >= rb->ring_cnt) │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/btf_dump.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/hashmap.o │B│ 2 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/strset.o │B│ btf_dump.c:31:13: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare] │B│ 31 | return lvl >= PREFIX_CNT ? PREFIXES : &PREFIXES[PREFIX_CNT - lvl]; │B│ | ~~~ ^ ~~~~~~~~~~ │B│ btf_dump.c:899:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 899 | for (i = 0; i < ARRAY_SIZE(pads); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf_dump.c:1051:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1051 | for (i = 0; i < ARRAY_SIZE(missing_base_types); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ btf_dump.c:1771:44: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1771 | pr_warn("unexpected bitfield size %d\n", t->size); │B│ | ~~ ^~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_dump.c:1881:20: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1881 | if (sz == 0 || sz > sizeof(buf)) { │B│ | ~~ ^ ~~~~~~~~~~~ │B│ btf_dump.c:2246:53: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 2246 | pr_warn("unexpected size %d for enum, id:[%u]\n", t->size, id); │B│ | ~~ ^~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_dump.c:2280:14: warning: comparison of integers of different signs: '__s64' (aka 'long long') and '__u64' (aka 'unsigned long long') [-Wsign-compare] │B│ 2280 | if (value != btf_enum64_value(e)) │B│ | ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ btf_dump.c:2428:17: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 2428 | for (i = 0; i < array->nelems; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ strset.c:66:21: warning: comparison of integers of different signs: 'long' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 66 | for (off = 0; off < set->strs_data_len; off += strlen(set->strs_data + off) + 1) { │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/ringbuf.o │B│ 1 warning generated. │B│ 8 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/linker.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/gen_loader.o │B│ ringbuf.c:273:12: warning: comparison of integers of different signs: 'int64_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 273 | if (cnt >= n) │B│ | ~~~ ^ ~ │B│ ringbuf.c:368:10: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] │B│ 368 | if (idx >= rb->ring_cnt) │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ linker.c:584:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 584 | while (written < buf_sz) { │B│ | ~~~~~~~ ^ ~~~~~~ │B│ gen_loader.c:145:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 145 | for (i = 0; i < nr_progs_sz; i += 4) { │B│ | ~ ^ ~~~~~~~~~~~ │B│ linker.c:923:48: warning: comparison of integers of different signs: 'Elf64_Word' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 923 | if (!sec->shdr->sh_link || sec->shdr->sh_link >= obj->sec_cnt) { │B│ | ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ │B│ linker.c:1005:48: warning: comparison of integers of different signs: 'Elf64_Word' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 1005 | if (!sec->shdr->sh_info || sec->shdr->sh_info >= obj->sec_cnt) { │B│ | ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ │B│ linker.c:1106:17: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 1106 | if (*type_id >= n) │B│ | ~~~~~~~~ ^ ~ │B│ linker.c:1235:22: warning: comparison of integers of different signs: 'int' and 'Elf64_Xword' (aka 'unsigned long') [-Wsign-compare] │B│ 1235 | if (dst_sec->sec_sz != src_sec->shdr->sh_size) │B│ | ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:377:14: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 376 | pr_warn("nr_progs %d/%d nr_maps %d/%d mismatch\n", │B│ | ~~ │B│ | %u │B│ 377 | nr_progs, gen->nr_progs, nr_maps, gen->nr_maps); │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:377:38: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 376 | pr_warn("nr_progs %d/%d nr_maps %d/%d mismatch\n", │B│ | ~~ │B│ | %u │B│ 377 | nr_progs, gen->nr_progs, nr_maps, gen->nr_maps); │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:375:42: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 375 | if (nr_progs < gen->nr_progs || nr_maps != gen->nr_maps) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~ │B│ gen_loader.c:375:15: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 375 | if (nr_progs < gen->nr_progs || nr_maps != gen->nr_maps) { │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~ │B│ gen_loader.c:382:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 382 | for (i = 0; i < gen->nr_progs; i++) │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ gen_loader.c:389:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 389 | for (i = 0; i < gen->nr_maps; i++) │B│ | ~ ^ ~~~~~~~~~~~~ │B│ linker.c:1888:25: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 1888 | if (btf_id && btf_id != vi->type) { │B│ | ~~~~~~ ^ ~~~~~~~~ │B│ gen_loader.c:462:14: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 461 | pr_debug("gen: load_btf: off %d size %d, attr: off %d size %d\n", │B│ | ~~ │B│ | %u │B│ 462 | btf_data, btf_raw_size, btf_load_attr, attr_size); │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ linker.c:2653:33: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 2653 | if (dst_sec->func_info.rec_sz != rec_sz) { │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ │B│ linker.c:2658:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 2658 | for_each_btf_ext_rec(&obj->btf_ext->func_info, ext_sec, i, src_rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ linker.c:2682:33: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 2682 | if (dst_sec->line_info.rec_sz != rec_sz) { │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ │B│ linker.c:2687:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 2687 | for_each_btf_ext_rec(&obj->btf_ext->line_info, ext_sec, i, src_rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ linker.c:2724:38: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 2724 | if (dst_sec->core_relo_info.rec_sz != rec_sz) { │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ │B│ linker.c:2729:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 2729 | for_each_btf_ext_rec(&obj->btf_ext->core_relo_info, ext_sec, i, src_rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ gen_loader.c:508:23: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 507 | pr_debug("gen: map_create: %s idx %d type %d value_type_id %d, attr: off %d size %d\n", │B│ | ~~ │B│ | %u │B│ 508 | map_name, map_idx, map_type, map_attr->btf_value_type_id, │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:508:33: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 507 | pr_debug("gen: map_create: %s idx %d type %d value_type_id %d, attr: off %d size %d\n", │B│ | ~~ │B│ | %u │B│ 508 | map_name, map_idx, map_type, map_attr->btf_value_type_id, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:546:21: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 546 | } else if (map_idx != gen->nr_maps) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~ │B│ gen_loader.c:570:10: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 570 | if (ret >= sizeof(gen->attach_target)) │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:623:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 623 | for (i = 0; i < gen->nr_ksyms; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ gen_loader.c:941:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 941 | for (i = 0; i < gen->nr_ksyms; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ gen_loader.c:977:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 977 | for (i = 0; i < load_attr->func_info_cnt; i++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:980:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 980 | for (i = 0; i < load_attr->line_info_cnt; i++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:1008:14: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 1007 | pr_debug("gen: prog_load: prog_idx %d type %d insn off %d insns_cnt %zd license off %d\n", │B│ | ~~ │B│ | %u │B│ 1008 | prog_idx, prog_type, insns_off, insn_cnt, license_off); │B│ | ^~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1008:36: warning: format specifies type 'signed size_t' (aka 'long') but the argument has type 'size_t' (aka 'unsigned long'), which differs in signedness [-Wformat-signedness] │B│ 1007 | pr_debug("gen: prog_load: prog_idx %d type %d insn off %d insns_cnt %zd license off %d\n", │B│ | ~~~ │B│ | %zu │B│ 1008 | prog_idx, prog_type, insns_off, insn_cnt, license_off); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1031:15: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1030 | pr_debug("gen: prog_load: func_info: off %d cnt %d rec size %d\n", │B│ | ~~ │B│ | %u │B│ 1031 | func_info, load_attr->func_info_cnt, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1032:4: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1030 | pr_debug("gen: prog_load: func_info: off %d cnt %d rec size %d\n", │B│ | ~~ │B│ | %u │B│ 1031 | func_info, load_attr->func_info_cnt, │B│ 1032 | load_attr->func_info_rec_size); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1038:15: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1037 | pr_debug("gen: prog_load: line_info: off %d cnt %d rec size %d\n", │B│ | ~~ │B│ | %u │B│ 1038 | line_info, load_attr->line_info_cnt, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1039:4: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1037 | pr_debug("gen: prog_load: line_info: off %d cnt %d rec size %d\n", │B│ | ~~ │B│ | %u │B│ 1038 | line_info, load_attr->line_info_cnt, │B│ 1039 | load_attr->line_info_rec_size); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1046:4: warning: format specifies type 'signed size_t' (aka 'long') but the argument has type '__size_t' (aka 'unsigned long'), which differs in signedness [-Wformat-signedness] │B│ 1044 | pr_debug("gen: prog_load: core_relos: off %d cnt %d rec size %zd\n", │B│ | ~~~ │B│ | %zu │B│ 1045 | core_relos, gen->core_relo_cnt, │B│ 1046 | sizeof(struct bpf_core_relo)); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1015:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1015 | for (i = 0; i < insn_cnt; i++, insn++) │B│ | ~ ^ ~~~~~~~~ │B│ gen_loader.c:1151:20: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1150 | pr_debug("gen: map_update_elem: idx %d, value: off %d size %d, attr: off %d size %d\n", │B│ | ~~ │B│ | %u │B│ 1151 | map_idx, value, value_size, map_update_attr, attr_size); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ 2 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/strset.o │B│ 33 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/linker.o │B│ 33 warnings generated. │B│ strset.c:66:21: warning: comparison of integers of different signs: 'long' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 66 | for (off = 0; off < set->strs_data_len; off += strlen(set->strs_data + off) + 1) { │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/relo_core.o │B│ 1 warning generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/gen_loader.o │B│ linker.c:584:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 584 | while (written < buf_sz) { │B│ | ~~~~~~~ ^ ~~~~~~ │B│ linker.c:923:48: warning: comparison of integers of different signs: 'Elf64_Word' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 923 | if (!sec->shdr->sh_link || sec->shdr->sh_link >= obj->sec_cnt) { │B│ | ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ │B│ linker.c:1005:48: warning: comparison of integers of different signs: 'Elf64_Word' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 1005 | if (!sec->shdr->sh_info || sec->shdr->sh_info >= obj->sec_cnt) { │B│ | ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ │B│ linker.c:1106:17: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 1106 | if (*type_id >= n) │B│ | ~~~~~~~~ ^ ~ │B│ linker.c:1235:22: warning: comparison of integers of different signs: 'int' and 'Elf64_Xword' (aka 'unsigned long') [-Wsign-compare] │B│ 1235 | if (dst_sec->sec_sz != src_sec->shdr->sh_size) │B│ | ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ │B│ linker.c:1888:25: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 1888 | if (btf_id && btf_id != vi->type) { │B│ | ~~~~~~ ^ ~~~~~~~~ │B│ linker.c:2653:33: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 2653 | if (dst_sec->func_info.rec_sz != rec_sz) { │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ │B│ linker.c:2658:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 2658 | for_each_btf_ext_rec(&obj->btf_ext->func_info, ext_sec, i, src_rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ linker.c:2682:33: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 2682 | if (dst_sec->line_info.rec_sz != rec_sz) { │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ │B│ linker.c:2687:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 2687 | for_each_btf_ext_rec(&obj->btf_ext->line_info, ext_sec, i, src_rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ linker.c:2724:38: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 2724 | if (dst_sec->core_relo_info.rec_sz != rec_sz) { │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ │B│ linker.c:2729:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 2729 | for_each_btf_ext_rec(&obj->btf_ext->core_relo_info, ext_sec, i, src_rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:443:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 443 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ 8 warnings generated. │B│ relo_core.c:221:30: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 220 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", │B│ | ~~ │B│ | %u │B│ 221 | btf_kind_str(local_type), local_id, targ_id); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:221:40: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 220 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", │B│ | ~~ │B│ | %u │B│ 221 | btf_kind_str(local_type), local_id, targ_id); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:387:44: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 386 | pr_warn("prog '%s': relo for [%u] %s (at idx %d) captures type [%d] of unexpected kind %s\n", │B│ | ~~ │B│ | %u │B│ 387 | prog_name, relo->type_id, spec_str, i, id, btf_kind_str(t)); │B│ | ^~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:374:28: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 374 | if (!flex && access_idx >= a->nelems) │B│ | ~~~~~~~~~~ ^ ~~~~~~~~~ │B│ relo_core.c:728:16: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/relo_core.o │B│ 727 | pr_warn("prog '%s': relo %d at insn #%d can't be applied to array access\n", │B│ | ~~ │B│ | %u │B│ 728 | prog_name, relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:728:28: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 727 | pr_warn("prog '%s': relo %d at insn #%d can't be applied to array access\n", │B│ | ~~ │B│ | %u │B│ 728 | prog_name, relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:750:17: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 749 | pr_warn("prog '%s': relo %d at insn #%d can't be satisfied for bitfield\n", │B│ | ~~ │B│ | %u │B│ 750 | prog_name, relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:750:29: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 749 | pr_warn("prog '%s': relo %d at insn #%d can't be satisfied for bitfield\n", │B│ | ~~ │B│ | %u │B│ 750 | prog_name, relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:975:4: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 973 | pr_warn("prog '%s': relo #%d: unrecognized CO-RE relocation %s (%d) at insn #%d\n", │B│ | ~~ │B│ | %u │B│ 974 | prog_name, relo_idx, core_relo_kind_str(relo->kind), │B│ 975 | relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:975:16: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 973 | pr_warn("prog '%s': relo #%d: unrecognized CO-RE relocation %s (%d) at insn #%d\n", │B│ | ~~ │B│ | %u │B│ 974 | prog_name, relo_idx, core_relo_kind_str(relo->kind), │B│ 975 | relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1071:15: warning: format specifies type 'unsigned int' but the argument has type '__s32' (aka 'int'), which differs in signedness [-Wformat-signedness] │B│ 1069 | pr_warn("prog '%s': relo #%d: unexpected insn #%d (ALU/ALU64) value: got %u, exp %llu -> %llu\n", │B│ | ~~ │B│ | %d │B│ 1070 | prog_name, relo_idx, │B│ 1071 | insn_idx, insn->imm, (unsigned long long)orig_val, │B│ | ^~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1161:45: warning: format specifies type 'unsigned int' but the argument has type '__s32' (aka 'int'), which differs in signedness [-Wformat-signedness] │B│ 1159 | 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", │B│ | ~~ │B│ | %x │B│ 1160 | prog_name, relo_idx, insn_idx, insn->code, │B│ 1161 | insn->src_reg, insn->dst_reg, insn->off, insn->imm); │B│ | ^~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1068:34: warning: comparison of integers of different signs: '__s32' (aka 'int') and '__u64' (aka 'unsigned long long') [-Wsign-compare] │B│ 1068 | if (res->validate && insn->imm != orig_val) { │B│ | ~~~~~~~~~ ^ ~~~~~~~~ │B│ relo_core.c:1084:34: warning: comparison of integers of different signs: '__s16' (aka 'short') and '__u64' (aka 'unsigned long long') [-Wsign-compare] │B│ 1084 | if (res->validate && insn->off != orig_val) { │B│ | ~~~~~~~~~ ^ ~~~~~~~~ │B│ relo_core.c:1112:22: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 1112 | if (insn_bytes_sz != res->orig_sz) { │B│ | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ │B│ relo_core.c:1194:2: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1194 | append_buf("<%s> [%u] %s %s", │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 1195 | core_relo_kind_str(spec->relo_kind), │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 1196 | type_id, btf_kind_str(t), str_is_empty(s) ? "" : s); │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1210:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1210 | append_buf(fmt_str, s, e->val); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1218:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1218 | append_buf(fmt_str, s, (unsigned long long)btf_enum64_value(e)); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1226:5: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1226 | append_buf(".%s", spec->spec[i].name); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1228:5: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1228 | append_buf("[%u]", spec->spec[i].idx); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1231:3: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1231 | append_buf(" ("); │B│ | ^~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1233:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1233 | append_buf("%s%d", i == 0 ? "" : ":", spec->raw_spec[i]); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1236:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1236 | append_buf(" @ offset %u.%u)", spec->bit_offset / 8, spec->bit_offset % 8); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1238:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1238 | append_buf(" @ offset %u)", spec->bit_offset / 8); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1326:25: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1325 | pr_warn("prog '%s': relo #%d: parsing [%d] %s %s + %s failed: %d\n", │B│ | ~~ │B│ | %u │B│ 1326 | prog_name, relo_idx, local_id, btf_kind_str(local_type), │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1349:57: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 1348 | pr_warn("prog '%s': relo #%d: <%s> (%d) relocation doesn't support anonymous types\n", │B│ | ~~ │B│ | %u │B│ 1349 | prog_name, relo_idx, core_relo_kind_str(relo->kind), relo->kind); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1700:27: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1699 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", │B│ | ~~ │B│ | %u │B│ 1700 | btf_kind_str(local_t), local_id, targ_id); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1700:37: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1699 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", │B│ | ~~ │B│ | %u │B│ 1700 | btf_kind_str(local_t), local_id, targ_id); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:145:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 145 | for (i = 0; i < nr_progs_sz; i += 4) { │B│ | ~ ^ ~~~~~~~~~~~ │B│ gen_loader.c:377:14: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 376 | pr_warn("nr_progs %d/%d nr_maps %d/%d mismatch\n", │B│ | ~~ │B│ | %u │B│ 377 | nr_progs, gen->nr_progs, nr_maps, gen->nr_maps); │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:377:38: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 376 | pr_warn("nr_progs %d/%d nr_maps %d/%d mismatch\n", │B│ | ~~ │B│ | %u │B│ 377 | nr_progs, gen->nr_progs, nr_maps, gen->nr_maps); │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:375:42: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 375 | if (nr_progs < gen->nr_progs || nr_maps != gen->nr_maps) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~ │B│ gen_loader.c:375:15: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 375 | if (nr_progs < gen->nr_progs || nr_maps != gen->nr_maps) { │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~ │B│ gen_loader.c:382:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 382 | for (i = 0; i < gen->nr_progs; i++) │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ gen_loader.c:389:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 389 | for (i = 0; i < gen->nr_maps; i++) │B│ | ~ ^ ~~~~~~~~~~~~ │B│ gen_loader.c:462:14: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 461 | pr_debug("gen: load_btf: off %d size %d, attr: off %d size %d\n", │B│ | ~~ │B│ | %u │B│ 462 | btf_data, btf_raw_size, btf_load_attr, attr_size); │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:508:23: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 507 | pr_debug("gen: map_create: %s idx %d type %d value_type_id %d, attr: off %d size %d\n", │B│ | ~~ │B│ | %u │B│ 508 | map_name, map_idx, map_type, map_attr->btf_value_type_id, │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:508:33: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 507 | pr_debug("gen: map_create: %s idx %d type %d value_type_id %d, attr: off %d size %d\n", │B│ | ~~ │B│ | %u │B│ 508 | map_name, map_idx, map_type, map_attr->btf_value_type_id, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:546:21: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 546 | } else if (map_idx != gen->nr_maps) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~ │B│ gen_loader.c:570:10: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 570 | if (ret >= sizeof(gen->attach_target)) │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:623:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 623 | for (i = 0; i < gen->nr_ksyms; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ gen_loader.c:941:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 941 | for (i = 0; i < gen->nr_ksyms; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ gen_loader.c:977:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 977 | for (i = 0; i < load_attr->func_info_cnt; i++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:980:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 980 | for (i = 0; i < load_attr->line_info_cnt; i++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:1008:14: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 1007 | pr_debug("gen: prog_load: prog_idx %d type %d insn off %d insns_cnt %zd license off %d\n", │B│ | ~~ │B│ | %u │B│ 1008 | prog_idx, prog_type, insns_off, insn_cnt, license_off); │B│ | ^~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1008:36: warning: format specifies type 'signed size_t' (aka 'long') but the argument has type 'size_t' (aka 'unsigned long'), which differs in signedness [-Wformat-signedness] │B│ 1007 | pr_debug("gen: prog_load: prog_idx %d type %d insn off %d insns_cnt %zd license off %d\n", │B│ | ~~~ │B│ | %zu │B│ 1008 | prog_idx, prog_type, insns_off, insn_cnt, license_off); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1031:15: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1030 | pr_debug("gen: prog_load: func_info: off %d cnt %d rec size %d\n", │B│ | ~~ │B│ | %u │B│ 1031 | func_info, load_attr->func_info_cnt, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1032:4: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1030 | pr_debug("gen: prog_load: func_info: off %d cnt %d rec size %d\n", │B│ | ~~ │B│ | %u │B│ 1031 | func_info, load_attr->func_info_cnt, │B│ 1032 | load_attr->func_info_rec_size); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1038:15: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1037 | pr_debug("gen: prog_load: line_info: off %d cnt %d rec size %d\n", │B│ | ~~ │B│ | %u │B│ 1038 | line_info, load_attr->line_info_cnt, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1039:4: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1037 | pr_debug("gen: prog_load: line_info: off %d cnt %d rec size %d\n", │B│ | ~~ │B│ | %u │B│ 1038 | line_info, load_attr->line_info_cnt, │B│ 1039 | load_attr->line_info_rec_size); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1046:4: warning: format specifies type 'signed size_t' (aka 'long') but the argument has type '__size_t' (aka 'unsigned long'), which differs in signedness [-Wformat-signedness] │B│ 1044 | pr_debug("gen: prog_load: core_relos: off %d cnt %d rec size %zd\n", │B│ | ~~~ │B│ | %zu │B│ 1045 | core_relos, gen->core_relo_cnt, │B│ 1046 | sizeof(struct bpf_core_relo)); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1015:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1015 | for (i = 0; i < insn_cnt; i++, insn++) │B│ | ~ ^ ~~~~~~~~ │B│ gen_loader.c:1151:20: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1150 | pr_debug("gen: map_update_elem: idx %d, value: off %d size %d, attr: off %d size %d\n", │B│ | ~~ │B│ | %u │B│ 1151 | map_idx, value, value_size, map_update_attr, attr_size); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:221:30: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 220 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", │B│ | ~~ │B│ | %u │B│ 221 | btf_kind_str(local_type), local_id, targ_id); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:221:40: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 220 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", │B│ | ~~ │B│ | %u │B│ 221 | btf_kind_str(local_type), local_id, targ_id); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:387:44: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 386 | pr_warn("prog '%s': relo for [%u] %s (at idx %d) captures type [%d] of unexpected kind %s\n", │B│ | ~~ │B│ | %u │B│ 387 | prog_name, relo->type_id, spec_str, i, id, btf_kind_str(t)); │B│ | ^~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:374:28: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 374 | if (!flex && access_idx >= a->nelems) │B│ | ~~~~~~~~~~ ^ ~~~~~~~~~ │B│ relo_core.c:728:16: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 727 | pr_warn("prog '%s': relo %d at insn #%d can't be applied to array access\n", │B│ | ~~ │B│ | %u │B│ 728 | prog_name, relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:728:28: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 727 | pr_warn("prog '%s': relo %d at insn #%d can't be applied to array access\n", │B│ | ~~ │B│ | %u │B│ 728 | prog_name, relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:750:17: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 749 | pr_warn("prog '%s': relo %d at insn #%d can't be satisfied for bitfield\n", │B│ | ~~ │B│ | %u │B│ 750 | prog_name, relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:750:29: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 749 | pr_warn("prog '%s': relo %d at insn #%d can't be satisfied for bitfield\n", │B│ | ~~ │B│ | %u │B│ 750 | prog_name, relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:975:4: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 973 | pr_warn("prog '%s': relo #%d: unrecognized CO-RE relocation %s (%d) at insn #%d\n", │B│ | ~~ │B│ | %u │B│ 974 | prog_name, relo_idx, core_relo_kind_str(relo->kind), │B│ 975 | relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:975:16: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 973 | pr_warn("prog '%s': relo #%d: unrecognized CO-RE relocation %s (%d) at insn #%d\n", │B│ | ~~ │B│ | %u │B│ 974 | prog_name, relo_idx, core_relo_kind_str(relo->kind), │B│ 975 | relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1071:15: warning: format specifies type 'unsigned int' but the argument has type '__s32' (aka 'int'), which differs in signedness [-Wformat-signedness] │B│ 1069 | pr_warn("prog '%s': relo #%d: unexpected insn #%d (ALU/ALU64) value: got %u, exp %llu -> %llu\n", │B│ | ~~ │B│ | %d │B│ 1070 | prog_name, relo_idx, │B│ 1071 | insn_idx, insn->imm, (unsigned long long)orig_val, │B│ | ^~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1161:45: warning: format specifies type 'unsigned int' but the argument has type '__s32' (aka 'int'), which differs in signedness [-Wformat-signedness] │B│ 1159 | 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", │B│ | ~~ │B│ | %x │B│ 1160 | prog_name, relo_idx, insn_idx, insn->code, │B│ 1161 | insn->src_reg, insn->dst_reg, insn->off, insn->imm); │B│ | ^~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1068:34: warning: comparison of integers of different signs: '__s32' (aka 'int') and '__u64' (aka 'unsigned long long') [-Wsign-compare] │B│ 1068 | if (res->validate && insn->imm != orig_val) { │B│ | ~~~~~~~~~ ^ ~~~~~~~~ │B│ relo_core.c:1084:34: warning: comparison of integers of different signs: '__s16' (aka 'short') and '__u64' (aka 'unsigned long long') [-Wsign-compare] │B│ 1084 | if (res->validate && insn->off != orig_val) { │B│ | ~~~~~~~~~ ^ ~~~~~~~~ │B│ relo_core.c:1112:22: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 1112 | if (insn_bytes_sz != res->orig_sz) { │B│ | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ │B│ relo_core.c:1194:2: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1194 | append_buf("<%s> [%u] %s %s", │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 1195 | core_relo_kind_str(spec->relo_kind), │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 1196 | type_id, btf_kind_str(t), str_is_empty(s) ? "" : s); │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1210:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1210 | append_buf(fmt_str, s, e->val); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1218:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1218 | append_buf(fmt_str, s, (unsigned long long)btf_enum64_value(e)); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1226:5: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1226 | append_buf(".%s", spec->spec[i].name); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1228:5: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1228 | append_buf("[%u]", spec->spec[i].idx); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1231:3: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1231 | append_buf(" ("); │B│ | ^~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1233:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1233 | append_buf("%s%d", i == 0 ? "" : ":", spec->raw_spec[i]); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1236:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1236 | append_buf(" @ offset %u.%u)", spec->bit_offset / 8, spec->bit_offset % 8); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1238:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1238 | append_buf(" @ offset %u)", spec->bit_offset / 8); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1184:9: note: expanded from macro 'append_buf' │B│ 1184 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1326:25: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1325 | pr_warn("prog '%s': relo #%d: parsing [%d] %s %s + %s failed: %d\n", │B│ | ~~ │B│ | %u │B│ 1326 | prog_name, relo_idx, local_id, btf_kind_str(local_type), │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1349:57: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 1348 | pr_warn("prog '%s': relo #%d: <%s> (%d) relocation doesn't support anonymous types\n", │B│ | ~~ │B│ | %u │B│ 1349 | prog_name, relo_idx, core_relo_kind_str(relo->kind), relo->kind); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1700:27: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1699 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", │B│ | ~~ │B│ | %u │B│ 1700 | btf_kind_str(local_t), local_id, targ_id); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1700:37: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1699 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", │B│ | ~~ │B│ | %u │B│ 1700 | btf_kind_str(local_t), local_id, targ_id); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ 25 warnings generated. │B│ 12 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/usdt.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/zip.o │B│ 28 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/elf.o │B│ 28 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/usdt.o │B│ usdt.c:312:56: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 312 | pr_warn("usdt: unrecognized ELF kind %d for '%s'\n", elf_kind(elf), path); │B│ | ~~ ^~~~~~~~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:423:14: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 422 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 423 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:423:34: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 422 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 423 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:423:54: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 422 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 423 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ | ^~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:424:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 422 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 423 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ 424 | (long)phdr.p_type, (long)phdr.p_flags); │B│ | ^~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:424:24: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 422 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 423 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ 424 | (long)phdr.p_type, (long)phdr.p_flags); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:416:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 416 | for (i = 0; i < n; i++) { │B│ | ~ ^ ~ │B│ usdt.c:550:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 550 | for (i = 0, seg = segs; i < seg_cnt; i++, seg++) { │B│ | ~ ^ ~~~~~~~ │B│ usdt.c:566:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 566 | for (i = 0, seg = segs; i < seg_cnt; i++, seg++) { │B│ | ~ ^ ~~~~~~~ │B│ usdt.c:676:37: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 675 | pr_warn("usdt: failed to find ELF program segment for '%s:%s' in '%s' at IP 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 676 | usdt_provider, usdt_name, path, usdt_abs_ip); │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:682:11: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 681 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx) for '%s:%s' at IP 0x%lx is not executable\n", │B│ | ~~~ │B│ | %lx │B│ 682 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:682:23: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 681 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx) for '%s:%s' at IP 0x%lx is not executable\n", │B│ | ~~~ │B│ | %lx │B│ 682 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:683:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 681 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx) for '%s:%s' at IP 0x%lx is not executable\n", │B│ | ~~~ │B│ | %lx │B│ 682 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ 683 | usdt_abs_ip); │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:723:38: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 722 | pr_warn("usdt: failed to find shared lib memory segment for '%s:%s' in '%s' at relative IP 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 723 | usdt_provider, usdt_name, path, usdt_rel_ip); │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:732:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 730 | 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", │B│ | ~~~ │B│ | %lx │B│ 731 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 732 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:732:20: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 730 | 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", │B│ | ~~~ │B│ | %lx │B│ 731 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 732 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:732:36: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 730 | 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", │B│ | ~~~ │B│ | %lx │B│ 731 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 732 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:732:49: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 730 | 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", │B│ | ~~~ │B│ | %lx │B│ 731 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 732 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:733:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 730 | 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", │B│ | ~~~ │B│ | %lx │B│ 731 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 732 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ 733 | seg ? seg->start : 0, seg ? seg->end : 0, seg ? seg->offset : 0); │B│ | ^~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:733:27: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 730 | 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", │B│ | ~~~ │B│ | %lx │B│ 731 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 732 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ 733 | seg ? seg->start : 0, seg ? seg->end : 0, seg ? seg->offset : 0); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:733:47: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 730 | 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", │B│ | ~~~ │B│ | %lx │B│ 731 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 732 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ 733 | seg ? seg->start : 0, seg ? seg->end : 0, seg ? seg->offset : 0); │B│ | ^~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:748:38: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 747 | pr_warn("usdt: failed to find ELF loadable segment with semaphore of '%s:%s' in '%s' at 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 748 | usdt_provider, usdt_name, path, note.sema_addr); │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:754:12: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 753 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx] for semaphore of '%s:%s' at 0x%lx is executable\n", │B│ | ~~~ │B│ | %lx │B│ 754 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:754:24: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 753 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx] for semaphore of '%s:%s' at 0x%lx is executable\n", │B│ | ~~~ │B│ | %lx │B│ 754 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:755:6: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 753 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx] for semaphore of '%s:%s' at 0x%lx is executable\n", │B│ | ~~~ │B│ | %lx │B│ 754 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ 755 | note.sema_addr); │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:763:12: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 761 | 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", │B│ | ~~~ │B│ | %lx │B│ 762 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 763 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:763:28: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 761 | 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", │B│ | ~~~ │B│ | %lx │B│ 762 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 763 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:763:44: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 761 | 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", │B│ | ~~~ │B│ | %lx │B│ 762 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 763 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:764:6: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 761 | 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", │B│ | ~~~ │B│ | %lx │B│ 762 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 763 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ 764 | seg->start, seg->end, seg->offset); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:764:18: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 761 | 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", │B│ | ~~~ │B│ | %lx │B│ 762 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 763 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ 764 | seg->start, seg->end, seg->offset); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:764:28: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 761 | 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", │B│ | ~~~ │B│ | %lx │B│ 762 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 763 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ 764 | seg->start, seg->end, seg->offset); │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:832:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 832 | for (i = 0; i < usdt_link->uprobe_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ usdt.c:1064:6: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 1063 | pr_warn("usdt: failed to map IP 0x%lx to spec #%d for '%s:%s' in '%s': %s\n", │B│ | ~~~ │B│ | %lx │B│ 1064 | target->abs_ip, spec_id, usdt_provider, usdt_name, │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:1032:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1032 | for (i = 0; i < target_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~ │B│ elf.c:70:18: warning: comparison of integers of different signs: 'Elf64_Word' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 70 | if (sh.sh_type == sh_type) │B│ | ~~~~~~~~~~ ^ ~~~~~~~ │B│ usdt.c:1273:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1273 | for (i = 0; i < ARRAY_SIZE(reg_map); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ usdt.c:1274:17: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1274 | for (j = 0; j < ARRAY_SIZE(reg_map[i].names); j++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ elf.c:358:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 357 | pr_debug("elf: symbol address match for '%s' in '%s': 0x%lx\n", name, binary_path, │B│ | ~~~ │B│ | %lx │B│ 358 | ret); │B│ | ^~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ elf.c:312:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 312 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ elf.c:332:29: warning: comparison of integers of different signs: 'unsigned long' and 'long' [-Wsign-compare] │B│ 332 | if (elf_sym_offset(sym) == ret) { │B│ | ~~~~~~~~~~~~~~~~~~~ ^ ~~~ │B│ elf.c:437:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 437 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ elf.c:518:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 518 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/features.o │B│ usdt.c:312:56: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 312 | pr_warn("usdt: unrecognized ELF kind %d for '%s'\n", elf_kind(elf), path); │B│ | ~~ ^~~~~~~~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:423:14: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 422 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 423 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:423:34: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 422 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 423 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:423:54: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 422 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 423 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ | ^~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:424:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 422 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 423 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ 424 | (long)phdr.p_type, (long)phdr.p_flags); │B│ | ^~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:424:24: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 422 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 423 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ 424 | (long)phdr.p_type, (long)phdr.p_flags); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:416:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 416 | for (i = 0; i < n; i++) { │B│ | ~ ^ ~ │B│ usdt.c:550:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 550 | for (i = 0, seg = segs; i < seg_cnt; i++, seg++) { │B│ | ~ ^ ~~~~~~~ │B│ usdt.c:566:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 566 | for (i = 0, seg = segs; i < seg_cnt; i++, seg++) { │B│ | ~ ^ ~~~~~~~ │B│ usdt.c:676:37: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 675 | pr_warn("usdt: failed to find ELF program segment for '%s:%s' in '%s' at IP 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 676 | usdt_provider, usdt_name, path, usdt_abs_ip); │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:682:11: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 681 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx) for '%s:%s' at IP 0x%lx is not executable\n", │B│ | ~~~ │B│ | %lx │B│ 682 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:682:23: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 681 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx) for '%s:%s' at IP 0x%lx is not executable\n", │B│ | ~~~ │B│ | %lx │B│ 682 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:683:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 681 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx) for '%s:%s' at IP 0x%lx is not executable\n", │B│ | ~~~ │B│ | %lx │B│ 682 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ 683 | usdt_abs_ip); │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:723:38: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 722 | pr_warn("usdt: failed to find shared lib memory segment for '%s:%s' in '%s' at relative IP 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 723 | usdt_provider, usdt_name, path, usdt_rel_ip); │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:732:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 730 | 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", │B│ | ~~~ │B│ | %lx │B│ 731 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 732 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:732:20: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 730 | 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", │B│ | ~~~ │B│ | %lx │B│ 731 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 732 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:732:36: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 730 | 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", │B│ | ~~~ │B│ | %lx │B│ 731 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 732 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:732:49: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 730 | 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", │B│ | ~~~ │B│ | %lx │B│ 731 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 732 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:733:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 730 | 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", │B│ | ~~~ │B│ | %lx │B│ 731 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 732 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ 733 | seg ? seg->start : 0, seg ? seg->end : 0, seg ? seg->offset : 0); │B│ | ^~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:733:27: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 730 | 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", │B│ | ~~~ │B│ | %lx │B│ 731 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 732 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ 733 | seg ? seg->start : 0, seg ? seg->end : 0, seg ? seg->offset : 0); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:733:47: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 730 | 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", │B│ | ~~~ │B│ | %lx │B│ 731 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 732 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ 733 | seg ? seg->start : 0, seg ? seg->end : 0, seg ? seg->offset : 0); │B│ | ^~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:748:38: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 747 | pr_warn("usdt: failed to find ELF loadable segment with semaphore of '%s:%s' in '%s' at 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 748 | usdt_provider, usdt_name, path, note.sema_addr); │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:754:12: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 753 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx] for semaphore of '%s:%s' at 0x%lx is executable\n", │B│ | ~~~ │B│ | %lx │B│ 754 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:754:24: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 753 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx] for semaphore of '%s:%s' at 0x%lx is executable\n", │B│ | ~~~ │B│ | %lx │B│ 754 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:755:6: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 753 | pr_warn("usdt: matched ELF binary '%s' segment [0x%lx, 0x%lx] for semaphore of '%s:%s' at 0x%lx is executable\n", │B│ | ~~~ │B│ | %lx │B│ 754 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ 755 | note.sema_addr); │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:763:12: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 761 | 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", │B│ | ~~~ │B│ | %lx │B│ 762 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 763 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:763:28: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 761 | 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", │B│ | ~~~ │B│ | %lx │B│ 762 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 763 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:763:44: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 761 | 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", │B│ | ~~~ │B│ | %lx │B│ 762 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 763 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:764:6: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 761 | 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", │B│ | ~~~ │B│ | %lx │B│ 762 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 763 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ 764 | seg->start, seg->end, seg->offset); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:764:18: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 761 | 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", │B│ | ~~~ │B│ | %lx │B│ 762 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 763 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ 764 | seg->start, seg->end, seg->offset); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:764:28: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 761 | 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", │B│ | ~~~ │B│ | %lx │B│ 762 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 763 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ 764 | seg->start, seg->end, seg->offset); │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:832:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 832 | for (i = 0; i < usdt_link->uprobe_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ usdt.c:1064:6: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 1063 | pr_warn("usdt: failed to map IP 0x%lx to spec #%d for '%s:%s' in '%s': %s\n", │B│ | ~~~ │B│ | %lx │B│ 1064 | target->abs_ip, spec_id, usdt_provider, usdt_name, │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:1032:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1032 | for (i = 0; i < target_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~ │B│ usdt.c:1273:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1273 | for (i = 0; i < ARRAY_SIZE(reg_map); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ usdt.c:1274:17: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1274 | for (j = 0; j < ARRAY_SIZE(reg_map[i].names); j++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 6 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/btf_iter.o │B│ 36 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/btf_relocate.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/zip.o │B│ 12 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/elf.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/features.o │B│ 36 warnings generated. │B│ btf_relocate.c:284:6: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 283 | pr_warn("base BTF id [%d] maps to invalid distilled base BTF id [%d]\n", │B│ | ~~ │B│ | %u │B│ 284 | id, dist_info->id); │B│ | ^~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_relocate.c:284:10: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 283 | pr_warn("base BTF id [%d] maps to invalid distilled base BTF id [%d]\n", │B│ | ~~ │B│ | %u │B│ 284 | id, dist_info->id); │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_relocate.c:372:10: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 371 | pr_warn("distilled base BTF type '%s' [%d] is not mapped to base BTF id\n", │B│ | ~~ │B│ | %u │B│ 372 | name, id); │B│ | ^~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_relocate.c:401:5: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 400 | pr_warn("type [%d], kind [%d] is invalid for distilled base BTF; it is anonymous\n", │B│ | ~~ │B│ | %u │B│ 401 | i, kind); │B│ | ^ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_relocate.c:405:5: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/btf_iter.o │B│ 404 | pr_warn("type [%d] in distilled based BTF has unexpected kind [%d]\n", │B│ | ~~ │B│ | %u │B│ 405 | i, kind); │B│ | ^ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_relocate.c:426:16: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 426 | if (*str_off >= r->dist_str_len) { │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~ │B│ 25 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/staticobjs/btf_relocate.o │B│ elf.c:70:18: warning: comparison of integers of different signs: 'Elf64_Word' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 70 | if (sh.sh_type == sh_type) │B│ | ~~~~~~~~~~ ^ ~~~~~~~ │B│ elf.c:358:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 357 | pr_debug("elf: symbol address match for '%s' in '%s': 0x%lx\n", name, binary_path, │B│ | ~~~ │B│ | %lx │B│ 358 | ret); │B│ | ^~~ │B│ ./libbpf_internal.h:173:54: note: expanded from macro 'pr_debug' │B│ 173 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ elf.c:312:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 312 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ elf.c:332:29: warning: comparison of integers of different signs: 'unsigned long' and 'long' [-Wsign-compare] │B│ 332 | if (elf_sym_offset(sym) == ret) { │B│ | ~~~~~~~~~~~~~~~~~~~ ^ ~~~ │B│ elf.c:437:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 437 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ elf.c:518:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 518 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ 6 warnings generated. │B│ btf_relocate.c:284:6: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 283 | pr_warn("base BTF id [%d] maps to invalid distilled base BTF id [%d]\n", │B│ | ~~ │B│ | %u │B│ 284 | id, dist_info->id); │B│ | ^~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_relocate.c:284:10: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 283 | pr_warn("base BTF id [%d] maps to invalid distilled base BTF id [%d]\n", │B│ | ~~ │B│ | %u │B│ 284 | id, dist_info->id); │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_relocate.c:372:10: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 371 | pr_warn("distilled base BTF type '%s' [%d] is not mapped to base BTF id\n", │B│ | ~~ │B│ | %u │B│ 372 | name, id); │B│ | ^~ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_relocate.c:401:5: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 400 | pr_warn("type [%d], kind [%d] is invalid for distilled base BTF; it is anonymous\n", │B│ | ~~ │B│ | %u │B│ 401 | i, kind); │B│ | ^ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_relocate.c:405:5: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 404 | pr_warn("type [%d] in distilled based BTF has unexpected kind [%d]\n", │B│ | ~~ │B│ | %u │B│ 405 | i, kind); │B│ | ^ │B│ ./libbpf_internal.h:171:52: note: expanded from macro 'pr_warn' │B│ 171 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:168:40: note: expanded from macro '__pr' │B│ 168 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_relocate.c:426:16: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 426 | if (*str_off >= r->dist_str_len) { │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~ │B│ 6 warnings generated. │B│ 6 warnings generated. │B│ 122 warnings generated. │B│ AR /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/libbpf/libbpf.a │B│ 122 warnings generated. │B│ AR /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/libbpf/libbpf.a │B│ make[1]: Leaving directory '/mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/libbpf/src' │B│ CC btf.o │B│ CC btf_dumper.o │B│ CC cfg.o │B│ CC cgroup.o │B│ CC common.o │B│ CC feature.o │B│ make[1]: Leaving directory '/mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/libbpf/src' │B│ CC gen.o │B│ CC iter.o │B│ btf_dumper.c:71:31: warning: variable 'finfo' is uninitialized when passed as a const pointer argument here [-Wuninitialized-const-pointer] │B│ 71 | info.func_info = ptr_to_u64(&finfo); │B│ | ^~~~~ │B│ CC jit_disasm.o │B│ CC json_writer.o │B│ CC link.o │B│ 1 warning generated. │B│ CC main.o │B│ CC map.o │B│ CC map_perf_ring.o │B│ CC net.o │B│ CC netlink_dumper.o │B│ CC perf.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/main.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/common.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/json_writer.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/gen.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/btf.o │B│ CC struct_ops.o │B│ CC tracelog.o │B│ CC xlated_dumper.o │B│ CC disasm.o │B│ LINK /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src/bootstrap/bpftool │B│ GEN vmlinux.h │B│ CLANG pid_iter.bpf.o │B│ CLANG profiler.bpf.o │B│ GEN profiler.skel.h │B│ CC prog.o │B│ GEN pid_iter.skel.h │B│ CC pids.o │B│ prog.c:2294:31: warning: variable 'func_info' is uninitialized when passed as a const pointer argument here [-Wuninitialized-const-pointer] │B│ 2294 | info.func_info = ptr_to_u64(&func_info); │B│ | ^~~~~~~~~ │B│ 1 warning generated. │B│ LINK bpftool │B│ make: Leaving directory '/mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src' │ │Install │I│ + TERM=dumb │I│ + export TERM │I│ + SOURCE_DATE_EPOCH=1773270772 │I│ + export SOURCE_DATE_EPOCH │I│ + PGO_STAGE=NONE │I│ + export PGO_STAGE │I│ + PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/share/pkgconfig │I│ + export PKG_CONFIG_PATH │I│ + CFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │I│ + export CFLAGS │I│ + CGO_CFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │I│ + export CGO_CFLAGS │I│ + CXXFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │I│ + export CXXFLAGS │I│ + CGO_CXXFLAGS='-D_FORTIFY_SOURCE=2 -O2 -Werror=odr -Werror=strict-aliasing -ffat-lto-objects -flto=thin -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fstack-protector --param ssp-buffer-size=32 -g -fasynchronous-unwind-tables -march=x86-64-v2 -mtune=ivybridge -mprefer-vector-width=128 -pipe -Wformat -Wformat-security -Wno-error -fPIC' │I│ + export CGO_CXXFLAGS │I│ + FFLAGS='-D_FORTIFY_SOURCE=2 -O2 -flto=thin -fno-omit-frame-pointer -g' │I│ + export FFLAGS │I│ + LDFLAGS='-Wl,--as-needed -Wl,--build-id=sha1 -Wl,--compress-debug-sections=zstd -Wl,--icf=safe -Wl,--undefined-version -Wl,-Bsymbolic-functions -Wl,-O2,--gc-sections -Wl,-z,pack-relative-relocs -Wl,-z,relro,-z,now -flto=thin' │I│ + export LDFLAGS │I│ + CGO_LDFLAGS='-Wl,--as-needed -Wl,--build-id=sha1 -Wl,--compress-debug-sections=zstd -Wl,--icf=safe -Wl,--undefined-version -Wl,-Bsymbolic-functions -Wl,-O2,--gc-sections -Wl,-z,pack-relative-relocs -Wl,-z,relro,-z,now -flto=thin -Wl,--no-gc-sections' │I│ + export CGO_LDFLAGS │I│ + DFLAGS='-O2 -flto=thin -frame-pointer=all -g -gc -d-debug -mcpu=x86-64-v2 -release -Hkeep-all-bodies -relocation-model=pic -wi' │I│ + export DFLAGS │I│ + RUSTFLAGS='-C debuginfo=2 -C split-debuginfo=off -C force-frame-pointers -C link-args=-Wl,--build-id=sha1 -C link-args=-Wl,--compress-debug-sections=zstd -C lto=thin -C linker-plugin-lto -C embed-bitcode=yes -C opt-level=3 -C codegen-units=16 -C strip=none -C target-cpu=x86-64-v2' │I│ + export RUSTFLAGS │I│ + CC=clang │I│ + export CC │I│ + CXX=clang++ │I│ + export CXX │I│ + OBJC=clang │I│ + export OBJC │I│ + OBJCXX=clang++ │I│ + export OBJCXX │I│ + CPP=clang-cpp │I│ + export CPP │I│ + OBJCPP='clang -E -' │I│ + export OBJCPP │I│ + OBJCXXCPP='clang++ -E' │I│ + export OBJCXXCPP │I│ + AR=llvm-ar │I│ + export AR │I│ + LD=ld.lld │I│ + export LD │I│ + OBJCOPY=llvm-objcopy │I│ + export OBJCOPY │I│ + NM=llvm-nm │I│ + export NM │I│ + RANLIB=llvm-ranlib │I│ + export RANLIB │I│ + STRIP=llvm-strip │I│ + export STRIP │I│ + PATH=/usr/bin:/bin │I│ + export PATH │I│ + CCACHE_DIR=/mason/ccache │I│ + export CCACHE_DIR │I│ + CCACHE_BASEDIR=/mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz │I│ + export CCACHE_BASEDIR │I│ + test -z /mason/ccache │I│ + export 'NINJA_STATUS=[%f/%t %es (%P)] ' │I│ + NINJA_STATUS='[%f/%t %es (%P)] ' │I│ + CARGO_BUILD_DEP_INFO_BASEDIR=/mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz │I│ + export CARGO_BUILD_DEP_INFO_BASEDIR │I│ + CARGO_NET_RETRY=5 │I│ + export CARGO_NET_RETRY │I│ + CARGO_PROFILE_RELEASE_DEBUG=full │I│ + export CARGO_PROFILE_RELEASE_DEBUG │I│ + CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO=off │I│ + export CARGO_PROFILE_RELEASE_SPLIT_DEBUGINFO │I│ + CARGO_PROFILE_RELEASE_LTO=off │I│ + export CARGO_PROFILE_RELEASE_LTO │I│ + CARGO_PROFILE_RELEASE_STRIP=none │I│ + export CARGO_PROFILE_RELEASE_STRIP │I│ + RUSTC_WRAPPER= │I│ + export RUSTC_WRAPPER │I│ + test -z '' │I│ + unset RUSTC_WRAPPER │I│ + GOCACHE= │I│ + export GOCACHE │I│ + test -z '' │I│ + unset GOCACHE │I│ + GOMODCACHE= │I│ + export GOMODCACHE │I│ + test -z '' │I│ + unset GOMODCACHE │I│ + CARGO_HOME= │I│ + export CARGO_HOME │I│ + test -z '' │I│ + unset CARGO_HOME │I│ + SCCACHE_DIR=/mason/sccache │I│ + export SCCACHE_DIR │I│ + test -z /mason/sccache │I│ + LANG=en_US.UTF-8 │I│ + export LANG │I│ + LC_ALL=en_US.UTF-8 │I│ + export LC_ALL │I│ + test -d /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz │I│ + cd /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz │I│ + echo 'The work directory %(workdir) is /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz' │I│ The work directory %(workdir) is /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz │I│ + _common_args='-C src prefix=/usr mandir=/usr/share/man' │I│ + make -j 8 install DESTDIR=/mason/install -C src prefix=/usr mandir=/usr/share/man doc-install │I│ make: Entering directory '/mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src' │I│ ... libbfd: [ on ] │I│ ... clang-bpf-co-re: [ on ] │I│ ... llvm: [ on ] │I│ ... libcap: [ on ] │I│ INSTALL bpftool │I│ DESCEND /mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/docs │I│ INSTALL Documentation-man │I│ make: Leaving directory '/mason/build/x86_64/bpftool-libbpf-v7.6.0-sources.tar.gz/src' │I│ + mv /mason/install/usr/sbin /mason/install/usr/bin │Analyzing artefacts (» = Include, × = Ignore, ^ = Replace) │A│ » /usr/bin/bpftool │A│ » /usr/share/bash-completion/completions/bpftool │A│ » /usr/share/man/man8/bpftool-btf.8 │A│ » /usr/share/man/man8/bpftool-cgroup.8 │A│ » /usr/share/man/man8/bpftool-feature.8 │A│ » /usr/share/man/man8/bpftool-gen.8 │A│ » /usr/share/man/man8/bpftool-iter.8 │A│ » /usr/share/man/man8/bpftool-link.8 │A│ » /usr/share/man/man8/bpftool-map.8 │A│ » /usr/share/man/man8/bpftool-net.8 │A│ » /usr/share/man/man8/bpftool-perf.8 │A│ » /usr/share/man/man8/bpftool-prog.8 │A│ » /usr/share/man/man8/bpftool-struct_ops.8 │A│ » /usr/share/man/man8/bpftool.8 │A│ » /usr/lib/debug/.build-id/c8/977fba9f3f55dcf317f13c96892779afbeb25d.debug Packaging Emitted bpftool-7.6.0-5-1-x86_64.stone Emitted bpftool-dbginfo-7.6.0-5-1-x86_64.stone Phase Elapsed % │Initialize 0.60s 2.9% │Populate (moss) ││Resolve 0.39s 1.9% ││Fetch 2.38s 11.6% ││Blit 6.61s 32.4% │Fetch 0.41s 2.0% │x86_64 ││Prepare 0.04s 0.2% ││Build 9.07s 44.5% ││Install 0.55s 2.7% │Analyze 0.06s 0.3% │Emit 0.29s 1.4% ────────────────────────────────────── Total 20.41s 100.0% Build finished successfully at 2026-03-12T15:04:49+01:00