boulder v0.26.1 (Git ref a2098ad2a6874883e016e3c02ad2f6c373972004-dirty) └─ building bpftool-7.7.0-6-1 Refreshed repo0 The following package(s) will be installed: acl 2.3.2-5 attr 2.5.2-6 bash 5.3.9-30 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.a2098ad-140 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-49 clang-libs 22.1.1-49 compiler-rt 22.1.1-49 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.39-14 diffutils 3.12-6 docutils 0.22.4-5 elfutils-libs 0.194-12 envsubst 1.0-11 expat 2.7.5-12 file 5.47-11 findutils 4.10.0-4 gawk 5.4.0-9 gcc 15.2.0+git.be9710b7-20 gdbm-libs 1.26-7 git 2.53.0-23 glib2 2.88.0-36 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.3-14 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.be9710b7-20 libb2 0.98.1-2 libblkid 2.41.3-18 libbpf 1.7.0-8 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.be9710b7-20 libgcc-static 15.2.0+git.be9710b7-20 libgcrypt 1.12.1-10 libgomp 15.2.0+git.be9710b7-20 libgpg-error 1.59-8 libidn2 2.3.8-5 libmount 2.41.3-18 libpciaccess 0.19-6 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.be9710b7-20 libstdc++-devel 15.2.0+git.be9710b7-20 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-49 lld-libs 22.1.1-49 llvm 22.1.1-49 llvm-devel 22.1.1-49 llvm-libs 22.1.1-49 lz4 1.10.0-4 lzo 2.10-2 make 4.4.1-4 mimalloc 2.2.7-11 mlir 22.1.1-49 mlir-devel 22.1.1-49 mpc 1.4.0-4 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.1-14 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-49 openmp-devel 22.1.1-49 openssl 3.6.1-34 openssl-devel 3.6.1-34 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-49 polly-devel 22.1.1-49 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.13-19 system-accounts 0.1.0-8 systemd 257.13-78 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.25.0-9 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 blake3 (cached) Installed binutils-libs (cached) Installed brotli-libs (cached) Installed bsdtar (cached) Installed acl (cached) Installed bsdtar-static (cached) Installed bzip2-libs (cached) Installed attr (cached) Installed ca-certificates (cached) Installed ca-certificates-mozilla (cached) Installed ca-certificates-utils (cached) Installed clang (cached) Installed coreutils (cached) Installed binutils-devel Installed cryptsetup-libs (cached) Installed curl-libs (cached) Installed cyrus-sasl-libs (cached) Installed dash (cached) Installed device-mapper-libs (cached) Installed cracklib (cached) Installed binutils-gprofng Installed elfutils-libs (cached) Installed envsubst (cached) Installed diffutils (cached) Installed compiler-rt (cached) Installed file (cached) Installed bash (cached) Installed expat (cached) Installed gdbm-libs (cached) Installed findutils (cached) Installed gawk (cached) Installed clang-libs (cached) Installed glib2 (cached) Installed gmp (cached) Installed gpm-libs (cached) Installed grep (cached) Installed git (cached) Installed gzip (cached) Installed hwloc-libs (cached) Installed iana-etc (cached) Installed binutils (cached) Installed isl (cached) Installed icu-libs (cached) Installed jansson (cached) Installed json-c (cached) Installed keyutils (cached) Installed docutils (cached) Installed kmod-libs (cached) Installed layout (cached) Installed less (cached) Installed krb5-libs (cached) Installed libarchive (cached) Installed libatomic (cached) Installed libblkid (cached) Installed libb2 (cached) Installed libbpf (cached) Installed libcap (cached) Installed libcap-ng (cached) Installed libcom_err (cached) Installed libcap-devel (cached) Installed libeconf (cached) Installed libedit (cached) Installed libelf (cached) Installed libedit-devel (cached) Installed libfdisk (cached) Installed libffi (cached) Installed libgcc (cached) Installed libgcc-static (cached) Installed libgcrypt (cached) Installed libgomp (cached) Installed libgpg-error (cached) Installed libelf-devel (cached) Installed libmount (cached) Installed libpciaccess (cached) Installed libpsl (cached) Installed libidn2 (cached) Installed libseccomp (cached) Installed libsecret (cached) Installed libsmartcols (cached) Installed libsodium (cached) Installed boulder (cached) Installed libssh2 (cached) Installed libstdc++ (cached) Installed libpwquality (cached) Installed libstone (cached) Installed libtasn1 (cached) Installed libunistring (cached) Installed libutempter (cached) Installed libuuid (cached) Installed libxcrypt (cached) Installed libxkbcommon (cached) Installed libxml2 (cached) Installed linux-pam-libs (cached) Installed lld (cached) Installed lld-libs (cached) Installed glibc-devel (cached) Installed llvm (cached) Installed llvm-libs (cached) Installed lz4 (cached) Installed lzo (cached) Installed gcc (cached) Installed mimalloc (cached) Installed make (cached) Installed kbd (cached) Installed mpc (cached) Installed mpdecimal (cached) Installed mpfr (cached) Installed nano (cached) Installed libstdc++-devel (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 (cached) Installed openmp-devel (cached) Installed helix (cached) Installed linux-headers (cached) Installed openssl-libs (cached) Installed os-info (cached) Installed p11-kit (cached) Installed openssl (cached) Installed p11-kit-libs (cached) Installed pcre2 (cached) Installed pkgconf (cached) Installed polly (cached) Installed polly-devel Installed python (cached) Installed procps (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 mlir Installed openssl-devel (cached) Installed tpm2-tss (cached) Installed terminus-font (cached) Installed ncurses-base (cached) Installed util-linux (cached) Installed tzdata (cached) Installed systemd (cached) Installed wayland (cached) Installed xxd (cached) Installed uutils-coreutils (cached) Installed zlib (cached) Installed zlib-devel (cached) Installed zstd (cached) Installed xz (cached) Installed zstd-devel (cached) Installed zstd-libs (cached) Installed xkeyboard-config (cached) Installed glibc (cached) Installed python-libs (cached) Installed mlir-devel Installed llvm-devel Installed vim (cached) 43887 entries blitted in 0.45s (98.1k / s) Sharing 1 upstream(s) with the build container Shared bpftool-libbpf-v7.7.0-sources.tar.gz x86_64 │Prepare │P│ + TERM=dumb │P│ + export TERM │P│ + SOURCE_DATE_EPOCH=1774200054 │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│ The work directory %(workdir) is /mason/build/x86_64 │P│ + mkdir -p bpftool-libbpf-v7.7.0-sources.tar.gz │P│ + bsdtar-static xf /mason/sourcedir/bpftool-libbpf-v7.7.0-sources.tar.gz -C bpftool-libbpf-v7.7.0-sources.tar.gz --strip-components=1 --no-same-owner │ │Build │B│ + TERM=dumb │B│ + export TERM │B│ + SOURCE_DATE_EPOCH=1774200054 │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.7.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.7.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.7.0-sources.tar.gz │B│ + cd /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz │B│ + echo 'The work directory %(workdir) is /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz' │B│ + _common_args='-C src prefix=/usr mandir=/usr/share/man' │B│ The work directory %(workdir) is /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz │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.7.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.7.0-sources.tar.gz/src/libbpf/ │B│ MKDIR /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/include/bpf │B│ MKDIR /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/include/bpf │B│ MKDIR /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/ │B│ MKDIR /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/ │B│ DESCEND /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/docs │B│ make[1]: Entering directory '/mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/libbpf/src' │B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/include/bpf/relo_core.h │B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/include/bpf/hashmap.h │B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/include/bpf/libbpf_internal.h │B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/include/bpf/hashmap.h │B│ make[1]: Entering directory '/mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/libbpf/src' │B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/include/bpf/nlattr.h │B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/include/bpf/relo_core.h │B│ GEN bpftool-cgroup.8 │B│ GEN bpftool-btf.8 │B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/include/bpf/libbpf_internal.h │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.7.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│ MKDIR /mason/build/x86_64/bpftool-libbpf-v7.7.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.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/bpf.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/bpf.o │B│ bpf.c:227bpf.c:16: :227warning: :comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare]16: │B│ warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 227 | 227fo | r f o(ri (=i 0=; 0i ;< ic nstart_id + btf->nr_types); │B│ | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:634:14: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'const int' [-Wsign-compare] │B│ 634 | if (type_id < btf->start_id) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~ │B│ btf.c:681:17: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 681 | for (j = 0; j < ARRAY_SIZE(long_aliases); j++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ GEN bpftool.8 │B│ btf.c:973:13: warning: comparison of integers of different signs: '__s32' (aka 'int') and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 973 | for (; id < nr_types; id++) { │B│ | ~~ ^ ~~~~~~~~ │B│ btf.c:982:26: warning: comparison of integers of different signs: '__s32' (aka 'int') and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 982 | for (id = start_id; id < nr_types; id++) { │B│ | ~~ ^ ~~~~~~~~ │B│ GEN bpftool-struct_ops.8 │B│ btf.c:1237:5: warning: format specifies type 'int' but the argument has type 'Elf64_Word' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1236 | pr_warn("unexpected section type (%d) of section(%d, %s) from %s\n", │B│ | ~~ │B│ | %u │B│ 1237 | sh.sh_type, idx, name, path); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:1416:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Wsign-compare] │B│ 1416 | if (fread(data, 1, sz, f) < sz) { │B│ | ~~~~~~~~~~~~~~~~~~~~~ ^ ~~ │B│ btf.c:1629:17: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 1629 | for (i = 0; i < btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ btf.c:1676:13: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'const int' [-Wsign-compare] │B│ 1676 | if (offset < btf->start_str_off) │B│ | ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ btf.c:2070:17: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'const int' [-Wsign-compare] │B│ 2070 | if (*str_off < src_btf->start_str_off) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:2227:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 2227 | if (id < 0 || id > BTF_MAX_NR_TYPES) │B│ | ~~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:437:44: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 437 | pr_warn("BTF type [%d] is malformed\n", btf->start_id + btf->nr_types); │B│ | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:634:14: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'const int' [-Wsign-compare] │B│ 634 | if (type_id < btf->start_id) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~ │B│ btf.c:3766:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3766 | for (i = 0; i < d->hypot_cnt; i++) │B│ | ~ ^ ~~~~~~~~~~~~ │B│ btf.c:681:17: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 681 | for (j = 0; j < ARRAY_SIZE(long_aliases); j++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:3869:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 3869 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:3903:30: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 3903 | if (str_off == 0 || str_off < d->btf->start_str_off) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:4130:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 4130 | for (i = 0; i < vlen; i++) { │B│ | ~ ^ ~~~~ │B│ GEN bpftool-token.8 │B│ btf.c:4449:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 4449 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:4582:8: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 4579 | pr_debug("%s '%s' size=%d vlen=%d id1[%u] id2[%u] shallow-equal but not identical for field#%d '%s'\n", │B│ | ~~ │B│ | %u │B│ 4580 | k1 == BTF_KIND_STRUCT ? "STRUCT" : "UNION", │B│ 4581 | btf__name_by_offset(d->btf, t1->name_off), │B│ 4582 | t1->size, btf_vlen(t1), id1, id2, i, │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:4832:8: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 4829 | pr_debug("%s '%s' size=%d vlen=%d cand_id[%u] canon_id[%u] shallow-equal but not equiv for field#%d '%s': %d\n", │B│ | ~~ │B│ | %u │B│ 4830 | cand_kind == BTF_KIND_STRUCT ? "STRUCT" : "UNION", │B│ 4831 | btf__name_by_offset(d->btf, cand_type->name_off), │B│ 4832 | cand_type->size, vlen, cand_id, canon_id, i, │B│ | ^~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:4770:42: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 4770 | if (fwd_kind == real_kind && canon_id < d->btf->start_id) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:973:13: warning: comparison of integers of different signs: '__s32' (aka 'int') and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 973 | for (; id < nr_types; id++) { │B│ | ~~ ^ ~~~~~~~~ │B│ btf.c:982:26: warning: comparison of integers of different signs: '__s32' (aka 'int') and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 982 | for (id = start_id; id < nr_types; id++) { │B│ | ~~ ^ ~~~~~~~~ │B│ btf.c:4905:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 4905 | for (i = 0; i < d->hypot_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/libbpf.o │B│ btf.c:5064:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5064 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5225:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5225 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5353:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5353 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5388:39: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5388 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5393:39: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5393 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5394:18: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 5394 | if (d->map[id] != id) │B│ | ~~~~~~~~~~ ^ ~~ │B│ btf.c:5457:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5457 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5531:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 5531 | for (i = 0; i < ARRAY_SIZE(locations); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:5570:3: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ btf.c: 55701237: | 5 : fowarning: r_format specifies type 'int' but the argument has type 'Elf64_Word' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness]e │B│ ach_btf_ext_rec(seg, sec, i1236, | r e cpr)_ { │B│ warn("une x| p ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~e │B│ cted se./libbpf_internal.hc:t459io:n9 :t ynote: pexpanded from macro 'for_each_btf_ext_rec'e │B│ (%d) of sect i459o | n ( % d , %is )< f(rsoemc )%-s\>n", │B│ | ~~ │B│ n| u %um │B│ _in f1237o | ; sh\. │B│ s| h ~ ^ ~~~~~~~~~~~~~~~_ │B│ type, ibtf.c:dx5581:,3 :n awarning: mcomparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare]e │B│ , path) ;5581 | │B│ f| ^~~~~~~~~~or │B│ _each_btf./libbpf_internal.h_:ex173t:_52r:e cnote: (expanded from macro 'pr_warn's │B│ eg, sec, 173i | ,# dreecf)i n{e │B│ p r| _ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~w │B│ ar./libbpf_internal.hn:(459f:m9t: ,note: expanded from macro 'for_each_btf_ext_rec'. │B│ ..) _459_ | p r (L I B BiP F<_ W(ARsNec, )f-m>tn,u m#_#in_f_oVA;_A R G S \_ │B│ _ )| │B│ ~ ^ ~~~~~~~~~~~~~~~ │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:5612:3: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5612 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 459 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ btf.c:5630:3: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5630 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 459 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ btf.c:1416:28: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Wsign-compare] │B│ 1416 | if (fread(data, 1, sz, f) < sz) { │B│ | ~~~~~~~~~~~~~~~~~~~~~ ^ ~~ │B│ btf.c:5792:11: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ btf.c:1629:17: 5791warning: | comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ pr_warn("un e1629x | p e cfteodr k(iin d= w0h;e ni nbra_stey pteysp;e i'+%+s)' [{% │B│ u ]| ~ ^ ~~~~~~~~~~~~~o │B│ f kind [%u] to distilled base BTF.\n", │B│ | ~~ │B│ | %d │B│ 5792 | name, i, kind); │B│ | ^ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:5792:14: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ 5791 | pr_warn("unexpected kind when adding base type '%s'[%u] of kind [%u] to distilled base BTF.\n", │B│ | ~~ │B│ | %d │B│ 5792 | name, i, kind); │B│ | ^~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:5724:16: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 5724 | for (i = 1; i < dist->split_start_id; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:1676:13: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'const int' [-Wsign-compare] │B│ 1676 | if (offset < btf->start_str_off) │B│ | ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ btf.c:5883:32: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 5883 | for (i = src_btf->start_id; i < n; i++) { │B│ | ~ ^ ~ │B│ btf.c:5907:32: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 5907 | for (i = src_btf->start_id; i < n; i++) { │B│ | ~ ^ ~ │B│ btf.c:5925:16: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 5925 | for (i = 1; i < n; i++) { │B│ | ~ ^ ~ │B│ btf.c:5978:13: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 5978 | if (new_id < p->btf->start_id) │B│ | ~~~~~~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:6031:25: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 6031 | for (i = start_offs; i < id_map_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~ │B│ btf.c:6033:10: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 6033 | if (id < btf->start_id || id >= btf__type_cnt(btf)) { │B│ | ~~ ^ ~~~~~~~~~~~~~ │B│ btf.c:6050:25: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 6050 | for (i = start_offs; i < id_map_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~ │B│ btf.c:6082:32: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 6082 | for (nt = new_types, i = 0; i < id_map_cnt - start_offs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:2070:17: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'const int' [-Wsign-compare] │B│ 2070 | if (*str_off < src_btf->start_str_off) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:2227:19: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 2227 | if (id < 0 || id > BTF_MAX_NR_TYPES) │B│ | ~~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:3766:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3766 | for (i = 0; i < d->hypot_cnt; i++) │B│ | ~ ^ ~~~~~~~~~~~~ │B│ btf.c:3869:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 3869 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:3903:30: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 3903 | if (str_off == 0 || str_off < d->btf->start_str_off) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:4130:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 4130 | for (i = 0; i < vlen; i++) { │B│ | ~ ^ ~~~~ │B│ btf.c:4449:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 4449 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:4582:8: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 4579 | pr_debug("%s '%s' size=%d vlen=%d id1[%u] id2[%u] shallow-equal but not identical for field#%d '%s'\n", │B│ | ~~ │B│ | %u │B│ 4580 | k1 == BTF_KIND_STRUCT ? "STRUCT" : "UNION", │B│ 4581 | btf__name_by_offset(d->btf, t1->name_off), │B│ 4582 | t1->size, btf_vlen(t1), id1, id2, i, │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:4832:8: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 4829 | pr_debug("%s '%s' size=%d vlen=%d cand_id[%u] canon_id[%u] shallow-equal but not equiv for field#%d '%s': %d\n", │B│ | ~~ │B│ | %u │B│ 4830 | cand_kind == BTF_KIND_STRUCT ? "STRUCT" : "UNION", │B│ 4831 | btf__name_by_offset(d->btf, cand_type->name_off), │B│ 4832 | cand_type->size, vlen, cand_id, canon_id, i, │B│ | ^~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:4770:42: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 4770 | if (fwd_kind == real_kind && canon_id < d->btf->start_id) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:4905:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 4905 | for (i = 0; i < d->hypot_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ btf.c:5064:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5064 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5225:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5225 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5353:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5353 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5388:39: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5388 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5393:39: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5393 | for (i = 0, id = d->btf->start_id; i < d->btf->nr_types; i++, id++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5394:18: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 5394 | if (d->map[id] != id) │B│ | ~~~~~~~~~~ ^ ~~ │B│ btf.c:5457:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5457 | for (i = 0; i < d->btf->nr_types; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:5531:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 5531 | for (i = 0; i < ARRAY_SIZE(locations); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:5570:3: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5570 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 459 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ btf.c:5581:3: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5581 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 459 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ btf.c:5612:3: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5612 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 459 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ btf.c:5630:3: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 5630 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 459 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ btf.c:5792:11: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ 5791 | pr_warn("unexpected kind when adding base type '%s'[%u] of kind [%u] to distilled base BTF.\n", │B│ | ~~ │B│ | %d │B│ 5792 | name, i, kind); │B│ | ^ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:5792:14: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ 5791 | pr_warn("unexpected kind when adding base type '%s'[%u] of kind [%u] to distilled base BTF.\n", │B│ | ~~ │B│ | %d │B│ 5792 | name, i, kind); │B│ | ^~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf.c:5724:16: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 5724 | for (i = 1; i < dist->split_start_id; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ btf.c:5883:32: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 5883 | for (i = src_btf->start_id; i < n; i++) { │B│ | ~ ^ ~ │B│ btf.c:5907:32: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 5907 | for (i = src_btf->start_id; i < n; i++) { │B│ | ~ ^ ~ │B│ btf.c:5925:16: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 5925 | for (i = 1; i < n1; warningi generated+. │B│ +) { │B│ | ~ ^ ~ │B│ btf.c:5978:13: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 5978 | if (new_id < p->btf->start_id) │B│ | ~~~~~~ ^ ~~~~~~~~~~~~~~~~ │B│ btf.c:6031:25: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 6031 | for (i = start_offs; i < id_map_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~ │B│ btf.c:6033:10: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 6033 | if (id < btf->start_id || id >= btf__type_cnt(btf)) { │B│ | ~~ ^ ~~~~~~~~~~~~~ │B│ btf.c:6050:25: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 6050 | for (i = start_offs; i < id_map_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~ │B│ btf.c:6082:32: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 6082 | for (nt = new_types, i = 0; i < id_map_cnt - start_offs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/libbpf_utils.o │B│ 1 warning generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/libbpf.o │B│ libbpf.c:915:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 915 | for (i = 0; i < nr_syms; i++) { │B│ | ~ ^ ~~~~~~~ │B│ libbpf.c:992:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 992 | for (p = 0; p < obj->nr_programs; p++, prog++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:994:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 994 | for (i = 0; i < prog->insns_cnt; i++, insn++) │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:1083:30: warning: comparison of integers of different signs: 'const __u32' (aka 'const unsigned int') and '__s32' (aka 'int') [-Wsign-compare] │B│ 1083 | if (kern_data_member->type == kern_type_id) │B│ | ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:1111:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1111 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:1130:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1130 | for (i = 0; i < obj->nr_programs; ++i) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:1138:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1138 | for (j = 0; j < obj->nr_maps; ++j) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:1485:12: warning: format specifies type 'unsigned int' but the argument has type '__s32' (aka 'int'), which differs in signedness [-Wformat-signedness] │B│ 1484 | pr_debug("struct_ops init: struct %s(type_id=%u) %s found at offset %u\n", │B│ | ~~ │B│ | %d │B│ 1485 | tname, type_id, var_name, vsi->offset); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:1496:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1496 | for (sec_idx = 0; sec_idx < obj->efile.sec_cnt; ++sec_idx) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:1902:14: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 1902 | if (sfx_len >= BPF_OBJ_NAME_LEN) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:2025:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 2025 | for (sec_idx = 1; sec_idx < obj->efile.sec_cnt; sec_idx++) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:2086:24: warning: comparison of integers of different signs: '__size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 2086 | if (strlen(ext_name) == len && strncmp(ext_name, name, len) == 0) │B│ | ~~~~~~~~~~~~~~~~ ^ ~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/netlink.o │B│ libbpf.c:2147:10: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 2147 | if (len >= ext->kcfg.sz) { │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:2545:10: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 2545 | if (len >= buf_sz) │B│ | ~~~ ^ ~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/nlattr.o │B│ libbpf.c:2625:16: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 2624 | pr_warn("map '%s': key type [%d] not found.\n", │B│ | ~~ │B│ | %u │B│ 2625 | map_name, m->type); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:2665:16: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 2664 | pr_warn("map '%s': value type [%d] not found.\n", │B│ | ~~ │B│ | %u │B│ 2665 | map_name, m->type); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:2719:22: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 2718 | pr_warn("map '%s': %s type [%d] not found.\n", │B│ | ~~ │B│ | %u │B│ 2719 | map_name, desc, m->type); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:3067:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3067 | for (i = 0; i < obj->nr_maps; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:3160:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 3160 | for (i = 1; i < btf__type_cnt(btf); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:3306:29: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3306 | for (seg_num = 0; seg_num < ARRAY_SIZE(ext_segs); seg_num++) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:3417:16: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 3416 | pr_debug("sec '%s': failed to find name of DATASEC's member #%d\n", │B│ | ~~ │B│ | %u │B│ 3417 | sec_name, i); │B│ | ^ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:3577:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3577 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:3924:16: warning: format specifies type 'long' but the argument has type 'unsigned long', which differs in signedness [-Wformat-signedness] │B│ 3923 | pr_debug("elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n", │B│ | ~~~ │B│ | %lu │B│ 3924 | idx, name, (unsigned long)data->d_size, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:3994:21: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3994 | targ_sec_idx >= obj->efile.sec_cnt) │B│ | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4024:52: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 4024 | if (!obj->efile.strtabidx || obj->efile.strtabidx > idx) { │B│ | ~~~~~~~~~~~~~~~~~~~~ ^ ~~~ │B│ libbpf.c:4118:17: warning: comparison of integers of different signs: 'const __u32' (aka 'const unsigned int') and 'int' [-Wsign-compare] │B│ 4118 | if (vs->type == ext_btf_id) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~ │B│ libbpf.c:4447:23: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ 4446 | pr_debug("extern (kcfg) #%d: symbol %d, off %u, name %s\n", │B│ | ~~ │B│ | %d │B│ 4447 | i, ext->sym_idx, ext->kcfg.data_off, ext->name); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:4471:23: warning: comparison of integers of different signs: 'const size_t' (aka 'const unsigned long') and 'const int' [-Wsign-compare] │B│ 4471 | return prog->sec_idx == obj->efile.text_shndx; │B│ | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4538:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 4538 | for (i = 0; i < prog->insns_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:4545:10: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 4545 | if (i >= prog->insns_cnt || │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf_utils.c:72:11: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 72 | if (ret >= size) │B│ | ~~~ ^ ~~~~ │B│ libbpf_utils.c:79:10: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 79 | if (ret >= size) │B│ | ~~~ ^ ~~~~ │B│ libbpf_utils.clibbpf.c::211:457912::26: warning: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 211 | for (4578; | i p n| a ~ ^ ~~~~~~~~~~~~~m │B│ e, sym_name, insn_idx, insn->code); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf_utils.c:254:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 254 | for (i = 0; i < ARRAY_SIZE(state); i++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4702: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│ 4701 | pr_debug("prog '%s': found map %zd (%s, sec %d, off %zu) for insn #%u\n", │B│ | ~~~ │B│ | %zu │B│ 4702 | prog->name, map_idx, map->name, map->sec_idx, │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:915:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 915 | for (i = 0; i < nr_syms; i++) { │B│ | ~ ^ ~~~~~~~ │B│ libbpf.c:4729: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│ 4728 | pr_debug("prog '%s': found data map %zd (%s, sec %d, off %zu) for insn %u\n", │B│ | ~~~ │B│ | %zu │B│ 4729 | prog->name, map_idx, map->name, map->sec_idx, │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUlibbpf.cG,: f992:m16t:, #warning: #comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ __VA_A R992G | S f_o_r )( │B│ p | = ~~~ ^~~~~~~~~~~0 │B│ ; p ./libbpf_internal.h<: o170b:j40->:n rnote: _expanded from macro '__pr'pr │B│ ograms; p170+ | +, lpriobg+b+p) f{_ │B│ p r| i ~ ^ ~~~~~~~~~~~~~~~~nt(level, " │B│ liblibbpf.cb:994p:f17:: warning: "comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ fmt, 994# | # _f_oVrA (_iA =R G0;S _i_ <) ;pr o\g │B│ -> i| ns ~~~ ^~~~~~~~~~~n │B│ s_cnt; i++, insn++) │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:4616:29: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 4616 | if (!shdr_idx || shdr_idx != obj->efile.text_shndx) { │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4660:15: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 4660 | if (shdr_idx == obj->efile.arena_data_shndx) { │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4679:15: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 4679 | if (shdr_idx == obj->efile.jumptables_data_shndx) { │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:1083:30: warning: comparison of integers of different signs: 'const __u32' (aka 'const unsigned int') and '__s32' (aka 'int') [-Wsign-compare] │B│ 1083 | if (kern_data_member->type == kern_type_id) │B│ | ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:1111:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1111 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:1130:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1130 | for (i = 0; i < obj->nr_programs; ++i) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:1138:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1138 | for (j = 0; j < obj->nr_maps; ++j) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/libbpf_utils.o │B│ libbpf.c:1485:12: warning: format specifies type 'unsigned int' but the argument has type '__s32' (aka 'int'), which differs in signedness [-Wformat-signedness] │B│ 1484 | pr_debug("struct_ops init: struct %s(type_id=%u) %s found at offset %u\n", │B│ | ~~ │B│ | %d │B│ 1485 | tname, type_id, var_name, vsi->offset); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:1496:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1496 | for (sec_idx = 0; sec_idx < obj->efile.sec_cnt; ++sec_idx) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4937:43: warning: format specifies type 'int *' but the argument has type '__u32 *' (aka 'unsigned int *'), which differs in signedness [-Wformat-signedness] │B│ 4937 | else if (sscanf(buff, "map_flags:\t%i", &val) == 1) │B│ | ~~ ^~~~ │B│ | %i │B│ libbpf.c:1902:14: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare] │B│ 1902 | if (sfx_len >= BPF_OBJ_NAME_LEN) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:2025:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 2025 | for (sec_idx = 1; sec_idx < obj->efile.sec_cnt; sec_idx++) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:2086:24: warning: comparison of integers of different signs: '__size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 2086 | if (strlen(ext_name) == len && strncmp(ext_name, name, len) == 0) │B│ | ~~~~~~~~~~~~~~~~ ^ ~~~ │B│ libbpf.c:2147:10: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 2147 | if (len >= ext->kcfg.sz) { │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:5466:16: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 5465 | pr_warn("map '%s': failed to initialize slot [%d] to map '%s' fd=%d: %s\n", │B│ | ~~ │B│ | %u │B│ 5466 | map->name, i, targ_map->name, fd, errstr(err)); │B│ | ^ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5470:16: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 5469 | pr_debug("map '%s': slot [%d] set to map '%s' fd=%d\n", │B│ | ~~ │B│ | %u │B│ 5470 | map->name, i, targ_map->name, fd); │B│ | ^ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5449:16: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] │B│ 5449 | for (i = 0; i < map->init_slots_sz; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:5499:16: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 5498 | pr_warn("map '%s': failed to initialize slot [%d] to prog '%s' fd=%d: %s\n", │B│ | ~~ │B│ | %u │B│ 5499 | map->name, i, targ_prog->name, fd, errstr(err)); │B│ | ^ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5503:16: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 5502 | pr_debug("map '%s': slot [%d] set to prog '%s' fd=%d\n", │B│ | ~~ │B│ | %u │B│ 5503 | map->name, i, targ_prog->name, fd); │B│ | ^ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5488:16: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] │B│ 5488 | for (i = 0; i < map->init_slots_sz; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:5517:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 5517 | for (i = 0; i < obj->nr_maps; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:2545:10: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 2545 | if (len >= buf_sz) │B│ | ~~~ ^ ~~~~~~ │B│ libbpf.c:2625:16: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 2624 | pr_warn("map '%s': key type [%d] not found.\n", │B│ | ~~ │B│ | %u │B│ 2625 | map_name, m->type); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:2665:16: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 2664 | pr_warn("map '%s': value tlibbpf.cyp:e 5733[:%5d:] nwarning: otformat specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] f │B│ ound.\n", │B│ | ~~ │B│ | %u │B│ 57322665 | | p r _d embaup_gn(a"mCeO,- RmE- >rteylpoec)a;t │B│ i n| g ^~~~~~~ │B│ [%d] %s %./libbpf_internal.hs:173:: 52f:ou nnote: dexpanded from macro 'pr_warn' │B│ target ca ndidate [%d] %s %s in [%s]\n", │B│ | ~~ │B│ | %u │B│ 5733 | 173 | # dleofcainle_c apnrd_-w>airdn,( fbmttf,_ k.i.nd._)s t_r_(plro(cLIaBlB_PtF_)W,A │B│ R N| , ^~~~~~~~~~~~~~ │B│ fmt, ##__V./libbpf_internal.hA:_175A:54R:G note: Sexpanded from macro 'pr_debug'_ │B│ _) │B│ | ~~~ ^~~~~~~~~~~175 │B│ | #def./libbpf_internal.hin:e170 p:r40_:de note: expanded from macro '__pr' │B│ 170 | bliubg(bfpmtf,_ p..r.i)n t_(_plr(eLvIeBlBP,F _D"ElBUiGb,b pffm:t ," #f#m_t_,V A#_#A__RVGSA__A_R) │B│ GS _| _ ~~~ ^~~~~~~~~~~) │B│ ; \ │B│ ./libbpf_internal.h| : ~~~ ^~~~~~~~~~~ │B│ 170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:2719:22: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 2718 | pr_warn("map '%s': %s type [%d] not found.\n", │B│ | ~~ │B│ | %u │B│ 2719 | map_name, desc, m->type); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5792:53: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5792 | pr_warn("failed to get BTF object #%d FD: %s\n", id, errstr(err)); │B│ | ~~ ^~ │B│ | %u │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5804:55: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5804 | pr_warn("failed to get BTF object #%d info: %s\n", id, errstr(err)); │B│ | ~~ ^~ │B│ | %u │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5818:11: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5817 | pr_warn("failed to load module [%s]'s BTF object #%d: %s\n", │B│ | ~~ │B│ | %u │B│ 5818 | name, id, errstr(err)); │B│ | ^~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5892:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 5892 | for (i = 0; i < obj->btf_module_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:6011:26: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 6010 | pr_warn("prog '%s': relo #%d: target candidate search failed for [%d] %s %s: %ld\n", │B│ | ~~ │B│ | %u │B│ 6011 | prog_name, relo_idx, local_id, btf_kind_str(local_type), │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6070:64: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 6070 | pr_debug("sec '%s': found %d CO-RE relocations\n", sec_name, sec->num_info); │B│ | ~~ ^~~~~~~~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6125:21: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ 6124 | pr_warn("prog '%s': relo #%d: failed to patch insn #%u: %s\n", │B│ | ~~ │B│ | %d │B│ 6125 | prog->name, i, insn_idx, errstr(err)); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6072:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 6072 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 459 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:6101:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6101 | if (insn_idx >= prog->insns_cnt) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:6137:3: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6137 | 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:3067:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3067 | for (i = 0; i < obj->nr_maps; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:6241:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 6241 | if (insn_idx >= prog->subprogs[i].sub_insn_off) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:6290: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│ 6289 | pr_warn("map '.jumptables': jumptables_data size is %zd, trying to access %d\n", │B│ | ~~~ │B│ | %zu │B│ 6290 | obj->jumptables_data_sz, sym_off + jt_size); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6290:29: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 6289 | pr_warn("map '.jumptables': jumptables_libbpf.cdat:a 3160s:16i:z ewarning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare]i │B│ s %zd, tryin g3160 t | o faocrc e(sis = %1d;\ ni" , │B│ < b| t ~~f │B│ _ _| ty %up │B│ e_c nt6290( | b t fo)b; ji-+>+j)u m{p │B│ t a| b ~ ^ ~~~~~~~~~~~~~~~~~~l │B│ es_data_sz, sym_off + jt_size); │B│ | ^~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6324:5: warning: format specifies type 'unsigned long long' but the argument has type 'long long', which differs in signedness [-Wformat-signedness] │B│ 6323 | pr_warn("map '.jumptables': invalid jump table value 0x%llx at offset %u\n", │B│ | ~~~~ │B│ | %llx │B│ 6324 | (long long)jt[i], sym_off + i * jt_entry_size); │B│ | ^~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6296:43: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6296 | if (relo->insn_idx < 0 || relo->insn_idx >= prog->insns_cnt) { │B│ | ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:3306:29: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3306 | for (seg_num = 0; seg_num < ARRAY_SIZE(ext_segs); seg_num++) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:3417:16: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 3416 | pr_debug("sec '%s': failedlibbpf.c t:o 6461fi:n20d: n awarning: meformat specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] o │B│ f DATASEC's member #6460%d | \ n " ,p │B│ r _| w ~~ │B│ a r| n %u( │B│ "pr o3417g | ' % s ' : sreecl_on a#m%ed,: ib)a;d │B│ r| el ^o │B│ type %d\n", │B│ ./libbpf_internal.h :| 175 ~~: │B│ 54 :| %unote: │B│ expanded from macro 'pr_debug' │B│ 6461 | 175 | p#rdoegf-i>nnea mpre_,d ebiu,g (rfmet, l..o.)- >_t_pyrp(eLI)B;BP │B│ F_ DE| B ^~~~~~~~~~UG │B│ , fmt, ##__VA_ARGS./libbpf_internal.h__): │B│ 173 :| 52 ~~~ ^~~~~~~~~~~: │B│ note: expanded from macro 'pr_warn' │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 173 | # d170ef | i nlei bpbrp_fw_aprrni(nftm(tle,v e.l.,.) " l_i_bpbrp(fL:I B"B PfFm_tW,A R#N#, _f_mVtA,_ AR#GS#___)_;V A\_ │B│ A| R ~~~ ^~~~~~~~~~~G │B│ S__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6485:21: warning: comparison of integers of different signs: 'const size_t' (aka 'const unsigned long') and 'int' [-Wsign-compare] │B│ 6485 | if (prog->sec_idx != sec_idx) │B│ | ~~~~~~~~~~~~~ ^ ~~~~~~~ │B│ libbpf.c:6488:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 6488 | for_each_btf_ext_rec(ext_info, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 459 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:6614:15: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'const int' [-Wsign-compare] │B│ 6614 | if (insn_idx == relo->insn_idx) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:6616:18: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'const int' [-Wsign-compare] │B│ 6616 | returnlibbpf.c in:sn3577:_16i:d xwarning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]< │B│ relo->insn_ i3577d | x fo?r (-i1 =: 0 ;1 i; │B│ < | o ~~~~~~~~ ^ ~~~~~~~~~~~~~~b │B│ j->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:6741:27: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 6740 | pr_warn("prog '%s': unexpected relo for insn #%zu, type %d\n", │B│ | ~~ │B│ | %u │B│ 6741 | prog->name, insn_idx, relo->type); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:3924:16: warning: format specifies type 'long' but the argument has type 'unsigned long', which differs in signedness [-Wformat-signedness] │B│ 3923 | pr_debug("elf: section(%d) %s, size %ld, link %d, flags %lx, type=%d\n", │B│ | ~~~ │B│ | %lu │B│ 3924 | idx, name, (unsigned long)data->d_size, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:6913:./libbpf_internal.h16:: 175warning: :comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]54: │B│ note: expanded from macro 'pr_debug' │B│ 6913 | 175 | f#odre f(iin e= p0r;_ die b,n r._.p.r)og r_a_mprs(;LI BiB+P+F)_ D{EB │B│ U G| , ~ ^ ~~~~~~~~~~~~~~~~ │B│ fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6935:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6935 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:6961:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6961 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:7017:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7017 | for (j = 0; j < obj->nr_programs; j++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:3994:21: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 3994 | targ_sec_idx >= obj->efile.sec_cnt) │B│ | ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4024:52: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 4024 | if (!obj->efile.strtabidx || obj->efile.strtabidx > idx) { │B│ | ~~~~~~~~~~~~~~~~~~~~ ^ ~~~ │B│ libbpf.c:4118:17: warning: comparison of integers of different signs: 'const __u32' (aka 'const unsigned int') and 'int' [-Wsign-compare] │B│ 4118 | if (vs->type == ext_btf_id) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~ │B│ libbpf.c:7256:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7256 | for (i = 0; i < ARRAY_SIZE(global_ctx_map); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7269:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 7269 | for (i = 0; i < prog->func_info_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7299:29: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 7299 | for (rec_idx = 0; rec_idx < prog->func_info_cnt; rec_idx++) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7300:26: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 7300 | if (orig_ids[rec_idx] == t->type) { │B│ | ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ │B│ libbpf.c:7322:25: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 7322 | if (func_rec->type_id == orig_fn_id) { │B│ | ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~ │B│ libbpf.c:7405:17: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 7405 | for (j = 0; j < prog->nr_reloc; j++) { │B│ | ~ ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:7531: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│ 7530 | pr_debug(".maps relo #%d: for %zd value %zd rel->r_offset %zu name %d ('%s')\n", │B│ | ~~~libbpf.c │B│ :| 4447 %zu: │B│ 23: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness]7531 │B│ | i, (ssize_t)(rel -4446> | r _ i npfro_ d>e>b 3u2g()",e x(tersn i(zkec_ftg))s #y%md-:> ssytm_bvoall ue%,d │B│ , | o ^~~~~~~~~~~~~~~~~~~~~f │B│ f %u, name %./libbpf_internal.hs:\175n:"54,: │B│ note: expanded from macro 'pr_debug'| │B│ ~~ │B│ | %d │B│ 175 | # d4447e | f i n e p ri_,d eebxutg-(>fsmytm, _i..d.x), e_x_tpr-(>LkIcBfBgP.Fd_aDtEaB_UoGf,f ,f metx,t -#>#n_a_mVeA)_A;R │B│ G S| __) │B│ | ^~~~~~~~~~~~~~~~~~ ~~~ ^~~~~~~~~~~ │B│ │B│ ./libbpf_internal.h:170:40: note: ./libbpf_internal.hexpanded from macro '__pr': │B│ 175:54: note: expanded from macro 'pr_debug' │B│ 170 | li b175b | p#fde_fpirnei nprt_(dleebuvge(flm,t, "..l.i)b _b_ppfr(:L I"BB PfF_mDtE,BU G#,# _f_mVtA,_ A#R#G_S__V_A)_;A R\G │B│ S _| _ ~~~ ^~~~~~~~~~~) │B│ │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##_libbpf.c_:7532V:A28_: Awarning: Rformat specifies type 'int' but the argument has type 'Elf64_Word' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness]G │B│ S__); \ │B│ | ~~~ ^~~~~~~~~~~7530 │B│ | pr_debug(".maps relo #%d: for %zd value %zd rel->r_offset %zu name %d ('%s')\n", │B│ | ~~ │B│ | %u │B│ 7531 | i, (ssize_t)(rel->r_info >> 32), (size_t)sym->st_value, │B│ 7532 | (size_t)rel->r_offset, sym->st_name, name); │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:4471:23: warning: comparison of integers of different signs: 'const size_t' (aka 'const unsigned long') and 'const int' [-Wsign-compare] │B│ 4471 | return prog->sec_idx == obj->efile.text_shndx; │B│ | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7622:19: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 7621 | pr_debug(".maps relo #%d: map '%s' slot [%d] points to %s '%s'\n", │B│ | ~~ │B│ | %u │B│ 7622 | i, map->name, moff, type, name); │B│ | ^~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:7534:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7534 | for (j = 0; j < obj->nr_maps; j++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:7544:9: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7544 | if (j == obj->nr_maps) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:7609:12: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] │B│ 7609 | if (moff >= map->init_slots_sz) { │B│ | ~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4538:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 4538 | for (i = 0; i < prog->insns_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:4545:10: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 4545 | if (i >= prog->insns_cnt || │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:7632:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7632 | for (i = 0; i < obj->efile.sec_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7645:50: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7645 | if (shdr->sh_type != SHT_REL || idx < 0 || idx >= obj->efile.sec_cnt) { │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7686:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7686 | for (i = 0; i < prog->insns_cnt; i++, insn++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:7911:18: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7911 | for (i = 0; i < obj->nr_maps; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:8047:33: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8047 | insn_idx, spec_buf, spec_len >= sizeof(spec_buf) ? "..." : ""); │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:8073:29: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8073 | if (map_idx < 0 || map_idx >= obj->nr_maps) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:8132:16: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare] │B│ 8132 | for (i = 0; i < max_last_line_cnt; i++, next_line = cur_line) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~ │B│ libbpf.c:8552:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8552 | for (i = 0; i < obj->btf_module_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:8607:15: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 8606 | pr_warn("extern (var ksym) '%s': incompatible types, expected [%d] %s %s, but kernel has [%d] %s %s\n", │B│ | ~~ │B│ | %u │B│ 8607 | ext->name, local_type_id, │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:8608:42: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 8606 | pr_warn("extern (var ksym) '%s': incompatible types, expected [%d] %s %s, but kernel has [%d] %s %s\n", │B│ | ~~ │B│ | %u │B│ 8607 | ext->name, local_type_id, │B│ 8608 | btf_kind_str(local_type), local_name, targ_type_id, │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:8783:17: warning: format specifies type 'unsigned long long' but the argument has type 'long long', which differs in signedness [-Wformat-signedness] │B│ 8782 | pr_debug("extern (kcfg) '%s': set to 0x%llx\n", │B│ | ~~~~ │B│ | %llx │B│ 8783 | ext->name, (long long)value); │B│ | ^~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:8859:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8859 | for (i = 0; i < obj->nr_maps; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:8879:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8879 | for (i = 0; i < obj->nr_maps; i++) │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:8892:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8892 | for (i = 0; i < obj->btf_module_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:9462:16: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 9462 | for (i = 0; i < obj->nr_extern; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:9569:10: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'const size_t' (aka 'const unsigned long') [-Wsign-compare] │B│ 9569 | if (idx >= obj->nr_programs || idx < 0) │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:4579:26: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 4578 | pr_warn("prog '%s': invalid relo against '%s' for insns[%d].code 0x%x\n", │B│ | ~~ │B│ | %u │B│ 4579 | prog->name, sym_name, insn_idx, insn->code); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:4702: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│ 4701 | pr_debug("prog '%s': found map %zd (%s, sec %d, off %zu) for insn #%u\n", │B│ | ~~~ │B│ | %zu │B│ 4702 | prog->name, map_idx, map->name, map->sec_idx, │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:4729: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│ 4728 | pr_debug("prog '%s': found data map %zd (%s, sec %d, off %zu) for insn %u\n", │B│ | ~~~ │B│ | %zu │B│ 4729 | prog->name, map_idx, map->name, map->sec_idx, │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:4616:29: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 4616 | if (!shdr_idx || shdr_idx != obj->efile.text_shndx) { │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4660:15: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 4660 | if (shdr_idx == obj->efile.arena_data_shndx) { │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4679:15: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 4679 | if (shdr_idx == obj->efile.jumptables_data_shndx) { │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:9999:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 9999 | for (i = 0; i < custom_sec_def_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:10004:8: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 10004 | if (i == custom_sec_def_cnt) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:10008:20: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 10008 | for (i = i + 1; i < custom_sec_def_cnt; i++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:4937:43: warning: format specifies type 'int *' but the argument has type '__u32 *' (aka 'unsigned int *'), which differs in signedness [-Wformat-signedness] │B│ 4937 | else if (sscanf(buff, "map_flags:\t%i", &val) == 1) │B│ | ~~ ^~~~ │B│ | %i │B│ libbpf.c:10090:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 10090 | for (i = 0; i < ARRAY_SIZE(section_defs); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:10101:53: warning: comparison of integers of different signs: '__size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 10101 | if (strlen(buf) + strlen(section_defs[i].sec) + 2 > len) { │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~ │B│ libbpf.c:10242:22: warning: format specifies type 'int' but the argument has type 'Elf64_Word' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 10237 | pr_debug("struct_ops reloc %s: for %lld value %lld shdr_idx %u rel->r_offset %zu map->sec_offset %zu name %d (\'%s\')\n", │B│ | ~~ │B│ | %u │B│ 10238 | map->name, │B│ 10239 | (long long)(rel->r_info >> 32), │B│ 10240 | (long long)sym->st_value, │B│ 10241 | shdr_idx, (size_t)rel->r_offset, │B│ 10242 | map->sec_offset, sym->st_name, name); │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:10340:21: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 10340 | if (ret < 0 || ret >= sizeof(btf_type_name)) │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:10387:4: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 10386 | pr_warn("failed bpf_prog_get_info_by_fd for FD %d: %s\n", │B│ | ~~ │B│ | %u │B│ 10387 | attach_prog_fd, errstr(err)); │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:10399:56: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 10399 | pr_warn("Failed to get BTF %d of the program: %s\n", info.btf_id, errstr(err)); │B│ | ~~ ^~~~~~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5466:16: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 5465 | pr_warn("map '%s': failed to initialize slot [%d] to map '%s' fd=%d: %s\n", │B│ | ~~ │B│ | %u │B│ 5466 | map->name, i, targ_map->name, fd, errstr(err)); │B│ | ^ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:10443:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ libbpf.c 10443: | 5470 :f16o:r warning: (format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness]i │B│ = 0; i5469 | < opbrj_-d>ebbutgf(_"mmaopd 'u%lse':_ csnltot; [i%d+]+ )s e{t │B│ t o | m ~ ^ ~~~~~~~~~~~~~~~~~~~a │B│ p '%s' fd=%d\n", │B│ | ~~ │B│ | %u │B│ 5470 | map->name, i, targ_map->name, fd); │B│ | ^ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5449:16: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] │B│ 5449 | for (i = 0; i < map->init_slots_sz; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:10482:17: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 10481 | pr_warn("prog '%s': failed to flibbpf.cin:d5499 :B16:P Fwarning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness]p │B│ rogram (FD 5498% | d ) pBrT_Fw aIDr nf(o"rm 'a%ps ':' %%ss'\:n "f, │B│ a i| l ~~e │B│ d| %u │B│ to i n10482i | t i aplriozge -s>lnaomte ,[ %adt]t atcoh_ pprroogg_ f'd%,s 'a tftda=c%hd_:n a%mse\,n "e,r │B│ r s| t ~~r │B│ ( e| r %ur │B│ )); │B│ 5499| | ^~~~~~~~~~~~~~ │B│ map->name, ./libbpf_internal.hi,: 173t:a52rg:_ pnote: rexpanded from macro 'pr_warn'og->name, fd, errstr(err)); │B│ | ^ │B│ ./libbpf_internal.h:173:52: │B│ note: expanded from macro 'pr_warn' │B│ 173 | #173d | e#dfeifnien e pprr__wwaarrnn((ffmtm,t ,. ....). _)_ p_r_(pLrIB(BLPIFB_BWPAFRN_,W AfRmtN,, #f#m_t_,V A#_A#R_G_SV_A_)_ │B│ A R| G ~~~ ^~~~~~~~~~~ │B│ S__./libbpf_internal.h): │B│ 170 :40| : ~~~ ^~~~~~~~~~~ │B│ note: expanded from macro '__pr' │B│ ./libbpf_internal.h:170:40: 170note: | expanded from macro '__pr' │B│ libbpf_p r170i | n t(lliebvbeplf,_ "plriibnbtp(f:l e"v femlt,, #"#l_i_bVbA_pAfR:G S"_ _f)m;t \, │B│ #| # ~~~ ^~~~~~~~~~~ │B│ __VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5503:16: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 5502 | pr_debug("map '%s': slot [%d] set to prog '%s' fd=%d\n", │B│ | ~~ │B│ | %u │B│ 5503 | map->name, i, targ_prog->name, fd); │B│ | ^ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5488:16: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] │B│ 5488 | for (i = 0; i < map->init_slots_sz; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:5517:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 5517 | for (i = 0; i < obj->nr_maps; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:5733:5: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5732 | pr_debug("CO-RE relocating [%d] %s %s: found target candidate [%d] %s %s in [%s]\n", │B│ | ~~ │B│ | %u │B│ 5733 | local_cand->id, btf_kind_str(local_t), │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5792:53: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5792 | pr_warn("failed to get BTF object #%d FD: %s\n", id, errstr(err)); │B│ | ~~ ^~ │B│ | %u │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5804:55: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5804 | pr_warn("failed to get BTF object #%d info: %s\n", id, errstr(err)); │B│ | ~~ ^~ │B│ | %u │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5818:11: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 5817 | pr_warn("failed to load module [%s]'s BTF object #%d: %s\n", │B│ | ~~ │B│ | %u │B│ 5818 | name, id, errstr(err)); │B│ | ^~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:5892:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 5892 | for (i = 0; i < obj->btf_module_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:6011:26: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 6010 | pr_warn("prog '%s': relo #%d: target candidate search failed for [%d] %s %s: %ld\n", │B│ | ~~ │B│ | %u │B│ 6011 | prog_name, relo_idx, local_id, btf_kind_str(local_type), │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6070:64: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 6070 | pr_debug("sec '%s': found %d CO-RE relocations\n", sec_name, sec->num_info); │B│ | ~~ ^~~~~~~~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6125:21: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness] │B│ 6124 | pr_warn("prog '%s': relo #%d: failed to patch insn #%u: %s\n", │B│ | ~~ │B│ | %d │B│ 6125 | prog->name, i, insn_idx, errstr(err)); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:10874:10: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'const size_t' (aka 'const unsigned long') [-Wsign-compare] │B│ 10874 | if (idx >= obj->nr_maps || idx < 0) │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:6072:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 6072 | for_each_btf_ext_rec(seg, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 459 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:6101:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6101 | if (insn_idx >= prog->insns_cnt) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:6137:3: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6137 | 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:6241:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 6241 | if (insn_idx >= prog->subprogs[i].sub_insn_off) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:6290: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│ 6289 | pr_warn("map '.jumptables': jumptables_data size is %zd, trying to access %d\n", │B│ | ~~~ │B│ | %zu │B│ 6290 | obj->jumptables_data_sz, sym_off + jt_size); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:10977:44: warning: libbpf.cformat specifies type 'signed size_t' (aka 'long') but the argument has type 'size_t' (aka 'unsigned long'), which differs in signedness [-Wformat-signedness]: │B│ 6290:29: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 6289 | pr_warn("map 10976'. | j um p tparb_lweas'r:n (j"ummappt a'b%lse's:_ duanteax pseicztee di sv a%lzude, stirzyei n%gz ut op raocvcideesds f%odr\ np"e,r │B│ - C| P ~~U │B│ m| a %up │B│ , ex pe6290c | t e d o%bjd- >*ju m%pztaub l=e s_%dzadta\_ns"z,, │B│ s y| m_ ~~~o │B│ f f| + %zu │B│ jt_size) ; │B│ 10977 | | ^~~~~~~~~~~~~~~~~ │B│ map->./libbpf_internal.hn:am173e:,52 :v alnote: uexpanded from macro 'pr_warn'e │B│ _sz, n u173m | _#cdpeuf,i neel epmr__swza,r nn(ufmm_tc,p u. .*. )e l_e_mp_rs(zL)I;B │B│ B P| F ^~~~~~~~~~~~~~~~~_W │B│ ARN, fmt, ##_./libbpf_internal.h_VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_:p173ri:n52t:(l enote: vexpanded from macro 'pr_warn'e │B│ l, "libbpf: "173 | fm#td,e f#i#n__eV Ap_rA_RwGaSr_n_()f;m t\, │B│ .| . ~~~ ^~~~~~~~~~~. │B│ ) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6324:5: warning: format specifies type 'unsigned long long' but the argument has type 'long long', which differs in signedness [-Wformat-signedness] │B│ 6323 | pr_warn("map '.jumptables': invalid jump table value 0x%llx at offset %u\n", │B│ | ~~~~ │B│ | %llx │B│ 6324 | (long long)jt[i], sym_off + i * jt_entry_size); │B│ | ^~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6296:43: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6296 | if (relo->insn_idx < 0 || relo->insn_idx >= prog->insns_cnt) { │B│ | ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:6461:20: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 6460 | pr_warn("prog '%s': relo #%d: bad relo type %d\n", │B│ | ~~ │B│ | %u │B│ 6461 | prog->name, i, relo->type); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6485:21: warning: comparison of integers of different signs: 'const size_t' (aka 'const unsigned long') and 'int' [-Wsign-compare] │B│ 6485 | if (prog->sec_idx != sec_idx) │B│ | ~~~~~~~~~~~~~ ^ ~~~~~~~ │B│ libbpf.c:6488:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 6488 | for_each_btf_ext_rec(ext_info, sec, i, rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 459 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:6614:15: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'const int' [-Wsign-compare] │B│ 6614 | if (insn_idx == relo->insn_idx) │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:6616:18: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'const int' [-Wsign-compare] │B│ 6616 | return insn_idx < relo->insn_idx ? -1 : 1; │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:6741:27: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 6740 | pr_warn("prog '%s': unexpected relo for insn #%zu, type %d\n", │B│ | ~~ │B│ | %u │B│ 6741 | prog->name, insn_idx, relo->type); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:6913:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6913 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:6935:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6935 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:6961:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 6961 | for (i = 0; i < obj->nr_programs; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:7017:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7017 | for (j = 0; j < obj->nr_programs; j++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:7256:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7256 | for (i = 0; i < ARRAY_SIZE(global_ctx_map); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7269:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 7269 | for (i = 0; i < prog->func_info_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7299:29: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 7299 | for (rec_idx = 0; rec_idx < prog->func_info_cnt; rec_idx++) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7300:26: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 7300 | if (orig_ids[rec_idx] == t->type) { │B│ | ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ │B│ libbpf.c:7322:25: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 7322 | if (func_rec->type_id == orig_fn_id) { │B│ | ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~ │B│ libbpf.c:11457:17: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 11457 | if (n < 0 || n >= sizeof(buf)) │B│ | ~ ^ ~~~~~~~~~~~ │B│ libbpf.c:7405:17: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 7405 | for (j = 0; j < prog->nr_reloc; j++) { │B│ | ~ ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:7531: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│ 7530 | pr_debug(".maps relo #%d: for %zd value %zd rel->r_offset %zu name %d ('%s')\n", │B│ | ~~~ │B│ | %zu │B│ 7531 | i, (ssize_t)(rel->r_info >> 32), (size_t)sym->st_value, │B│ | ^~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:7532:28: warning: format specifies type 'int' but the argument has type 'Elf64_Word' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 7530 | pr_debug(".maps relo #%d: for %zd value %zd rel->r_offset %zu name %d ('%s')\n", │B│ | ~~ │B│ | %u │B│ 7531 | i, (ssize_t)(rel->r_info >> 32), (size_t)sym->st_value, │B│ 7532 | (size_t)rel->r_offset, sym->st_name, name); │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:7622:19: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 7621 | pr_debug(".maps relo #%d: map '%s' slot [%d] points to %s '%s'\n", │B│ | ~~ │B│ | %u │B│ 7622 | i, map->name, moff, type, name); │B│ | ^~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:7534:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7534 | for (j = 0; j < obj->nr_maps; j++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:7544:9: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7544 | if (j == obj->nr_maps) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:7609:12: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] │B│ 7609 | if (moff >= map->init_slots_sz) { │B│ | ~~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7632:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7632 | for (i = 0; i < obj->efile.sec_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7645:50: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7645 | if (shdr->sh_type != SHT_REL || idx < 0 || idx >= obj->efile.sec_cnt) { │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:7686:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7686 | for (i = 0; i < prog->insns_cnt; i++, insn++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ libbpf.c:7911:18: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 7911 | for (i = 0; i < obj->nr_maps; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:8047:33: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8047 | insn_idx, spec_buf, spec_len >= sizeof(spec_buf) ? "..." : ""); │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:11940:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 11940 | for (i = 0; i < cnt; i++) │B│ | ~ ^ ~~~ │B│ libbpf.c:8073:29: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8073 | if (map_idx < 0 || map_idx >= obj->nr_maps) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:8132:16: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare] │B│ 8132 | for (i = 0; i < max_last_line_cnt; i++, next_line = cur_line) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~ │B│ libbpf.c:12138:54: warning: format specifies type 'long *' but the argument has type 'unsigned long *', which differs in signedness [-Wformat-signedness] │B│ 12138 | n = sscanf(func_name, "%m[a-zA-Z0-9_.]+%li", &func, &offset); │B│ | ~~~ ^~~~~~~ │B│ | %li │B│ libbpf.c:8552:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8552 | for (i = 0; i < obj->btf_module_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:8607:15: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 8606 | pr_warn("extern (var ksym) '%s': incompatible types, expected [%d] %s %s, but kernel has [%d] %s %s\n", │B│ | ~~ │B│ | %u │B│ 8607 | ext->name, local_type_id, │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:8608:42: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 8606 | pr_warn("extern (var ksym) '%s': incompatible types, expected [%d] %s %s, but kernel has [%d] %s %s\n", │B│ | ~~ │B│ | %u │B│ 8607 | ext->name, local_type_id, │B│ 8608 | btf_kind_str(local_type), local_name, targ_type_id, │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:8783:17: warning: format specifies type 'unsigned long long' but the argument has type 'long long', which differs in signedness [-Wformat-signedness] │B│ 8782 | pr_debug("extern (kcfg) '%s': set to 0x%llx\n", │B│ | ~~~~ │B│ | %llx │B│ 8783 | ext->name, (long long)value); │B│ | ^~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_Dlibbpf.cEBUG:, 12385f:mt60,: ##warning: __format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness]V │B│ A_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 12384 | 170 | lpirb_bpdfe_bpurgi("net(llfe:ve ls,y m"lbioblb pfa:d d"r efmst,s #m#_a_tVcA_hA RfGSo_r_ )%;s \o │B│ f | ~~~ ^~~~~~~~~~~% │B│ s in %s: 0x%x + 0x%lx = 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 12385 | func_name, file_name, archive_path, entry.data_offset, ret, │B│ | ^~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:12386:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 12384 | pr_debug("elf: symbol address match for %s of %s in %s: 0x%x + 0x%lx = 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 12385 | func_name, file_name, archive_path, entry.data_offset, ret, │B│ 12386 | ret + entry.data_offset); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:8859:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8859 | for (i = 0; i < obj->nr_maps; i++) { │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:8879:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8879 | for (i = 0; i < obj->nr_maps; i++) │B│ | ~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:8892:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 8892 | for (i = 0; i < obj->btf_module_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:12448:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 12448 | for (i = 0; i < ARRAY_SIZE(search_paths); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │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:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:12906:10: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 12906 | if (ret >= sizeof(file)) { │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:9462:16: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 9462 | for (i = 0; i < obj->nr_extern; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~ │B│ libbpf.c:9569:10: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'const size_t' (aka 'const unsigned long') [-Wsign-compare] │B│ 9569 | if (idx >= obj->nr_programs || idx < 0) │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~ │B│ libbpf.c:9999:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 9999 | for (i = 0; i < custom_sec_def_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:10004:8: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 10004 | if (i == custom_sec_def_cnt) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:10008:20: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 10008 | for (i = i + 1; i < custom_sec_def_cnt; i++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:10090:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 10090 | for (i = 0; i < ARRAY_SIZE(section_defs); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:10101:53: warning: comparison of integers of different signs: '__size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 10101 | if (strlen(buf) + strlen(section_defs[i].sec) + 2 > len) { │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~ │B│ libbpf.c:10242:22: warning: format specifies type 'int' but the argument has type 'Elf64_Word' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 10237 | pr_debug("struct_ops reloc %s: for %lld value %lld shdr_idx %u rel->r_offset %zu map->sec_offset %zu name %d (\'%s\')\n", │B│ | ~~ │B│ | %u │B│ 10238 | map->name, │B│ 10239 | (long long)(rel->r_info >> 32), │B│ 10240 | (long long)sym->st_value, │B│ 10241 | shdr_idx, (size_t)rel->r_offset, │B│ 10242 | map->sec_offset, sym->st_name, name); │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:10340:21: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 10340 | if (ret < 0 || ret >= sizeof(btf_type_name)) │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ 5 warnings generated. │B│ libbpf.c:10387:4: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 10386 | pr_warn("failed bpf_prog_get_info_by_fd for FD %d: %s\n", │B│ | ~~ │B│ | %u │B│ 10387 | attach_prog_fd, errstr(err)); │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:10399:56: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 10399 | pr_warn("Failed to get BTF %d of the program: %s\n", info.btf_id, errstr(err)); │B│ | ~~ ^~~~~~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:10443:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 10443 | for (i = 0; i < obj->btf_module_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:10482:17: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 10481 | pr_warn("prog '%s': failed to find BPF program (FD %d) BTF ID for '%s': %s\n", │B│ | ~~ │B│ | %u │B│ 10482 | prog->name, attach_prog_fd, attach_name, errstr(err)); │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:10874:10: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'const size_t' (aka 'const unsigned long') [-Wsign-compare] │B│ 10874 | if (idx >= obj->nr_maps || idx < 0) │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:13892:42: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 13892 | if (map.max_entries && map.max_entries < pb->cpu_cnt) │B│ | ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ │B│ libbpf.c:14010:44: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 14010 | pr_warn("unknown perf sample type %d\n", e->type); │B│ | ~~ ^~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:10977: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│ 10976 | pr_warn("map '%s': unexpected value size %zu provided for per-CPU map, expected %d * %zu = %zd\n", │B│ | ~~~ │B│ | %zu │B│ 10977 | map->name, value_sz, num_cpu, elem_sz, num_cpu * elem_sz); │B│ | ^~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:14072:14: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'const int' [-Wsign-compare] │B│ 14072 | if (buf_idx >= pb->cpu_cnt) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~ │B│ libbpf.c:14110:14: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 14110 | if (buf_idx >= pb->cpu_cnt) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/libbpf_probes.o │B│ libbpf.c:14285:10: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 14285 | if (len >= sizeof(buf)) { │B│ | ~~~ ^ ~~~~~~~~~~~ │B│ libbpf.c:11457:17: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 11457 | if (n < 0 || n >= sizeof(buf)) │B│ | ~ ^ ~~~~~~~~~~~ │B│ libbpf.c:14326:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 14326 | for (i = 0; i < map_cnt; i++) { │B│ | ~ ^ ~~~~~~~ │B│ libbpf.c:14351:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 14351 | for (i = 0; i < prog_cnt; i++) { │B│ | ~ ^ ~~~~~~~~ │B│ 2 warnings generated. │B│ libbpf.c:14544:22: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 14544 | if (s->map_skel_sz < offsetofend(struct bpf_map_skeleton, link)) { │B│ | ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf_utils.c:72:11: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 72 | if (ret >= size) │B│ | ~~~ ^ ~~~~ │B│ libbpf_utils.c:79:10: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 79 | if (ret >= size) │B│ | ~~~ ^ ~~~~ │B│ libbpf.c:14584:21: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 14584 | if (s->map_skel_sz < sizeof(struct bpf_map_skeleton)) │B│ | ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:11940:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 11940 | for (i = 0; i < cnt; i++) │B│ | ~ ^ ~~~ │B│ libbpf_utils.c:211:12: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 211 | for (; i < ARRAY_SIZE(w); i++) │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ libbpf_utils.c:214:17: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 214 | for (i = 0; i < ARRAY_SIZE(w); i += 8) { │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ libbpf.c:12138:54: warning: format specifies type 'long *' but the argument has type 'unsigned long *', which differs in signedness [-Wformat-signedness] │B│ 12138 | n = sscanf(func_name, "%m[a-zA-Z0-9_.]+%li", &func, &offset); │B│ | ~~~ ^~~~~~~ │B│ | %li │B│ libbpf_utils.c:254:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 254 | for (i = 0; i < ARRAY_SIZE(state); i++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~ │B│ libbpf.c:12385:60: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/bpf_prog_linfo.o │B│ 12384 | pr_debug("elf: symbol address match for %s of %s in %s: 0x%x + 0x%lx = 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 12385 | func_name, file_name, archive_path, entry.data_offset, ret, │B│ | ^~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:12386:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 12384 | pr_debug("elf: symbol address match for %s of %s in %s: 0x%x + 0x%lx = 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 12385 | func_name, file_name, archive_path, entry.data_offset, ret, │B│ 12386 | ret + entry.data_offset); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:12448:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 12448 | for (i = 0; i < ARRAY_SIZE(search_paths); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:12906:10: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 12906 | if (ret >= sizeof(file)) { │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ libbpf.c:13892:42: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 13892 | if (map.max_entries && map.max_entries < pb->cpu_cnt) │B│ | ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~ │B│ libbpf.c:14010:44: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 14010 | pr_warn("unknown perf sample type %d\n", e->type); │B│ | ~~ ^~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ libbpf.c:14072:14: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'const int' [-Wsign-compare] │B│ 14072 | if (buf_idx >= pb->cpu_cnt) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~ │B│ libbpf.c:14110:14: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare] │B│ 14110 | if (buf_idx >= pb->cpu_cnt) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~ │B│ libbpf.c:14285:10: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 14285 | if (len >= sizeof(buf)) { │B│ | ~~~ ^ ~~~~~~~~~~~ │B│ libbpf.c:14326:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 14326 | for (i = 0; i < map_cnt; i++) { │B│ | ~ ^ ~~~~~~~ │B│ libbpf.c:14351:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 14351 | for (i = 0; i < prog_cnt; i++) { │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 = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(nh, len); │B│ | ^~~~~~~~~~~~~~~~~ │B│ ../include/uapi/linux/netlink.h:109:24: note: expanded from macro 'NLMSG_OK' │B│ 109 | (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│ libbpf.c:14544:22: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 14544 | if (s->map_skel_sz < offsetofend(struct bpf_map_skeleton, link)) { │B│ | ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ libbpf.c:14584:21: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 14584 | if (s->map_skel_sz < sizeof(struct bpf_map_skeleton)) │B│ | ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ netlink.c:423:14: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 423 | if (ifindex != md->ifindex) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~ │B│ netlink.c:729:10: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 729 | if (len >= sizeof(name)) │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/btf_dump.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/netlink.o │B│ 5 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/nlattr.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:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | 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 = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(nh, len); │B│ | ^~~~~~~~~~~~~~~~~ │B│ ../include/uapi/linux/netlink.h:109:24: note: expanded from macro 'NLMSG_OK' │B│ 109 | (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:423:14: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 423 | if (ifindex != md->ifindex) │B│ | ~~~~~~~ ^ ~~~~~~~~~~~ │B│ 2 warnings generated. │B│ netlink.c:729:10: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 729 | if (len >= sizeof(name)) │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/libbpf_probes.o │B│ 5 warnings generated. │B│ btf_dump.c:30:13: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare] │B│ 30 | return lvl >= PREFIX_CNT ? PREFIXES : &PREFIXES[PREFIX_CNT - lvl]; │B│ | ~~~ ^ ~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/hashmap.o │B│ btf_dump.c:898:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 898 | for (i = 0; i < ARRAY_SIZE(pads); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf_dump.c:1050:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1050 | for (i = 0; i < ARRAY_SIZE(missing_base_types); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ btf_dump.c:1779:44: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1779 | pr_warn("unexpected bitfield size %d\n", t->size); │B│ | ~~ ^~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_dump.c:1889:20: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1889 | if (sz == 0 || sz > sizeof(buf)) { │B│ | ~~ ^ ~~~~~~~~~~~ │B│ btf_dump.c:2254:53: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 2254 | pr_warn("unexpected size %d for enum, id:[%u]\n", t->size, id); │B│ | ~~ ^~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_dump.c:2288:14: warning: comparison of integers of different signs: '__s64' (aka 'long long') and '__u64' (aka 'unsigned long long') [-Wsign-compare] │B│ 2288 | if (value != btf_enum64_value(e)) │B│ | ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ btf_dump.c:2436:17: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 2436 | for (i = 0; i < array->nelems; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ 5 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/bpf_prog_linfo.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/btf_dump.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/ringbuf.o │B│ btf_dump.c:30:13: warning: comparison of integers of different signs: 'int' and 'const size_t' (aka 'const unsigned long') [-Wsign-compare] │B│ 30 | return lvl >= PREFIX_CNT ? PREFIXES : &PREFIXES[PREFIX_CNT - lvl]; │B│ | ~~~ ^ ~~~~~~~~~~ │B│ btf_dump.c:898:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 898 | for (i = 0; i < ARRAY_SIZE(pads); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~ │B│ btf_dump.c:1050:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1050 | for (i = 0; i < ARRAY_SIZE(missing_base_types); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ btf_dump.c:1779:44: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1779 | pr_warn("unexpected bitfield size %d\n", t->size); │B│ | ~~ ^~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_dump.c:1889:20: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1889 | if (sz == 0 || sz > sizeof(buf)) { │B│ | ~~ ^ ~~~~~~~~~~~ │B│ btf_dump.c:2254:53: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 2254 | pr_warn("unexpected size %d for enum, id:[%u]\n", t->size, id); │B│ | ~~ ^~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ btf_dump.c:2288:14: warning: comparison of integers of different signs: '__s64' (aka 'long long') and '__u64' (aka 'unsigned long long') [-Wsign-compare] │B│ 2288 | if (value != btf_enum64_value(e)) │B│ | ~~~~~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ btf_dump.c:2436:17: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 2436 | for (i = 0; i < array->nelems; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ ringbuf.c:272:12: warning: comparison of integers of different signs: 'int64_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 272 | if (cnt >= n) │B│ | ~~~ ^ ~ │B│ ringbuf.c:367:10: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] │B│ 367 | if (idx >= rb->ring_cnt) │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ 43 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/hashmap.o │B│ 8 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/strset.o │B│ 43 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/linker.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/ringbuf.o │B│ 2 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/gen_loader.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/strset.o │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│ ringbuf.c:272:12: warning: comparison of integers of different signs: 'int64_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 272 | if (cnt >= n) │B│ | ~~~ ^ ~ │B│ ringbuf.c:367:10: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] │B│ 367 | if (idx >= rb->ring_cnt) │B│ | ~~~ ^ ~~~~~~~~~~~~ │B│ linker.c:583:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 583 | while (written < buf_sz) { │B│ | ~~~~~~~ ^ ~~~~~~ │B│ linker.c:922:48: warning: comparison of integers of different signs: 'Elf64_Word' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 922 | if (!sec->shdr->sh_link || sec->shdr->sh_link >= obj->sec_cnt) { │B│ | ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ │B│ linker.c:1004:48: warning: comparison of integers of different signs: 'Elf64_Word' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 1004 | if (!sec->shdr->sh_info || sec->shdr->sh_info >= obj->sec_cnt) { │B│ | ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ │B│ linker.c:1105:17: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 1105 | if (*type_id >= n) │B│ | ~~~~~~~~ ^ ~ │B│ linker.c:1234:22: warning: comparison of integers of different signs: 'int' and 'Elf64_Xword' (aka 'unsigned long') [-Wsign-compare] │B│ 1234 | if (dst_sec->sec_sz != src_sec->shdr->sh_size) │B│ | ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ │B│ linker.c:1887:25: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 1887 | if (btf_id && btf_id != vi->type) { │B│ | ~~~~~~ ^ ~~~~~~~~ │B│ linker.c:2655:33: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 2655 | if (dst_sec->func_info.rec_sz != rec_sz) { │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ │B│ linker.c:2660:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 2660 | for_each_btf_ext_rec(&obj->btf_ext->func_info, ext_sec, i, src_rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 459 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ linker.c:2684:33: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 2684 | if (dst_sec->line_info.rec_sz != rec_sz) { │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ │B│ linker.c:2689:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 2689 | for_each_btf_ext_rec(&obj->btf_ext->line_info, ext_sec, i, src_rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 459 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ linker.c:2726:38: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 2726 | if (dst_sec->core_relo_info.rec_sz != rec_sz) { │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ │B│ linker.c:2731:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 2731 | for_each_btf_ext_rec(&obj->btf_ext->core_relo_info, ext_sec, i, src_rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 459 | i < (sec)->num_info; \ │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:381:14: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 380 | pr_warn("nr_progs %d/%d nr_maps %d/%d mismatch\n", │B│ | ~~ │B│ | %u │B│ 381 | nr_progs, gen->nr_progs, nr_maps, gen->nr_maps); │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:381:38: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 380 | pr_warn("nr_progs %d/%d nr_maps %d/%d mismatch\n", │B│ | ~~ │B│ | %u │B│ 381 | nr_progs, gen->nr_progs, nr_maps, gen->nr_maps); │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:379:42: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 379 | if (nr_progs < gen->nr_progs || nr_maps != gen->nr_maps) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~ │B│ gen_loader.c:379:15: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 379 | if (nr_progs < gen->nr_progs || nr_maps != gen->nr_maps) { │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~ │B│ gen_loader.c:386:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 386 | for (i = 0; i < gen->nr_progs; i++) │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ gen_loader.c:393:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 393 | for (i = 0; i < gen->nr_maps; i++) │B│ | ~ ^ ~~~~~~~~~~~~ │B│ gen_loader.c:463:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 463 | for (i = 0; i < SHA256_DWORD_SIZE; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:485:14: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 484 | pr_debug("gen: load_btf: off %d size %d, attr: off %d size %d\n", │B│ | ~~ │B│ | %u │B│ 485 | btf_data, btf_raw_size, btf_load_attr, attr_size); │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ 1 warning generated. │B│ gen_loader.c:531:23: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 530 | pr_debug("gen: map_create: %s idx %d type %d value_type_id %d, attr: off %d size %d\n", │B│ | ~~ │B│ | %u │B│ 531 | map_name, map_idx, map_type, map_attr->btf_value_type_id, │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:531:33: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 530 | pr_debug("gen: map_create: %s idx %d type %d value_type_id %d, attr: off %d size %d\n", │B│ | ~~ │B│ | %u │B│ 531 | map_name, map_idx, map_type, map_attr->btf_value_type_id, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:569:21: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 569 | } else if (map_idx != gen->nr_maps) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~ │B│ gen_loader.c:588:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 588 | for (i = 0; i < SHA256_DWORD_SIZE; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:616:10: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 616 | if (ret >= sizeof(gen->attach_target)) │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:669:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 669 | for (i = 0; i < gen->nr_ksyms; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ gen_loader.c:987:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 987 | for (i = 0; i < gen->nr_ksyms; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ gen_loader.c:1023:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 1023 | for (i = 0; i < load_attr->func_info_cnt; i++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:1026:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 1026 | for (i = 0; i < load_attr->line_info_cnt; i++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:1054:14: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 1053 | pr_debug("gen: prog_load: prog_idx %d type %d insn off %d insns_cnt %zd license off %d\n", │B│ | ~~ │B│ | %u │B│ 1054 | prog_idx, prog_type, insns_off, insn_cnt, license_off); │B│ | ^~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1054: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│ 1053 | pr_debug("gen: prog_load: prog_idx %d type %d insn off %d insns_cnt %zd license off %d\n", │B│ | ~~~ │B│ | %zu │B│ 1054 | prog_idx, prog_type, insns_off, insn_cnt, license_off); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1077:15: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1076 | pr_debug("gen: prog_load: func_info: off %d cnt %d rec size %d\n", │B│ | ~~ │B│ | %u │B│ 1077 | func_info, load_attr->func_info_cnt, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1078:4: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1076 | pr_debug("gen: prog_load: func_info: off %d cnt %d rec size %d\n", │B│ | ~~ │B│ | %u │B│ 1077 | func_info, load_attr->func_info_cnt, │B│ 1078 | load_attr->func_info_rec_size); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1084:15: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1083 | pr_debug("gen: prog_load: line_info: off %d cnt %d rec size %d\n", │B│ | ~~ │B│ | %u │B│ 1084 | line_info, load_attr->line_info_cnt, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1085:4: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1083 | pr_debug("gen: prog_load: line_info: off %d cnt %d rec size %d\n", │B│ | ~~ │B│ | %u │B│ 1084 | line_info, load_attr->line_info_cnt, │B│ 1085 | load_attr->line_info_rec_size); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1092: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│ 1090 | pr_debug("gen: prog_load: core_relos: off %d cnt %d rec size %zd\n", │B│ | ~~~ │B│ | %zu │B│ 1091 | core_relos, gen->core_relo_cnt, │B│ 1092 | sizeof(struct bpf_core_relo)); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1061:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1061 | for (i = 0; i < insn_cnt; i++, insn++) │B│ | ~ ^ ~~~~~~~~ │B│ gen_loader.c:1197:20: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1196 | pr_debug("gen: map_update_elem: idx %d, value: off %d size %d, attr: off %d size %d\n", │B│ | ~~ │B│ | %u │B│ 1197 | map_idx, value, value_size, map_update_attr, attr_size); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │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.7.0-sources.tar.gz/src/libbpf/staticobjs/relo_core.o │B│ 1 warning generated. │B│ 2 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/linker.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/usdt.o │B│ relo_core.c:220:30: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 219 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", │B│ | ~~ │B│ | %u │B│ 220 | btf_kind_str(local_type), local_id, targ_id); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:220:40: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 219 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", │B│ | ~~ │B│ | %u │B│ 220 | btf_kind_str(local_type), local_id, targ_id); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:386:44: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 385 | pr_warn("prog '%s': relo for [%u] %s (at idx %d) captures type [%d] of unexpected kind %s\n", │B│ | ~~ │B│ | %u │B│ 386 | prog_name, relo->type_id, spec_str, i, id, btf_kind_str(t)); │B│ | ^~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:373:28: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 373 | if (!flex && access_idx >= a->nelems) │B│ | ~~~~~~~~~~ ^ ~~~~~~~~~ │B│ relo_core.c:727:16: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 726 | pr_warn("prog '%s': relo %d at insn #%d can't be applied to array access\n", │B│ | ~~ │B│ | %u │B│ 727 | prog_name, relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:727:28: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 726 | pr_warn("prog '%s': relo %d at insn #%d can't be applied to array access\n", │B│ | ~~ │B│ | %u │B│ 727 | prog_name, relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:749:17: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 748 | pr_warn("prog '%s': relo %d at insn #%d can't be satisfied for bitfield\n", │B│ | ~~ │B│ | %u │B│ 749 | prog_name, relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:749:29: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 748 | pr_warn("prog '%s': relo %d at insn #%d can't be satisfied for bitfield\n", │B│ | ~~ │B│ | %u │B│ 749 | prog_name, relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:974:4: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 972 | pr_warn("prog '%s': relo #%d: unrecognized CO-RE relocation %s (%d) at insn #%d\n", │B│ | ~~ │B│ | %u │B│ 973 | prog_name, relo_idx, core_relo_kind_str(relo->kind), │B│ 974 | relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:974:16: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 972 | pr_warn("prog '%s': relo #%d: unrecognized CO-RE relocation %s (%d) at insn #%d\n", │B│ | ~~ │B│ | %u │B│ 973 | prog_name, relo_idx, core_relo_kind_str(relo->kind), │B│ 974 | relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1070:15: warning: format specifies type 'unsigned int' but the argument has type '__s32' (aka 'int'), which differs in signedness [-Wformat-signedness] │B│ 1068 | pr_warn("prog '%s': relo #%d: unexpected insn #%d (ALU/ALU64) value: got %u, exp %llu -> %llu\n", │B│ | ~~ │B│ | %d │B│ 1069 | prog_name, relo_idx, │B│ 1070 | insn_idx, insn->imm, (unsigned long long)orig_val, │B│ | ^~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1160:45: warning: format specifies type 'unsigned int' but the argument has type '__s32' (aka 'int'), which differs in signedness [-Wformat-signedness] │B│ 1158 | pr_warn("prog '%s': relo #%d: trying to relocate unrecognized insn #%d, code:0x%x, src:0x%x, dst:0x%x, off:0x%x, imm:0x%x\n", │B│ | ~~ │B│ | %x │B│ 1159 | prog_name, relo_idx, insn_idx, insn->code, │B│ 1160 | insn->src_reg, insn->dst_reg, insn->off, insn->imm); │B│ | ^~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1067:34: warning: comparison of integers of different signs: '__s32' (aka 'int') and '__u64' (aka 'unsigned long long') [-Wsign-compare] │B│ 1067 | if (res->validate && insn->imm != orig_val) { │B│ | ~~~~~~~~~ ^ ~~~~~~~~ │B│ relo_core.c:1083:34: warning: comparison of integers of different signs: '__s16' (aka 'short') and '__u64' (aka 'unsigned long long') [-Wsign-compare] │B│ 1083 | if (res->validate && insn->off != orig_val) { │B│ | ~~~~~~~~~ ^ ~~~~~~~~ │B│ relo_core.c:1111:22: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 1111 | if (insn_bytes_sz != res->orig_sz) { │B│ | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ │B│ relo_core.c:1193:2: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1193 | append_buf("<%s> [%u] %s %s", │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 1194 | core_relo_kind_str(spec->relo_kind), │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 1195 | type_id, btf_kind_str(t), str_is_empty(s) ? "" : s); │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1209:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1209 | append_buf(fmt_str, s, e->val); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1217:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1217 | append_buf(fmt_str, s, (unsigned long long)btf_enum64_value(e)); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1225:5: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1225 | append_buf(".%s", spec->spec[i].name); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1227:5: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1227 | append_buf("[%u]", spec->spec[i].idx); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1230:3: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1230 | append_buf(" ("); │B│ | ^~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1232:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1232 | append_buf("%s%d", i == 0 ? "" : ":", spec->raw_spec[i]); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1235:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1235 | append_buf(" @ offset %u.%u)", spec->bit_offset / 8, spec->bit_offset % 8); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1237:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1237 | append_buf(" @ offset %u)", spec->bit_offset / 8); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1325:25: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1324 | pr_warn("prog '%s': relo #%d: parsing [%d] %s %s + %s failed: %d\n", │B│ | ~~ │B│ | %u │B│ 1325 | prog_name, relo_idx, local_id, btf_kind_str(local_type), │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1348:57: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 1347 | pr_warn("prog '%s': relo #%d: <%s> (%d) relocation doesn't support anonymous types\n", │B│ | ~~ │B│ | %u │B│ 1348 | prog_name, relo_idx, core_relo_kind_str(relo->kind), relo->kind); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ 8 warnings generated. │B│ relo_core.c:1699:27: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1698 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", │B│ | ~~ │B│ | %u │B│ 1699 | btf_kind_str(local_t), local_id, targ_id); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1699:37: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1698 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", │B│ | ~~ │B│ | %u │B│ 1699 | btf_kind_str(local_t), local_id, targ_id); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/gen_loader.o │B│ usdt.c:330:56: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 330 | pr_warn("usdt: unrecognized ELF kind %d for '%s'\n", elf_kind(elf), path); │B│ | ~~ ^~~~~~~~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:441:14: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 441 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:441:34: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 441 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:441:54: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 441 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ | ^~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:442:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 441 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ 442 | (long)phdr.p_type, (long)phdr.p_flags); │B│ | ^~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:442:24: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 441 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ 442 | (long)phdr.p_type, (long)phdr.p_flags); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:434:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 434 | for (i = 0; i < n; i++) { │B│ | ~ ^ ~ │B│ usdt.c:568:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 568 | for (i = 0, seg = segs; i < seg_cnt; i++, seg++) { │B│ | ~ ^ ~~~~~~~ │B│ usdt.c:584:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 584 | for (i = 0, seg = segs; i < seg_cnt; i++, seg++) { │B│ | ~ ^ ~~~~~~~ │B│ usdt.c:714:37: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 713 | pr_warn("usdt: failed to find ELF program segment for '%s:%s' in '%s' at IP 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 714 | usdt_provider, usdt_name, path, usdt_abs_ip); │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:720:11: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 719 | 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│ 720 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:720:23: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 719 | 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│ 720 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:721:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 719 | 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│ 720 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ 721 | usdt_abs_ip); │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:761:38: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 760 | 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│ 761 | usdt_provider, usdt_name, path, usdt_rel_ip); │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:770:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 769 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 770 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:770:20: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 769 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 770 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:770:36: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 769 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 770 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:770:49: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 769 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 770 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:771:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 769 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 770 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ 771 | seg ? seg->start : 0, seg ? seg->end : 0, seg ? seg->offset : 0); │B│ | ^~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:771:27: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 769 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 770 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ 771 | seg ? seg->start : 0, seg ? seg->end : 0, seg ? seg->offset : 0); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:771:47: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 769 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 770 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ 771 | seg ? seg->start : 0, seg ? seg->end : 0, seg ? seg->offset : 0); │B│ | ^~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:786:38: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 785 | pr_warn("usdt: failed to find ELF loadable segment with semaphore of '%s:%s' in '%s' at 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 786 | usdt_provider, usdt_name, path, note.sema_addr); │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:792:12: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 791 | 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│ 792 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:792:24: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 791 | 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│ 792 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:793:6: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 791 | 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│ 792 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ 793 | note.sema_addr); │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:801:12: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 800 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 801 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:801:28: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 800 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 801 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:801:44: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 800 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 801 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:802:6: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 800 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 801 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ 802 | seg->start, seg->end, seg->offset); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:802:18: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 800 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 801 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ 802 | seg->start, seg->end, seg->offset); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:802:28: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 800 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 801 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ 802 | seg->start, seg->end, seg->offset); │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:880:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 880 | for (i = 0; i < usdt_link->uprobe_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ usdt.c:1112:6: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 1111 | pr_warn("usdt: failed to map IP 0x%lx to spec #%d for '%s:%s' in '%s': %s\n", │B│ | ~~~ │B│ | %lx │B│ 1112 | target->abs_ip, spec_id, usdt_provider, usdt_name, │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:1080:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1080 | for (i = 0; i < target_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~ │B│ usdt.c:1320:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1320 | for (i = 0; i < ARRAY_SIZE(reg_map); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ usdt.c:1321:17: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1321 | for (j = 0; j < ARRAY_SIZE(reg_map[i].names); j++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ linker.c:583:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 583 | while (written < buf_sz) { │B│ | ~~~~~~~ ^ ~~~~~~ │B│ linker.c:922:48: warning: comparison of integers of different signs: 'Elf64_Word' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 922 | if (!sec->shdr->sh_link || sec->shdr->sh_link >= obj->sec_cnt) { │B│ | ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ │B│ linker.c:1004:48: warning: comparison of integers of different signs: 'Elf64_Word' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 1004 | if (!sec->shdr->sh_info || sec->shdr->sh_info >= obj->sec_cnt) { │B│ | ~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ │B│ linker.c:1105:17: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 1105 | if (*type_id >= n) │B│ | ~~~~~~~~ ^ ~ │B│ linker.c:1234:22: warning: comparison of integers of different signs: 'int' and 'Elf64_Xword' (aka 'unsigned long') [-Wsign-compare] │B│ 1234 | if (dst_sec->sec_sz != src_sec->shdr->sh_size) │B│ | ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ │B│ linker.c:1887:25: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 1887 | if (btf_id && btf_id != vi->type) { │B│ | ~~~~~~ ^ ~~~~~~~~ │B│ linker.c:2655:33: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 2655 | if (dst_sec->func_info.rec_sz != rec_sz) { │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ │B│ linker.c:2660:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 2660 | for_each_btf_ext_rec(&obj->btf_ext->func_info, ext_sec, i, src_rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 459 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ linker.c:2684:33: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 2684 | if (dst_sec->line_info.rec_sz != rec_sz) { │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ │B│ linker.c:2689:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 2689 | for_each_btf_ext_rec(&obj->btf_ext->line_info, ext_sec, i, src_rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 459 | i < (sec)->num_info; \ │B│ | ~ ^ ~~~~~~~~~~~~~~~ │B│ linker.c:2726:38: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 2726 | if (dst_sec->core_relo_info.rec_sz != rec_sz) { │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~ │B│ linker.c:2731:3: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 2731 | for_each_btf_ext_rec(&obj->btf_ext->core_relo_info, ext_sec, i, src_rec) { │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec' │B│ 459 | i < (sec)->num_info; \ │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:381:14: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 380 | pr_warn("nr_progs %d/%d nr_maps %d/%d mismatch\n", │B│ | ~~ │B│ | %u │B│ 381 | nr_progs, gen->nr_progs, nr_maps, gen->nr_maps); │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:381:38: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 380 | pr_warn("nr_progs %d/%d nr_maps %d/%d mismatch\n", │B│ | ~~ │B│ | %u │B│ 381 | nr_progs, gen->nr_progs, nr_maps, gen->nr_maps); │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:379:42: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 379 | if (nr_progs < gen->nr_progs || nr_maps != gen->nr_maps) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~ │B│ gen_loader.c:379:15: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 379 | if (nr_progs < gen->nr_progs || nr_maps != gen->nr_maps) { │B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~ │B│ gen_loader.c:386:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 386 | for (i = 0; i < gen->nr_progs; i++) │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ gen_loader.c:393:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 393 | for (i = 0; i < gen->nr_maps; i++) │B│ | ~ ^ ~~~~~~~~~~~~ │B│ gen_loader.c:463:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 463 | for (i = 0; i < SHA256_DWORD_SIZE; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:485:14: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 484 | pr_debug("gen: load_btf: off %d size %d, attr: off %d size %d\n", │B│ | ~~ │B│ | %u │B│ 485 | btf_data, btf_raw_size, btf_load_attr, attr_size); │B│ | ^~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:531:23: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 530 | pr_debug("gen: map_create: %s idx %d type %d value_type_id %d, attr: off %d size %d\n", │B│ | ~~ │B│ | %u │B│ 531 | map_name, map_idx, map_type, map_attr->btf_value_type_id, │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:531:33: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 530 | pr_debug("gen: map_create: %s idx %d type %d value_type_id %d, attr: off %d size %d\n", │B│ | ~~ │B│ | %u │B│ 531 | map_name, map_idx, map_type, map_attr->btf_value_type_id, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:569:21: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 569 | } else if (map_idx != gen->nr_maps) { │B│ | ~~~~~~~ ^ ~~~~~~~~~~~~ │B│ gen_loader.c:588:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 588 | for (i = 0; i < SHA256_DWORD_SIZE; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:616:10: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 616 | if (ret >= sizeof(gen->attach_target)) │B│ | ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:669:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 669 | for (i = 0; i < gen->nr_ksyms; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ gen_loader.c:987:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 987 | for (i = 0; i < gen->nr_ksyms; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~ │B│ gen_loader.c:1023:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 1023 | for (i = 0; i < load_attr->func_info_cnt; i++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:1026:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare] │B│ 1026 | for (i = 0; i < load_attr->line_info_cnt; i++) │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ │B│ gen_loader.c:1054:14: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 1053 | pr_debug("gen: prog_load: prog_idx %d type %d insn off %d insns_cnt %zd license off %d\n", │B│ | ~~ │B│ | %u │B│ 1054 | prog_idx, prog_type, insns_off, insn_cnt, license_off); │B│ | ^~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1054: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│ 1053 | pr_debug("gen: prog_load: prog_idx %d type %d insn off %d insns_cnt %zd license off %d\n", │B│ | ~~~ │B│ | %zu │B│ 1054 | prog_idx, prog_type, insns_off, insn_cnt, license_off); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1077:15: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1076 | pr_debug("gen: prog_load: func_info: off %d cnt %d rec size %d\n", │B│ | ~~ │B│ | %u │B│ 1077 | func_info, load_attr->func_info_cnt, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1078:4: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1076 | pr_debug("gen: prog_load: func_info: off %d cnt %d rec size %d\n", │B│ | ~~ │B│ | %u │B│ 1077 | func_info, load_attr->func_info_cnt, │B│ 1078 | load_attr->func_info_rec_size); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1084:15: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1083 | pr_debug("gen: prog_load: line_info: off %d cnt %d rec size %d\n", │B│ | ~~ │B│ | %u │B│ 1084 | line_info, load_attr->line_info_cnt, │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1085:4: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1083 | pr_debug("gen: prog_load: line_info: off %d cnt %d rec size %d\n", │B│ | ~~ │B│ | %u │B│ 1084 | line_info, load_attr->line_info_cnt, │B│ 1085 | load_attr->line_info_rec_size); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1092: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│ 1090 | pr_debug("gen: prog_load: core_relos: off %d cnt %d rec size %zd\n", │B│ | ~~~ │B│ | %zu │B│ 1091 | core_relos, gen->core_relo_cnt, │B│ 1092 | sizeof(struct bpf_core_relo)); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ gen_loader.c:1061:17: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1061 | for (i = 0; i < insn_cnt; i++, insn++) │B│ | ~ ^ ~~~~~~~~ │B│ gen_loader.c:1197:20: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1196 | pr_debug("gen: map_update_elem: idx %d, value: off %d size %d, attr: off %d size %d\n", │B│ | ~~ │B│ | %u │B│ 1197 | map_idx, value, value_size, map_update_attr, attr_size); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ 36 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/zip.o │B│ 28 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/elf.o │B│ 27 warnings generated. │B│ 12 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/features.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/btf_iter.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/btf_relocate.o │B│ elf.c:69:18: warning: comparison of integers of different signs: 'Elf64_Word' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 69 | if (sh.sh_type == sh_type) │B│ | ~~~~~~~~~~ ^ ~~~~~~~ │B│ elf.c:357:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 356 | pr_debug("elf: symbol address match for '%s' in '%s': 0x%lx\n", name, binary_path, │B│ | ~~~ │B│ | %lx │B│ 357 | ret); │B│ | ^~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ elf.c:311:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 311 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ elf.c:331:29: warning: comparison of integers of different signs: 'unsigned long' and 'long' [-Wsign-compare] │B│ 331 | if (elf_sym_offset(sym) == ret) { │B│ | ~~~~~~~~~~~~~~~~~~~ ^ ~~~ │B│ elf.c:436:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 436 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ elf.c:517:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 517 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~ │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:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | 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:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | 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:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | 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:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | 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:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | 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│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/relo_core.o │B│ 6 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/usdt.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/zip.o │B│ relo_core.c:220:30: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 219 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", │B│ | ~~ │B│ | %u │B│ 220 | btf_kind_str(local_type), local_id, targ_id); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:220:40: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 219 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", │B│ | ~~ │B│ | %u │B│ 220 | btf_kind_str(local_type), local_id, targ_id); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:386:44: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 385 | pr_warn("prog '%s': relo for [%u] %s (at idx %d) captures type [%d] of unexpected kind %s\n", │B│ | ~~ │B│ | %u │B│ 386 | prog_name, relo->type_id, spec_str, i, id, btf_kind_str(t)); │B│ | ^~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:373:28: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 373 | if (!flex && access_idx >= a->nelems) │B│ | ~~~~~~~~~~ ^ ~~~~~~~~~ │B│ relo_core.c:727:16: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 726 | pr_warn("prog '%s': relo %d at insn #%d can't be applied to array access\n", │B│ | ~~ │B│ | %u │B│ 727 | prog_name, relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:727:28: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 726 | pr_warn("prog '%s': relo %d at insn #%d can't be applied to array access\n", │B│ | ~~ │B│ | %u │B│ 727 | prog_name, relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:749:17: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 748 | pr_warn("prog '%s': relo %d at insn #%d can't be satisfied for bitfield\n", │B│ | ~~ │B│ | %u │B│ 749 | prog_name, relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:749:29: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 748 | pr_warn("prog '%s': relo %d at insn #%d can't be satisfied for bitfield\n", │B│ | ~~ │B│ | %u │B│ 749 | prog_name, relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:974:4: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 972 | pr_warn("prog '%s': relo #%d: unrecognized CO-RE relocation %s (%d) at insn #%d\n", │B│ | ~~ │B│ | %u │B│ 973 | prog_name, relo_idx, core_relo_kind_str(relo->kind), │B│ 974 | relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:974:16: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 972 | pr_warn("prog '%s': relo #%d: unrecognized CO-RE relocation %s (%d) at insn #%d\n", │B│ | ~~ │B│ | %u │B│ 973 | prog_name, relo_idx, core_relo_kind_str(relo->kind), │B│ 974 | relo->kind, relo->insn_off / 8); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1070:15: warning: format specifies type 'unsigned int' but the argument has type '__s32' (aka 'int'), which differs in signedness [-Wformat-signedness] │B│ 1068 | pr_warn("prog '%s': relo #%d: unexpected insn #%d (ALU/ALU64) value: got %u, exp %llu -> %llu\n", │B│ | ~~ │B│ | %d │B│ 1069 | prog_name, relo_idx, │B│ 1070 | insn_idx, insn->imm, (unsigned long long)orig_val, │B│ | ^~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1160:45: warning: format specifies type 'unsigned int' but the argument has type '__s32' (aka 'int'), which differs in signedness [-Wformat-signedness] │B│ 1158 | pr_warn("prog '%s': relo #%d: trying to relocate unrecognized insn #%d, code:0x%x, src:0x%x, dst:0x%x, off:0x%x, imm:0x%x\n", │B│ | ~~ │B│ | %x │B│ 1159 | prog_name, relo_idx, insn_idx, insn->code, │B│ 1160 | insn->src_reg, insn->dst_reg, insn->off, insn->imm); │B│ | ^~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1067:34: warning: comparison of integers of different signs: '__s32' (aka 'int') and '__u64' (aka 'unsigned long long') [-Wsign-compare] │B│ 1067 | if (res->validate && insn->imm != orig_val) { │B│ | ~~~~~~~~~ ^ ~~~~~~~~ │B│ relo_core.c:1083:34: warning: comparison of integers of different signs: '__s16' (aka 'short') and '__u64' (aka 'unsigned long long') [-Wsign-compare] │B│ 1083 | if (res->validate && insn->off != orig_val) { │B│ | ~~~~~~~~~ ^ ~~~~~~~~ │B│ relo_core.c:1111:22: warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare] │B│ 1111 | if (insn_bytes_sz != res->orig_sz) { │B│ | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~ │B│ relo_core.c:1193:2: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1193 | append_buf("<%s> [%u] %s %s", │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 1194 | core_relo_kind_str(spec->relo_kind), │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 1195 | type_id, btf_kind_str(t), str_is_empty(s) ? "" : s); │B│ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1209:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1209 | append_buf(fmt_str, s, e->val); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1217:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1217 | append_buf(fmt_str, s, (unsigned long long)btf_enum64_value(e)); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1225:5: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1225 | append_buf(".%s", spec->spec[i].name); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1227:5: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1227 | append_buf("[%u]", spec->spec[i].idx); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1230:3: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1230 | append_buf(" ("); │B│ | ^~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1232:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1232 | append_buf("%s%d", i == 0 ? "" : ":", spec->raw_spec[i]); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1235:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1235 | append_buf(" @ offset %u.%u)", spec->bit_offset / 8, spec->bit_offset % 8); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1237:4: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1237 | append_buf(" @ offset %u)", spec->bit_offset / 8); │B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ relo_core.c:1183:9: note: expanded from macro 'append_buf' │B│ 1183 | if (r >= buf_sz) \ │B│ | ~ ^ ~~~~~~ │B│ relo_core.c:1325:25: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1324 | pr_warn("prog '%s': relo #%d: parsing [%d] %s %s + %s failed: %d\n", │B│ | ~~ │B│ | %u │B│ 1325 | prog_name, relo_idx, local_id, btf_kind_str(local_type), │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1348:57: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 1347 | pr_warn("prog '%s': relo #%d: <%s> (%d) relocation doesn't support anonymous types\n", │B│ | ~~ │B│ | %u │B│ 1348 | prog_name, relo_idx, core_relo_kind_str(relo->kind), relo->kind); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ 6 warnings generated. │B│ relo_core.c:1699:27: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1698 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", │B│ | ~~ │B│ | %u │B│ 1699 | btf_kind_str(local_t), local_id, targ_id); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ relo_core.c:1699:37: warning: format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] │B│ 1698 | pr_warn("unexpected kind %s relocated, local [%d], target [%d]\n", │B│ | ~~ │B│ | %u │B│ 1699 | btf_kind_str(local_t), local_id, targ_id); │B│ | ^~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/elf.o │B│ usdt.c:330:56: warning: format specifies type 'int' but the argument has underlying type 'unsigned int', which differs in signedness [-Wformat-signedness] │B│ 330 | pr_warn("usdt: unrecognized ELF kind %d for '%s'\n", elf_kind(elf), path); │B│ | ~~ ^~~~~~~~~~~~~ │B│ | %u │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:441:14: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 441 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:441:34: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 441 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:441:54: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 441 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ | ^~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:442:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 441 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ 442 | (long)phdr.p_type, (long)phdr.p_flags); │B│ | ^~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:442:24: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 440 | pr_debug("usdt: discovered PHDR #%d in '%s': vaddr 0x%lx memsz 0x%lx offset 0x%lx type 0x%lx flags 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 441 | i, path, (long)phdr.p_vaddr, (long)phdr.p_memsz, (long)phdr.p_offset, │B│ 442 | (long)phdr.p_type, (long)phdr.p_flags); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:434:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 434 | for (i = 0; i < n; i++) { │B│ | ~ ^ ~ │B│ usdt.c:568:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 568 | for (i = 0, seg = segs; i < seg_cnt; i++, seg++) { │B│ | ~ ^ ~~~~~~~ │B│ usdt.c:584:28: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 584 | for (i = 0, seg = segs; i < seg_cnt; i++, seg++) { │B│ | ~ ^ ~~~~~~~ │B│ usdt.c:714:37: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 713 | pr_warn("usdt: failed to find ELF program segment for '%s:%s' in '%s' at IP 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 714 | usdt_provider, usdt_name, path, usdt_abs_ip); │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:720:11: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 719 | 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│ 720 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:720:23: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 719 | 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│ 720 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:721:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 719 | 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│ 720 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ 721 | usdt_abs_ip); │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:761:38: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 760 | 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│ 761 | usdt_provider, usdt_name, path, usdt_rel_ip); │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:770:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 769 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 770 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:770:20: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 769 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 770 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:770:36: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 769 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 770 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:770:49: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 769 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 770 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:771:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 769 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 770 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ 771 | seg ? seg->start : 0, seg ? seg->end : 0, seg ? seg->offset : 0); │B│ | ^~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:771:27: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 769 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 770 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ 771 | seg ? seg->start : 0, seg ? seg->end : 0, seg ? seg->offset : 0); │B│ | ^~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:771:47: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 768 | pr_debug("usdt: probe for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved abs_ip 0x%lx rel_ip 0x%lx) args '%s' in segment [0x%lx, 0x%lx) at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 769 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", path, │B│ 770 | note.loc_addr, note.base_addr, usdt_abs_ip, usdt_rel_ip, note.args, │B│ 771 | seg ? seg->start : 0, seg ? seg->end : 0, seg ? seg->offset : 0); │B│ | ^~~~~~~~~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:786:38: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 785 | pr_warn("usdt: failed to find ELF loadable segment with semaphore of '%s:%s' in '%s' at 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 786 | usdt_provider, usdt_name, path, note.sema_addr); │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:792:12: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 791 | 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│ 792 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:792:24: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 791 | 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│ 792 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:793:6: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 791 | 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│ 792 | path, seg->start, seg->end, usdt_provider, usdt_name, │B│ 793 | note.sema_addr); │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:801:12: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 800 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 801 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:801:28: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 800 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 801 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:801:44: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 800 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 801 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ | ^~~~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:802:6: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 800 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 801 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ 802 | seg->start, seg->end, seg->offset); │B│ | ^~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:802:18: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 800 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 801 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ 802 | seg->start, seg->end, seg->offset); │B│ | ^~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:802:28: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 799 | pr_debug("usdt: sema for '%s:%s' in %s '%s': addr 0x%lx base 0x%lx (resolved 0x%lx) in segment [0x%lx, 0x%lx] at offset 0x%lx\n", │B│ | ~~~ │B│ | %lx │B│ 800 | usdt_provider, usdt_name, ehdr.e_type == ET_EXEC ? "exec" : "lib ", │B│ 801 | path, note.sema_addr, note.base_addr, usdt_sema_off, │B│ 802 | seg->start, seg->end, seg->offset); │B│ | ^~~~~~~~~~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:880:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 880 | for (i = 0; i < usdt_link->uprobe_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~ │B│ usdt.c:1112:6: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 1111 | pr_warn("usdt: failed to map IP 0x%lx to spec #%d for '%s:%s' in '%s': %s\n", │B│ | ~~~ │B│ | %lx │B│ 1112 | target->abs_ip, spec_id, usdt_provider, usdt_name, │B│ | ^~~~~~~~~~~~~~ │B│ ./libbpf_internal.h:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ usdt.c:1080:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1080 | for (i = 0; i < target_cnt; i++) { │B│ | ~ ^ ~~~~~~~~~~ │B│ usdt.c:1320:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1320 | for (i = 0; i < ARRAY_SIZE(reg_map); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~ │B│ usdt.c:1321:17: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 1321 | for (j = 0; j < ARRAY_SIZE(reg_map[i].names); j++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ │B│ 12 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/features.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/btf_iter.o │B│ elf.c:69:18: warning: comparison of integers of different signs: 'Elf64_Word' (aka 'unsigned int') and 'int' [-Wsign-compare] │B│ 69 | if (sh.sh_type == sh_type) │B│ | ~~~~~~~~~~ ^ ~~~~~~~ │B│ elf.c:357:5: warning: format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness] │B│ 356 | pr_debug("elf: symbol address match for '%s' in '%s': 0x%lx\n", name, binary_path, │B│ | ~~~ │B│ | %lx │B│ 357 | ret); │B│ | ^~~ │B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug' │B│ 175 | #define pr_debug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \ │B│ | ~~~ ^~~~~~~~~~~ │B│ elf.c:311:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 311 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ elf.c:331:29: warning: comparison of integers of different signs: 'unsigned long' and 'long' [-Wsign-compare] │B│ 331 | if (elf_sym_offset(sym) == ret) { │B│ | ~~~~~~~~~~~~~~~~~~~ ^ ~~~ │B│ elf.c:436:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 436 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ elf.c:517:16: warning: comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare] │B│ 517 | for (i = 0; i < ARRAY_SIZE(sh_types); i++) { │B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~~ │B│ 27 warnings generated. │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/btf_relocate.o │B│ 28 warnings generated. │B│ 36 warnings generated. │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:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | 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:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | 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:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | 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:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | 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:173:52: note: expanded from macro 'pr_warn' │B│ 173 | #define pr_warn(fmt, ...) __pr(LIBBPF_WARN, fmt, ##__VA_ARGS__) │B│ | ~~~ ^~~~~~~~~~~ │B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr' │B│ 170 | 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│ 127 warnings generated. │B│ AR /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/libbpf.a │B│ make[1]: Leaving directory '/mason/build/x86_64/bpftool-libbpf-v7.7.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 feature.o │B│ CC common.o │B│ CC gen.o │B│ 127 warnings generated. │B│ AR /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/libbpf.a │B│ make[1]: Leaving directory '/mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/libbpf/src' │B│ CC iter.o │B│ CC jit_disasm.o │B│ CC json_writer.o │B│ CC link.o │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.7.0-sources.tar.gz/src/bootstrap/main.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/common.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/json_writer.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/gen.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/btf.o │B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/sign.o │B│ CC sign.o │B│ CC struct_ops.o │B│ CC token.o │B│ CC tracelog.o │B│ CC xlated_dumper.o │B│ CC disasm.o │B│ LINK /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/bpftool │B│ GEN vmlinux.h │B│ skipping /sys/kernel/btf/vmlinux (will be loaded as base) │B│ CLANG profiler.bpf.o │B│ CLANG pid_iter.bpf.o │B│ GEN profiler.skel.h │B│ CC prog.o │B│ GEN pid_iter.skel.h │B│ CC pids.o │B│ LINK bpftool │B│ make: Leaving directory '/mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src' │ │Install │I│ + TERM=dumb │I│ + export TERM │I│ + SOURCE_DATE_EPOCH=1774200054 │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.7.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.7.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.7.0-sources.tar.gz │I│ + cd /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz │I│ + echo 'The work directory %(workdir) is /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz' │I│ + _common_args='-C src prefix=/usr mandir=/usr/share/man' │I│ The work directory %(workdir) is /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz │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.7.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.7.0-sources.tar.gz/docs │I│ INSTALL Documentation-man │I│ make: Leaving directory '/mason/build/x86_64/bpftool-libbpf-v7.7.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-token.8 │A│ » /usr/share/man/man8/bpftool.8 │A│ » /usr/lib/debug/.build-id/f9/1c2047764b8d3976ffd6f7f78579d1725b3a3b.debug Verifying Verified "b/bpftool/manifest.x86_64.bin" matches built manifest based on hash match: "32b84d96bde6014aa4d1f9f0a598dfc51aee42137537a9d009038c1777264f54" Packaging Emitted bpftool-7.7.0-6-1-x86_64.stone Emitted bpftool-dbginfo-7.7.0-6-1-x86_64.stone Phase Elapsed % │Initialize 1.23s 5.0% │Populate (moss) ││Resolve 0.56s 2.3% ││Fetch 4.21s 17.2% ││Blit 7.08s 28.9% │Fetch 0.38s 1.5% │x86_64 ││Prepare 0.05s 0.2% ││Build 10.04s 41.0% ││Install 0.58s 2.4% │Analyze 0.06s 0.3% │Emit 0.28s 1.1% ────────────────────────────────────── Total 24.47s 100.0% Build finished successfully at 2026-03-22T18:22:11+01:00