boulder v0.26.8 (Git ref 1317f874a3b5104c4f44cb17520a328f96ccaa79)
└─ building bpftool-7.7.0-8-1
Refreshed repo0
The following package(s) will be installed:
acl 2.4.0-6
attr 2.6.0-7
bash 5.3.15-32
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.7-10
boulder 0.26.8+git.1317f87-166
brotli-libs 1.2.0-11
bsdtar 3.8.9-27
bsdtar-static 3.8.9-27
bzip2-libs 1.0.8-9
ca-certificates 20250516-18
ca-certificates-mozilla 3.128-51
ca-certificates-utils 20250516-18
clang 23.1.0-62
clang-libs 23.1.0-62
compiler-rt 23.1.0-62
coreutils 0.10.0-38
cryptsetup-libs 2.8.7-14
curl-libs 8.21.0-32
cyrus-sasl-libs 2.1.28-6
dash 0.5.13.5-20
device-mapper-libs 2.03.42-22
diffutils 3.12-7
docutils 0.23-8
envsubst 1.0-12
expat 2.8.4-17
file 5.48-13
findutils 4.11.0-5
gawk 5.4.1-10
gcc 16.2.0+git.929cafe1-26
gdbm-libs 1.26-8
git 2.55.0-25
glib2 2.88.3-40
glibc 2.43+git.4964178b-42
glibc-devel 2.43+git.4964178b-42
gmp 6.3.0-7
gnu-coreutils-compat 9.11-8
gpm-libs 1.20.7-5
grep 3.12-8
helix 25.07.01-8
hwloc-libs 2.14.0-8
iana-etc 20260723-6
icu-libs 78.3-15
isl 0.28-3
jansson 2.15.1-6
json-c 0.19-6
keyutils 1.6.3-5
krb5-libs 1.22.2-7
layout 0.1.0-9
less 704-18
libarchive 3.8.9-27
libatomic 16.2.0+git.929cafe1-26
libb2 0.98.1-3
libblkid 2.42.2-23
libcap 2.78-13
libcap-devel 2.78-13
libcap-ng 0.9.5-9
libcom_err 1.47.4-8
libeconf 0.8.4-8
libedit 20260512-3.1-8
libedit-devel 20260512-3.1-8
libelf 0.196-14
libelf-devel 0.196-14
libfdisk 2.42.2-23
libffi 3.8.0-13
libgcc 16.2.0+git.929cafe1-26
libgcc-static 16.2.0+git.929cafe1-26
libgcrypt 1.12.3-12
libgomp 16.2.0+git.929cafe1-26
libgpg-error 1.61-12
libidn2 2.3.8-6
libmount 2.42.2-23
libpsl 0.23.3-8
libseccomp 2.6.1-7
libsecret 0.21.7-9
libsmartcols 2.42.2-23
libsodium 1.0.22+git.2ce4d906-6
libssh2 1.11.1-4
libstdc++ 16.2.0+git.929cafe1-26
libstdc++-devel 16.2.0+git.929cafe1-26
libstone 0.26.1+git.647000c-8
libtasn1 4.21.0-5
libunistring 1.4.2-8
libutempter 1.2.1-3
libuuid 2.42.2-23
libxcrypt 4.5.2-11
libxml2 2.15.3-22
linux-headers 7.1.12-54
linux-pam-libs 1.7.2-20
lld 23.1.0-62
lld-libs 23.1.0-62
llvm 23.1.0-62
llvm-devel 23.1.0-62
llvm-libs 23.1.0-62
lz4 1.10.0-5
lzo 2.10-3
make 4.4.1-5
mimalloc 2.4.5-16
mlir 23.1.0-62
mlir-devel 23.1.0-62
mpc 1.4.1-6
mpdecimal 4.0.1-3
mpfr 4.2.2-6
nano 9.2-42
ncurses-base 6.6-20260822-27
ncurses-libs 6.6-20260822-27
nghttp2-libs 1.70.0-17
nghttp3 1.18.0-8
ngtcp2 1.25.0-4
onetbb 2023.1.0-8
openldap 2.6.14-8
openmp 23.1.0-62
openmp-devel 23.1.0-62
openssl 3.6.4-37
openssl-devel 3.6.4-37
openssl-libs 3.6.4-37
os-info 2026.08-20
p11-kit 0.26.5-13
p11-kit-libs 0.26.5-13
pcre2 10.47-9
pkgconf 3.0.6-14
polly 23.1.0-62
polly-devel 23.1.0-62
procps 4.0.7-9
python 3.14.7-25
python-libs 3.14.7-25
python-pip-wheel 26.2.1-11
readline 8.3.3-10
ripgrep 15.2.0-5
sed 4.10-5
sqlite 3.53.4-23
sudo-rs 0.2.14-20
systemd-libs 261.2-96
systemd-shared 261.2-96
systemd-sysusers 261.2-96
systemd-tmpfiles 261.2-96
terminfo-foot 1.27.0-6
terminfo-ghostty 1.3.1-10
terminfo-kitty 0.48.2-19
terminfo-kmscon 10.0.2-13
tpm2-tss 4.2.0-6
tzdata 2026c-11
util-linux 2.42.2-23
uutils-coreutils 0.10.0-38
vim 9.2.1001-30
wayland 1.26.0-10
xxd 9.2.1001-30
xz 5.8.3-16
zlib 2.3.3-24
zlib-devel 2.3.3-24
zstd 1.5.7-13
zstd-devel 1.5.7-13
zstd-libs 1.5.7-13
Installed attr (cached)
Installed blake3 (cached)
Installed acl (cached)
Installed bsdtar (cached)
Installed binutils-devel (cached)
Installed bzip2-libs (cached)
Installed brotli-libs (cached)
Installed ca-certificates (cached)
Installed binutils-libs (cached)
Installed ca-certificates-utils (cached)
Installed ca-certificates-mozilla (cached)
Installed clang
Installed coreutils (cached)
Installed binutils-gprofng (cached)
Installed cryptsetup-libs (cached)
Installed cyrus-sasl-libs (cached)
Installed curl-libs (cached)
Installed bash (cached)
Installed dash (cached)
Installed device-mapper-libs (cached)
Installed envsubst (cached)
Installed diffutils (cached)
Installed expat (cached)
Installed findutils (cached)
Installed file (cached)
Installed gawk (cached)
Installed gdbm-libs (cached)
Installed boulder (cached)
Installed docutils
Installed binutils (cached)
Installed bsdtar-static (cached)
Installed glib2 (cached)
Installed gmp (cached)
Installed gpm-libs (cached)
Installed grep (cached)
Installed compiler-rt
Installed hwloc-libs (cached)
Installed iana-etc (cached)
Installed gnu-coreutils-compat (cached)
Installed git (cached)
Installed jansson (cached)
Installed json-c (cached)
Installed keyutils (cached)
Installed isl (cached)
Installed layout (cached)
Installed less (cached)
Installed krb5-libs (cached)
Installed libatomic (cached)
Installed libb2 (cached)
Installed libarchive (cached)
Installed libblkid (cached)
Installed libcap (cached)
Installed libcap-ng (cached)
Installed libcap-devel (cached)
Installed libcom_err (cached)
Installed libeconf (cached)
Installed libedit-devel (cached)
Installed libedit (cached)
Installed libelf (cached)
Installed libfdisk (cached)
Installed libffi (cached)
Installed libgcc (cached)
Installed libelf-devel (cached)
Installed libgcrypt (cached)
Installed libgomp (cached)
Installed libgpg-error (cached)
Installed libidn2 (cached)
Installed libmount (cached)
Installed libpsl (cached)
Installed libseccomp (cached)
Installed libgcc-static (cached)
Installed libsecret (cached)
Installed libsmartcols (cached)
Installed libsodium (cached)
Installed libssh2 (cached)
Installed libstdc++ (cached)
Installed libstone (cached)
Installed libtasn1 (cached)
Installed glibc-devel (cached)
Installed libutempter (cached)
Installed libstdc++-devel (cached)
Installed libuuid (cached)
Installed libxcrypt (cached)
Installed libunistring (cached)
Installed linux-pam-libs (cached)
Installed lld
Installed libxml2 (cached)
Installed icu-libs (cached)
Installed linux-headers (cached)
Installed lld-libs
Installed lz4 (cached)
Installed lzo (cached)
Installed make (cached)
Installed mimalloc (cached)
Installed helix (cached)
Installed llvm
Installed mpc (cached)
Installed clang-libs
Installed mpfr (cached)
Installed glibc (cached)
Installed llvm-devel
Installed nano (cached)
Installed nghttp2-libs (cached)
Installed nghttp3 (cached)
Installed ncurses-libs (cached)
Installed ngtcp2 (cached)
Installed openldap (cached)
Installed mpdecimal (cached)
Installed ncurses-base (cached)
Installed openmp-devel
Installed openmp
Installed mlir
Installed os-info (cached)
Installed p11-kit (cached)
Installed openssl-libs (cached)
Installed pcre2 (cached)
Installed p11-kit-libs (cached)
Installed onetbb (cached)
Installed pkgconf (cached)
Installed polly-devel
Installed procps (cached)
Installed gcc (cached)
Installed polly
Installed readline (cached)
Installed ripgrep (cached)
Installed sed (cached)
Installed python (cached)
Installed sudo-rs (cached)
Installed mlir-devel
Installed systemd-libs (cached)
Installed systemd-sysusers (cached)
Installed systemd-tmpfiles (cached)
Installed terminfo-foot (cached)
Installed terminfo-ghostty (cached)
Installed terminfo-kitty (cached)
Installed terminfo-kmscon (cached)
Installed tpm2-tss (cached)
Installed systemd-shared (cached)
Installed util-linux (cached)
Installed python-pip-wheel (cached)
Installed sqlite (cached)
Installed wayland (cached)
Installed xxd (cached)
Installed uutils-coreutils (cached)
Installed zlib (cached)
Installed xz (cached)
Installed zstd (cached)
Installed zlib-devel (cached)
Installed zstd-devel (cached)
Installed zstd-libs (cached)
Installed openssl (cached)
Installed tzdata (cached)
Installed vim (cached)
Installed openssl-devel (cached)
Installed llvm-libs
Installed python-libs (cached)
41291 entries blitted in 0.34s (122.1k / s)
Sharing 1 upstream(s) with the build container:
Shared bpftool-libbpf-v7.7.0-sources.tar.gz
Changing boulder thread priority to SCHED_BATCH during build:
└─ priority set.
Continuing build:
x86_64
│Prepare
│P│ + set -o errexit
│P│ + set -o pipefail
│P│ + set -o nounset
│P│ + TERM=dumb
│P│ + export TERM
│P│ + SOURCE_DATE_EPOCH=1788215492
│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='-O2 -Werror=odr -Werror=strict-aliasing -Wp,-D_GLIBCXX_ASSERTIONS -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcf-protection -fexceptions -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 -mtls-dialect=gnu2 -pipe -Wformat -Wformat-security -Wno-error -fPIC'
│P│ + export CFLAGS
│P│ + CGO_CFLAGS='-O2 -Werror=odr -Werror=strict-aliasing -Wp,-D_GLIBCXX_ASSERTIONS -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcf-protection -fexceptions -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 -mtls-dialect=gnu2 -pipe -Wformat -Wformat-security -Wno-error -fPIC'
│P│ + export CGO_CFLAGS
│P│ + CXXFLAGS='-O2 -Werror=odr -Werror=strict-aliasing -Wp,-D_GLIBCXX_ASSERTIONS -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcf-protection -fexceptions -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 -mtls-dialect=gnu2 -pipe -Wformat -Wformat-security -Wno-error -fPIC'
│P│ + export CXXFLAGS
│P│ + CGO_CXXFLAGS='-O2 -Werror=odr -Werror=strict-aliasing -Wp,-D_GLIBCXX_ASSERTIONS -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcf-protection -fexceptions -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 -mtls-dialect=gnu2 -pipe -Wformat -Wformat-security -Wno-error -fPIC'
│P│ + export CGO_CXXFLAGS
│P│ + FFLAGS='-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=1 -C strip=none -C target-cpu=x86-64-v2'
│P│ + export RUSTFLAGS
│P│ + VALAFLAGS=-g
│P│ + export VALAFLAGS
│P│ + GOFLAGS='-buildmode=pie -ldflags=-linkmode=external -mod=readonly -modcacherw -trimpath'
│P│ + export GOFLAGS
│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│ + GOAMD64=v2
│P│ + export GOAMD64
│P│ + test -z v2
│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│ + ZIG_GLOBAL_CACHE_DIR=
│P│ + export ZIG_GLOBAL_CACHE_DIR
│P│ + test -z ''
│P│ + unset ZIG_GLOBAL_CACHE_DIR
│P│ + ZIG_LOCAL_CACHE_DIR=
│P│ + export ZIG_LOCAL_CACHE_DIR
│P│ + test -z ''
│P│ + unset ZIG_LOCAL_CACHE_DIR
│P│ + SCCACHE_DIR=/mason/sccache
│P│ + export SCCACHE_DIR
│P│ + test -z /mason/sccache
│P│ + LANG=en_US.UTF-8
│P│ + export LANG
│P│ + LC_ALL=en_US.UTF-8
│P│ + export LC_ALL
│P│ + test -d /mason/build/x86_64
│P│ + cd /mason/build/x86_64
│P│ + echo 'The work directory %(workdir) is /mason/build/x86_64'
│P│ + mkdir -p bpftool-libbpf-v7.7.0-sources.tar.gz
│P│ The work directory %(workdir) is /mason/build/x86_64
│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│ + set -o errexit
│B│ + set -o pipefail
│B│ + set -o nounset
│B│ + TERM=dumb
│B│ + export TERM
│B│ + SOURCE_DATE_EPOCH=1788215492
│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='-O2 -Werror=odr -Werror=strict-aliasing -Wp,-D_GLIBCXX_ASSERTIONS -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcf-protection -fexceptions -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 -mtls-dialect=gnu2 -pipe -Wformat -Wformat-security -Wno-error -fPIC'
│B│ + export CFLAGS
│B│ + CGO_CFLAGS='-O2 -Werror=odr -Werror=strict-aliasing -Wp,-D_GLIBCXX_ASSERTIONS -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcf-protection -fexceptions -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 -mtls-dialect=gnu2 -pipe -Wformat -Wformat-security -Wno-error -fPIC'
│B│ + export CGO_CFLAGS
│B│ + CXXFLAGS='-O2 -Werror=odr -Werror=strict-aliasing -Wp,-D_GLIBCXX_ASSERTIONS -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcf-protection -fexceptions -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 -mtls-dialect=gnu2 -pipe -Wformat -Wformat-security -Wno-error -fPIC'
│B│ + export CXXFLAGS
│B│ + CGO_CXXFLAGS='-O2 -Werror=odr -Werror=strict-aliasing -Wp,-D_GLIBCXX_ASSERTIONS -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcf-protection -fexceptions -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 -mtls-dialect=gnu2 -pipe -Wformat -Wformat-security -Wno-error -fPIC'
│B│ + export CGO_CXXFLAGS
│B│ + FFLAGS='-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=1 -C strip=none -C target-cpu=x86-64-v2'
│B│ + export RUSTFLAGS
│B│ + VALAFLAGS=-g
│B│ + export VALAFLAGS
│B│ + GOFLAGS='-buildmode=pie -ldflags=-linkmode=external -mod=readonly -modcacherw -trimpath'
│B│ + export GOFLAGS
│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│ + GOAMD64=v2
│B│ + export GOAMD64
│B│ + test -z v2
│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│ + ZIG_GLOBAL_CACHE_DIR=
│B│ + export ZIG_GLOBAL_CACHE_DIR
│B│ + test -z ''
│B│ + unset ZIG_GLOBAL_CACHE_DIR
│B│ + ZIG_LOCAL_CACHE_DIR=
│B│ + export ZIG_LOCAL_CACHE_DIR
│B│ + test -z ''
│B│ + unset ZIG_LOCAL_CACHE_DIR
│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 VERBOSE=1 -j 8 -C src prefix=/usr mandir=/usr/share/man HOSTCC=clang 'EXTRA_CFLAGS=-O2 -Werror=odr -Werror=strict-aliasing -Wp,-D_GLIBCXX_ASSERTIONS -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcf-protection -fexceptions -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 -mtls-dialect=gnu2 -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: [ [32mon[m ]
│B│ ... clang-bpf-co-re: [ [32mon[m ]
│B│ ... llvm: [ [32mon[m ]
│B│ ... libcap: [ [32mon[m ]
│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/libbpf/include/bpf
│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/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/libbpf/include/bpf/hashmap.h
│B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/include/bpf/relo_core.h
│B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/include/bpf/libbpf_internal.h
│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/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/relo_core.h
│B│ GEN bpftool-btf.8
│B│ INSTALL /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/include/bpf/libbpf_internal.h
│B│ GEN bpftool-cgroup.8
│B│ GEN bpftool-feature.8
│B│ make[1]: Entering directory '/mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/libbpf/src'
│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/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/libbpf/staticobjs/bpf.o
│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│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/bpf.o
│B│ bpf.c:227:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare]
│B│ 227 | for (i = 0; i < cnt; i++) {
│B│ | ~ ^ ~~~
│B│ GEN bpftool-map.8
│B│ bpf.c:227:16: warning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare]
│B│ 227 | for (i = 0; i < cnt; i++) {
│B│ | ~ ^ ~~~
│B│ GEN bpftool-net.8
│B│ GEN bpftool-perf.8
│B│ GEN bpftool-prog.8
│B│ GEN bpftool.8
│B│ GEN bpftool-struct_ops.8
│B│ GEN bpftool-token.8
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/btf.o
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/btf.o
│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│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/libbpf.o
│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│ 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: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│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/libbpf.o
│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: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│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/libbpf_utils.o
│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 < 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│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/netlink.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│ 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, ##__VAlibbpf.c_:A1485:R12G: S_warning: _format specifies type 'unsigned int' but the argument has type '__s32' (aka 'int'), which differs in signedness [-Wformat-signedness])
│B│
│B│ | ~~~ ^~~~~~~~~~~
│B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr'
│B│ 1484 | p170 | r _ldiebbbupgf(_"psrtirnutc(tl_eovpesl ,i n"ilti:b bspft:r u"c t fm%ts,( #t#y_p_eV_Ai_dA=R%GuS)_ _%)s; f\o
│B│ u | n ~~~ ^~~~~~~~~~~d
│B│ 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│ 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│ 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│ 1 warning generated.
│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│ 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 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│ 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│ 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│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/libbpf_utils.o
│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│ 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│ 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: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: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_utils.c:211:12: libbpf.cwarning: :comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare]
│B│ 992:16: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
│B│ 211 | f992 | o rf o(r; (ip <= A0R;R ApY _;n ri_+p+r)o
│B│ g | r ~ ^ ~~~~~~~~~~~~~a
│B│ ms; libbpf_utils.cp:+214:+17,: pwarning: rcomparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare]
│B│ og++ )214 | {
│B│ f| o ~ ^ ~~~~~~~~~~~~~~~~
│B│ r (ilibbpf.c: 994:=17 : 0;warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
│B│ i < A994R | R A Yf_oSrI Z(Ei( w=) ;0 ;i i+ =< 8p) r{o
│B│ g | - ~ ^ ~~~~~~~~~~~~~>
│B│ insns_cnt; i++, insn++)
│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│ 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: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 =libbpf.c= :k4447:e23r: n_warning: tformat specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness]y
│B│ pe_id)
│B│ | ~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
│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: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: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 =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 )o {b
│B│ j | - ~ ^ ~~~~~~~~~~~~>
│B│ 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.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│ btf.c./libbpf_internal.h::2227173::1952:: warning: note: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]expanded from macro 'pr_warn'
│B│
│B│ 173 | #d e2227fi | n e ipfr _(wiadr n<( f0m t|,| .i.d. )> _B_TpFr_(MLAIXB_BNPRF__TWYAPRENS,)
│B│ f m| ~~ ^ ~~~~~~~~~~~~~~~~t
│B│ , ##__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: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: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.c:1496:28./libbpf_internal.h:: 170:warning: 40:comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
│B│ note: expanded from macro '__pr'
│B│ 1496 | 170 | f olri b(bspfe_cp_riidnxt (= l0e;v esle,c _"ildixb b
femfti,l e#.#s_e_cV_Ac_nAtR;G S+_+_s)e;c _\i
│B│ d | x ~~~ ^~~~~~~~~~~)
│B│ {
│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: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: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: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: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 libbpf.c[:5470:%16:d ] warning: nformat specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness]o
│B│ t found .5469\ | n " ,p
│B│ r| _ ~~
│B│ d e| %ub
│B│ ug (2625" | m a p 'm%asp'_:n asmleo,t m[-%>dt]y psee)t;
│B│ t| o ^~~~~~~
│B│ map '%s'./libbpf_internal.h: 173f:52d: =%note: dexpanded from macro 'pr_warn'\
│B│ n",
│B│ | ~~173
│B│ | | # %ud
│B│ efi 5470n | e p r _mwaapr-n>(nfammte,, .i.,. )t a_r_gp_rm(aLpI-B>BnPaFm_eW,A RfNd,) ;f
│B│ m| t ^,
│B│ ##__./libbpf_internal.hV:A175:_54:A Rnote: GSexpanded from macro 'pr_debug'
│B│ __)
│B│ | 175 ~~~ ^~~~~~~~~~~ |
│B│ #de./libbpf_internal.hf:170i:40n:e note: pexpanded from macro '__pr'r
│B│ _de b170u | g (lfimbtb,p f._.p.r)i n_t_(plre(vLeIlB,B P"Fl_iDbEbBpUfG:, "f mftm,t ,# ##_#__V_AV_AA_RAGRSG_S__)_
│B│ ) ;| ~~~ ^~~~~~~~~~~
│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: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: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 typlibbpf.ce: 5499:[16%: d]warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness]
│B│ not foun 5498d | . \ n "p,r
│B│ _ | w ~~a
│B│ r n| ( %u
│B│ "m a2665p | ' % s 'm:a pf_anialmeed, tmo- >itnyiptei)a;l
│B│ i| z ^~~~~~~e
│B│ slot ./libbpf_internal.h[:173%:d52:] note: texpanded from macro 'pr_warn'o
│B│ prog 173' | %#sd'e ffidn=e% dp:r _%wsa\rnn"(,f
│B│ m t| , ~~
│B│ .| . %u.
│B│ ) _ 5499_ | pr(LIBBPF_WARN , f m tm,a p#-#>_n_aVmAe_,A RiG,S _t_a)r
│B│ g| _ ~~~ ^~~~~~~~~~~
│B│ pro./libbpf_internal.hg:-170:>40:n anote: mexpanded from macro '__pr'e
│B│ , fd ,170 | elrirbsbtprf(_eprrri)n)t;(
│B│ l| e ^
│B│ vel, "l./libbpf_internal.h:i173b:52b:p fnote: :expanded from macro 'pr_warn'
│B│ " f m173 | t#,d e#f#i_ne_ VpAr__AwaRrGnS(_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: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, libbpf.cf:d2719:)22;:
│B│ warning: | format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness] ^
│B│
│B│ ./libbpf_internal.h:175 :542718: | note: expanded from macro 'pr_debug'
│B│ pr_ w175 | a#rdne(f"imnaep p'r%_sd'e:b u%gs( ftmytp,e .[.%.d)] _n_optr (fLoIuBnBdP.F\_nD"E,B
│B│ U| G ~~
│B│ , | %uf
│B│ mt ,2719 | # # _ _mVaAp__AnaRmGeS,_ _de)s
│B│ c | , ~~~ ^~~~~~~~~~~
│B│ m->t./libbpf_internal.hy:170p:e40): ;
│B│ note: | expanded from macro '__pr' ^~~~~~~
│B│
│B│ ./libbpf_internal.h170: | 173: 52:l inote: bexpanded from macro 'pr_warn'b
│B│ pf_pr 173i | n#tde(flienvee lp,r_ w"alrinb(bfmptf,: .". .f)m t_,_ p#r#(_L_IVBAB_PAFR_GWSA_R_N),; f\m
│B│ t ,| ~~~ ^~~~~~~~~~~
│B│ ##__VA_ARGS__)
│B│ | ~~~ ^~~~~~~~~~~
│B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr'
│B│ 170 | libbpf_print(level, "liblibbpf.cb:p5488f:16:: "warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]f
│B│ mt, # 5488# | _ _fVoAr_ A(RiG S=_ _0);; i\
│B│ < | ~~~ ^~~~~~~~~~~m
│B│ ap->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│ 1 warning generated.
│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│ 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, btf.c#:3869#:16_: _Vwarning: Acomparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare]
│B│ _ARGS_ _3869 | ) ;f o\r
│B│ (| ~~~ ^~~~~~~~~~~
│B│ 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│ 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_pribtf.cn:t4130:(16l: evewarning: lcomparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare],
│B│ "libbpf: 4130" | ffmot,r #(#i_ _=V A_0A;R GiS _<_ )v;l e\n
│B│ ;| ~~~ ^~~~~~~~~~~
│B│ i++) {
│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: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: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│ 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 | libbpf.c : 6011:p26r: _dwarning: eformat specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness]b
│B│ ug("%s '%s '6010 | s i zper=_%wda rvnl(e"np=r%odg i'd%1s['%:u ] rieldo2 [#%%ud]: sthaarlgleotw libbpf.cc-ae:n3160dq:i16ud: aawarning: tlcomparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare]e
│B│ bsueta r c3160n | ho tff oairid le(enidt i=cf a1o;lr fi[o %ribntef ,p rt_1w-a>rnna(mfem_to,f f.).,.
│B│ ) _4582 | _ p r ( L I B BtP1F-_>WsAiRzNe,, fbmttf,_ v##__VA_ARGS__)
│B│ | ~~~ ^~~~~~~~~~~
│B│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr'
│B│ 170 | libbpf_plriennt((tl1e)v,e li,d 1",l iibdb2p,f :i ,"
│B│ | f ^~~~~~~~m
│B│ t, ##__VA./libbpf_internal.h:_175A:54R: GSnote: _expanded from macro 'pr_debug'
│B│ _); \
│B│ 175| | ~~~ ^~~~~~~~~~~#
│B│ 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: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.c:./libbpf_internal.h3306:175::2954:: warning: note: expanded from macro 'pr_debug'comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare]
│B│
│B│ 175 | #d e3306 | fi n ef oprr _(dseebgu_gn(ufmm t=, 0.;. .s)eg __n_upmr (btf, cand_type->name_off),
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/nlattr.o
│B│ 4832 | calibbpf.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│ nd_type->size, vlen, cand_id, canon_id, i,
│B│ | ^~~~~~~~~~~~~~~
│B│ ./libbpf_internal.h:175:54: note: expanded from macro 'pr_debug'
│B│ 175 | #define 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,p ri_,de bugr(ec) {
│B│ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│B│ ./libbpf_internal.h:459:9: note: expanded from macro 'for_each_btf_ext_rec'
│B│ fmt, 459. | . .) _ _ pr (iL IBGn,u mf_mint,f o;# #_ _ V A\_
│B│ A | R ~ ^ ~~~~~~~~~~~~~~~G
│B│ S__)
│B│ | ~~~ ^~~~~~~~~~~
│B│ libbpf.c:6101:./libbpf_internal.h17::170 :40warning: : comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
│B│ note: expanded from macro '__pr'
│B│ 6101 | 170 | liifb b(pifn_spnri_nitd(lxe v>e=l ,p r"ogli-b>ibnpsfn:s _"c nftmt),
│B│ | # ~~~~~~~~ ^ ~~~~~~~~~~~~~~~
│B│ #__VA_Alibbpf.cR:6137G:3S: __warning: )comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
│B│ ; \
│B│ | ~~~ ^~~~~~~~~~~
│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│ 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│ 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: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│ 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│ 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_data size is %zd, trying to access %d\n",
│B│ | ~~
│B│ | %u
│B│ 6290 | obj->jumptables_data_sz, btf.cs:5225:16:y mwarning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare]_
│B│ off +5225 | jfto_r s(iiz e=) ;0;
│B│ i| ^~~~~~~~~~~~~~~~~<
│B│ d->btf->n./libbpf_internal.hr:_173t:y52p: esnote: ;expanded from macro 'pr_warn'
│B│ i++) {
│B│ 173| | ~ ^ ~~~~~~~~~~~~~~~~
│B│ #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_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 | llibbpf.cib:6324b:p5f: _pwarning: rformat specifies type 'unsigned long long' but the argument has type 'long long', which differs in signedness [-Wformat-signedness]i
│B│ nt(level, 6323" | l ib b ppfr:_ w"a frmnt(, "#m#a_p_ V'A_.AjRuGmSp__); \
│B│ t| ~~~ ^~~~~~~~~~~a
│B│ bles': invalid jump table value 0btf.cx:%5353:l16:l xwarning: comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare]a
│B│ t of f5353s | e fto %r u(\in "=,
│B│ 0 ;| ~~~~i
│B│ <| %llxd
│B│ ->bt 6324f | - > nr _ t(ylpeosn;g i++ )l o{n
│B│ g| ) ~ ^ ~~~~~~~~~~~~~~~~
│B│ 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│ 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;libbpf.c :i6296 :<43 : d-warning: >bcomparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]t
│B│ f->nr_t y6296 | p eisf; (ir+elo->insn_idx < 0 || relo->insn_idx >= prog->insns_cnt) +{,
│B│ | i ~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~
│B│ d++)
│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│ 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: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│ 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│ 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,libbpf.c i:n4118:s17n: _iwarning: dcomparison of integers of different signs: 'const __u32' (aka 'const unsigned int') and 'int' [-Wsign-compare]x
│B│ , relo -4118> | t y p e)i;f
│B│ | ( ^~~~~~~~~~v
│B│ s->typ./libbpf_internal.he:173 :52=: =note: expanded from macro 'pr_warn'e
│B│ xt_b 173t | f#_diefdin)e
│B│ p| r ~~~~~~~~ ^ ~~~~~~~~~~_
│B│ 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: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,libbpf.c s:e6913:c16,: iwarning: ,comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
│B│ rec) {
│B│ 6913| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│B│ for ./libbpf_internal.h(:459i:9 : = note: 0; i < obj->nr_progexpanded from macro 'for_each_btf_ext_rec'r
│B│ ams; 459 | i + +) {
│B│ i| ~ ^ ~~~~~~~~~~~~~~~~
│B│ < (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: libbpf.cnote: :expanded from macro 'for_each_btf_ext_rec'6935
│B│ :16: 459warning: | comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
│B│ 6935i | n0u;m _i < obj->nr_progrianmfso;; i + + ) \{
│B│
│B│ | | ~ ^ ~~~~~~~~~~~~~~~ ~ ^ ~~~~~~~~~~~~~~~~
│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│ 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, "libbplibbpf.cf::4447 :"23: fmwarning: tformat specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness],
│B│ ##__VA_ARGS _4446 | _ ) ; p\r
│B│ _ | d ~~~ ^~~~~~~~~~~e
│B│ bug("extern (btf.ck:5792c:14f:g )warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness]#
│B│ %d: sy 5791 | mprb_owla %rdn,( "oufnfe x%pue,c tneadm ek i%nsd\ nw"h,e
│B│ n | a ~~
│B│ dd | i %dn
│B│ g bas e4447 | t y p e ' %is',[ %eu]x to-f> ksiynmd_ [i%dux] ,t oe dxits-t>iklclfegd. dbaatsae_ oBfTfF,. \enx"t,-
│B│ > | n ~~a
│B│ m e| ) %d
│B│ ;
│B│ | 5792 | ^~~~~~~~~~~~~~~~~~
│B│ name,./libbpf_internal.h :175i:,54: knote: iexpanded from macro 'pr_debug'n
│B│ d);
│B│ | 175 ^~~~ |
│B│ #def./libbpf_internal.hi:173n:52e: pnote: rexpanded from macro 'pr_warn'
│B│ _debu g173 | (#fdmetf,i n.e. .p)r __w_aprrn((LfImBtB,P F._.D.E)B U_G_,p rf(mLtI,B B#P#F___WVAAR_NA,R GfSm_t_,)
│B│ # | # ~~~ ^~~~~~~~~~~_
│B│ _VA./libbpf_internal.h_:A170:R40G: S_note: _expanded from macro '__pr'
│B│ )
│B│ | ~~~ ^~~~~~~~~~~
│B│ 170 | ./libbpf_internal.hl:i170b:40b: pfnote: _expanded from macro '__pr'
│B│ prin t170( | l leivbeblp,f _"plriibnbtp(fl:e v"e lf,m t",li b#b#p_f_:V A"_ AfRmGtS,_ _#)#;_ _\V
│B│ A| _ ~~~ ^~~~~~~~~~~A
│B│ RGS__); \
│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│ 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 libbpf.c<: 4471:p23:r owarning: gcomparison of integers of different signs: 'const size_t' (aka 'const unsigned long') and 'const int' [-Wsign-compare]-
│B│ >fun c4471 | _ irneftuor_nc nprto;g -r>seecc__iiddxx +=+= )o b{j
│B│ - >| e ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~f
│B│ ile.texlibbpf.ct:7300_:s26:h nwarning: dxcomparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare]
│B│ ;
│B│ | ~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
│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│ 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│ 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: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: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_ARGSlibbpf.c__:)7531:
│B│ 38 :| ~~~ ^~~~~~~~~~~
│B│ 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│ ./libbpf_internal.h:170:40: note: expanded from macro '__pr'
│B│ 170 | 7530 | l i bpbrp_fd_epbruign(t"(.lmeavpesl ,r e"lloi b#b%pdf:: for %zd value %zd rel->r_offset %zu name %d ('%s')\n",
│B│ | ~~~
│B│ | %zu
│B│ "7531 | f m ti,, #(#ss_i_ze_t)(rVeAl_-A>RrG_Si_n_)f;o >> 32\)
│B│ , | ( ~~~ ^~~~~~~~~~~s
│B│ ize_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 | btf.c :p5978:r13:_ dwarning: ecomparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare]b
│B│ ug(" .5978 | m aipfs ( nreew_liod #<% dp:- >fbtofr- >%sztda rvta_liude)
│B│ % z| d ~~~~~~ ^ ~~~~~~~~~~~~~~~~
│B│ 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_printlibbpf.c(:l4702e:18v:e lwarning: ,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│ "libbpf: 4701" | f m tp,r _#d#e_b_uVgA_(A"RpGrSo_g_ )';%s '\:
│B│ | f ~~~ ^~~~~~~~~~~
│B│ ound 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: " fmbtf.ct:,6031 :25#:# _warning: _comparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare]V
│B│ A_ARG S6031 | _ _f)o; r\
│B│ ( | i ~~~ ^~~~~~~~~~~
│B│ = 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│ 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-libbpf.c>n:7622a:m19:e , warning: mformat specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness]a
│B│ p->sec_idx ,7621 |
│B│ | ^~~~~~~
│B│ pr_debug(".maps relo #%d: ./libbpf_internal.h:m175a:54p: 'note: %expanded from macro 'pr_debug's
│B│ ' slo 175t | #[d%edf]i npeo ipnrt_sd etbou g%(sf m't%,s '.\.n."),
│B│ _| _ ~~p
│B│ r | ( %uL
│B│ IBB 7622P | F _ D E BiU,G map->name, mof,f ,f mtt,y p#e#,_ _nVaAm_eA)R;G
│B│ S | _ ^~~~_
│B│ )
│B│ | ~~~ ^~~~~~~~~~~
│B│ ./libbpf_internal.h:./libbpf_internal.h170::40175:: 54:note: expanded from macro '__pr'
│B│ note: expanded from macro 'pr_debug'
│B│ 170 | lib bp175 | f_#prdienfti(nleev eplr,_ d"ebug(fmt, ...) __pr(LIBBPF_DEBUG, fmt, ##_l_iVbAb_pAfR:G S__)
│B│ | ~~~ ^~~~~~~~~~~
│B│ " ./libbpf_internal.hf:170m:t40:, note: ##expanded from macro '__pr'
│B│ __VA_ A170R | G Sl_i_b)b;p f\_
│B│ p r| i ~~~ ^~~~~~~~~~~
│B│ nt(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.textlibbpf.c_:s7534h:n17:d xwarning: )comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
│B│ {
│B│ | ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
│B│ 7534 | forlibbpf.c: 4660(:15j: =warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare]0
│B│ ; j <4660 | oibfj -(>snhrd_rm_aipdsx; =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 )o b{j
│B│ -| > ~ ^ ~~~~~~~~~~~~e
│B│ file.libbpf.ca:r7609:e12n: a_warning: dcomparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
│B│ ata_ s7609h | n d xi)f {(
│B│ m | o ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~f
│B│ f >= libbpf.cm:a4679:p->ini15t:_ swarning: locomparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare]t
│B│ s_sz) {4679
│B│ | ~~~~ ^ ~~~~~~~~~~~~~~~~~~
│B│ | if (shdr_idx == obj->efile.jumptables_data_shndx) {
│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 (netlink.c:s159:11:h dwarning: rcomparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]-
│B│ >sh_ty p159 | e !i=f (SlHeTn _>R EiLov .|i|o vi_dlexn )< {
│B│ 0 | | ~~~ ^ ~~~~~~~~~~~
│B│ | idxnetlink.c :>174:=46 : obwarning: jcomparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare]-
│B│ >efile. s174e | c _c nfto)r {(
│B│ n| h ~~~ ^ ~~~~~~~~~~~~~~~~~~
│B│ = (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: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: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: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│ 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│ 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: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:8783:17: warning: format specifies type 'unsigned long long' but the argument has type 'long long', which differs in signedness [-Wformat-signedness]
│B│ libbpf.c:5470:16: warning: format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness]8782
│B│ | pr 5469_ | d e bpurg_(d"eebxutge(r"nm a(pk c'f%gs)' :' %ss'l:o ts e[t% dt]o s0ext% ltlox \mna"p,
│B│ ' | % ~~~~s
│B│ ' | f %llx
│B│ d=% d8783 | \ n " ,
│B│ | e ~~x
│B│ t | -> %u
│B│ name 5470, | ( l on gm alpo-n>gn)vaamleu,e );i
│B│ , | ^~~~~~~~~~~~~~~~t
│B│ arg_m./libbpf_internal.ha:175p:54-: >nnote: expanded from macro 'pr_debug'a
│B│ me, 175f | d#)de;f
│B│ i | ne ^
│B│ pr_deb./libbpf_internal.hu:g175:(54:f mnote: texpanded from macro 'pr_debug',
│B│ ... )175 | _#_dperf(iLnIeB BpPrF__dDeEbBuUgG(,f mftm,t ,. .#.#)_ __V_Ap_rA(RLGISB_B_P)F
│B│ _ | D ~~~ ^~~~~~~~~~~E
│B│ BUG./libbpf_internal.h,:170 :f40:m tnote: ,expanded from macro '__pr'
│B│ ##__ 170V | A _lAiRbGbSp_f__)p
│B│ r | i ~~~ ^~~~~~~~~~~n
│B│ t(l./libbpf_internal.he:170v:e40:l ,note: expanded from macro '__pr'"
│B│ libb 170p | f :l i"b bfpmft_,p r#i#n_t_(VlAe_vAeRlG,S _"_l)i;b b\p
│B│ f| : ~~~ ^~~~~~~~~~~
│B│ " 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_warnlibbpf.c(":8859m:a16:p 'warning: %comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]s
│B│ ': fai l8859 | ed ftoor (iin i=t i0a;l iiz e< solbojt- >[n%rd_]m atpos ;p rio+g+ )' %{s
│B│ ' | ~ ^ ~~~~~~~~~~~~f
│B│ d=%d: %s\n",
│B│ | ~~
│B│ | %u
│B│ 5499 | map->name, i, targ_prog->name, fdlibbpf.c,:8879 :e16:r rwarning: stcomparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
│B│ r(er r8879) | ) ;f
│B│ o r| ^
│B│ (i = 0;./libbpf_internal.h: 173i:52 :< note: oexpanded from macro 'pr_warn'b
│B│ j->n r173_ | m#adpesf;i nie+ +p)r
│B│ _ | w ~ ^ ~~~~~~~~~~~~a
│B│ rn(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: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_molibbpf.cd:5503u:16l: ewarning: _format specifies type 'int' but the argument has type 'unsigned int', which differs in signedness [-Wformat-signedness]c
│B│ nt; i5502+ | + ) p{r
│B│ _ d| e ~ ^ ~~~~~~~~~~~~~~~~~~~
│B│ bug("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 | netlink.c f:o729r: 10:( i warning: = comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare]0
│B│ ; i < o729b | j ->infr _(mlaepns ;> =i +s+i)z e{o
│B│ f | ( ~ ^ ~~~~~~~~~~~~n
│B│ ame))
│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: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: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: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: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: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_data size is %zd, trying to access %d\n",
│B│ | ~~
│B│ | %u
│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: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,libbpf.c f:m9999:t16,: #warning: #comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]_
│B│ _VA_ARG S9999_ | _ )f
│B│ o r| ~~~ ^~~~~~~~~~~
│B│ (i =./libbpf_internal.h :0170:;40 : i note: 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: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_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: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_libbpf.cin:f10242:o22_: cnwarning: tformat specifies type 'int' but the argument has type 'Elf64_Word' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness];
│B│ i++) {
│B│ | ~ ^ ~~~~~~~~~~~~~~~~~~~
│B│ 10237 | libbpf.c: 7299p:29r: _dwarning: ecomparison of integers of different signs: 'int' and '__u32' (aka 'unsigned int') [-Wsign-compare]b
│B│ ug(" s7299t | r u cfto_ro p(sr erce_liodcx %=s :0 ;fo rr e%cl_lidd xv alue %lld shdr_idx %u rel->r_offset %zu map->sec_offset %zu name< %pdr o(g\-'>%fsu\n'c)_\inn"f,o
│B│ _ | c ~~n
│B│ t ;| %u
│B│ re c10238 | _ i dx++ ) m{a
│B│ p| - ~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~>
│B│ name,libbpf.c
│B│ :7300: 2610239: | warning: comparison of integers of different signs: 'int' and 'const __u32' (aka 'const unsigned int') [-Wsign-compare]
│B│ (lo n7300 | g l oinfg )((rel-o>rirg__iindfs[or e>c>_ i3d2x]) ,=
│B│ = t -10240> | ty p e ) ({
│B│ l | o ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~n
│B│ g lonlibbpf.cg:)7322:s25:y mwarning: ->comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare]
│B│ st_va 7322l | u e ,i
│B│ f (10241 | f u n c _srhedcr-_>itdyxp,e _(isdi z=e=_ to)rriegl_-f>nr__iodf)f s{e
│B│ t | , ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
│B│
│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: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 valuelibbpf.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 _%tzydp er_enla-m>er)_)o
│B│ f f| s ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~
│B│ et %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__)libbpf_utils.c
│B│ :| 211 ~~~ ^~~~~~~~~~~:
│B│ 12: ./libbpf_internal.h:170warning: :40comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare]:
│B│ note: expanded from macro '__pr'
│B│ 170 | libbpf.c 211l | :i10387 :b 4b:f pofrwarning: _ format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness]p(
│B│ r;i nit ()n;a
│B│ m | e ~~ ^~~~~~~~~~~,
│B│ m| o %u
│B│ ff, type./libbpf_internal.h,: 173n:a52:m e)note: ;expanded from macro 'pr_warn'
│B│
│B│ | ^~~~
│B│ 173 | #./libbpf_internal.hd:175e:54f:i nnote: eexpanded from macro 'pr_debug'
│B│ pr_wa 175r | n#(dfemfti,n e. .p.r)_ d_e_bpurg((LfImtB,BP F._.W.A)R N_,_ fpmrt(,L #I#B_B_PVAF__ADREGSB_U_G),
│B│ | f ~~~ ^~~~~~~~~~~
│B│ mt, ./libbpf_internal.h#:170#:_40:_ Vnote: Aexpanded from macro '__pr'_
│B│ ARGS 170_ | _ )l
│B│ i | b ~~~ ^~~~~~~~~~~b
│B│ pf_./libbpf_internal.hp:r170:i40n: t(note: lexpanded from macro '__pr'
│B│ evel ,170 | " lliibbbbppff:_ p"r ifnmtt(,l e#v#e_l_,V A"_lAiRbGbSp_f_:) ;" f\m
│B│ t| , ~~~ ^~~~~~~~~~~
│B│ ##__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: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: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 || idlibbpf.cx: <10482: 170: |warning: | format specifies type 'int' but the argument has type '__u32' (aka 'unsigned int'), which differs in signedness [-Wformat-signedness]i
│B│ dx >= obj 10481- | > e f iplre_.wsaercn_(c"nptr)o g{
│B│ ' | % ~~~ ^ ~~~~~~~~~~~~~~~~~~s
│B│ ': 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,libbpf.c: 7686f:16m: t,warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
│B│ ##__V A7686 | _ AfRoGrS _(_i) =
│B│ | 0 ~~~ ^~~~~~~~~~~;
│B│ i <./libbpf_internal.h: 170p:40r:o gnote: -expanded from macro '__pr'>
│B│ insns _170 | cnt; i++, insn++) {
│B│ | ~ ^ ~~~~~~~~~~~~~~~
│B│ libbpf_print(level, "libbpf: " fmt, ##__VA_ARGS__); \
│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: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: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: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: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: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: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: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: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: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 (ilibbpf.cdx: 12385>:=60: obwarning: j-format specifies type 'unsigned long' but the argument has type 'long', which differs in signedness [-Wformat-signedness]>
│B│ nr_programs || i d12384x | < 0p)r
│B│ _| d ~~~ ^ ~~~~~~~~~~~~~~~~
│B│ ebug("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│ 5 warnings generated.
│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: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│ 10090libbpf.c | : 12906:f10o: r warning: (comparison of integers of different signs: 'int' and '__size_t' (aka 'unsigned long') [-Wsign-compare]i
│B│ = 0; i12906 | < iAfR R(ArYe_tS I>Z=E (ssiezcetoifo(nf_idleef)s)) ;{
│B│ i | ++ ~~~ ^ ~~~~~~~~~~~~
│B│ ) {
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/libbpf_probes.o
│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: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: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: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: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│ 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: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│ 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: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│ 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:12385:60: 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│ | ^~~
│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│ 2 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│ 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│ 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│ 5 warnings generated.
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/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/btf_dump.o
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/hashmap.o
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/ringbuf.o
│B│ netlink.c:159:11: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
│B│ 159 | if (len > iov.iov_len) {
│B│ | ~~~ ^ ~~~~~~~~~~~
│B│ netlink.c:174:46: warning: comparison of integers of different signs: '__u32' (aka 'unsigned int') and 'int' [-Wsign-compare]
│B│ 174 | for (nh = (struct nlmsghdr *)iov.iov_base; NLMSG_OK(nh, len);
│B│ | ^~~~~~~~~~~~~~~~~
│B│ ../include/uapi/linux/netlink.h: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│ 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│ 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│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/strset.o
│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│ 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│ 5 warnings generated.
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/nlattr.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/libbpf_probes.o
│B│ nlattr.c:65:26: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
│B│ 65 | if (libbpf_nla_len(nla) < minlen)
│B│ | ~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~
│B│ nlattr.c:126:47: warning: format specifies type 'unsigned int' but the argument has type 'int', which differs in signedness [-Wformat-signedness]
│B│ 125 | pr_warn("Attribute of type %#x found multiple times in message, "
│B│ | ~~~
│B│ | %#x
│B│ 126 | "previous attribute is being ignored.\n", type);
│B│ | ^~~~
│B│ ./libbpf_internal.h: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│ 2 warnings generated.
│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│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/bpf_prog_linfo.o
│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│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/btf_dump.o
│B│ 8 warnings generated.
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/gen_loader.o
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/hashmap.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│ 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│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/ringbuf.o
│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/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│ 1 warning generated.
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/linker.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│ 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│ 12 warnings generated.
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/relo_core.o
│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│ 8 warnings generated.
│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│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/relo_core.o
│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│ 43 warnings generated.
│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│ 27 warnings generated.
│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│ 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: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│ 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│ 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│ 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│ 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│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/elf.o
│B│ 28 warnings generated.
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/features.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│ 28 warnings generated.
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/libbpf/staticobjs/usdt.o
│B│ 36 warnings generated.
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/btf_iter.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 6'% warningss' generated:.
│B│ 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│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/libbpf/staticobjs/btf_relocate.o
│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/libbpf/staticobjs/zip.o
│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/elf.o
│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│ 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/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│ 36 warnings generated.
│B│ 6 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/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 /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/btf.o
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/sign.o
│B│ CC /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/gen.o
│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 common.o
│B│ CC feature.o
│B│ CC gen.o
│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│ LINK /mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src/bootstrap/bpftool
│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│ GEN vmlinux.h
│B│ skipping /sys/kernel/btf/vmlinux (will be loaded as base)
│B│ CLANG pid_iter.bpf.o
│B│ CLANG profiler.bpf.o
│B│ GEN profiler.skel.h
│B│ CC prog.o
│B│ GEN pid_iter.skel.h
│B│ CC pids.o
│B│ LINK bpftool
│B│ make: Leaving directory '/mason/build/x86_64/bpftool-libbpf-v7.7.0-sources.tar.gz/src'
│
│Install
│I│ + set -o errexit
│I│ + set -o pipefail
│I│ + set -o nounset
│I│ + TERM=dumb
│I│ + export TERM
│I│ + SOURCE_DATE_EPOCH=1788215492
│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='-O2 -Werror=odr -Werror=strict-aliasing -Wp,-D_GLIBCXX_ASSERTIONS -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcf-protection -fexceptions -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 -mtls-dialect=gnu2 -pipe -Wformat -Wformat-security -Wno-error -fPIC'
│I│ + export CFLAGS
│I│ + CGO_CFLAGS='-O2 -Werror=odr -Werror=strict-aliasing -Wp,-D_GLIBCXX_ASSERTIONS -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcf-protection -fexceptions -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 -mtls-dialect=gnu2 -pipe -Wformat -Wformat-security -Wno-error -fPIC'
│I│ + export CGO_CFLAGS
│I│ + CXXFLAGS='-O2 -Werror=odr -Werror=strict-aliasing -Wp,-D_GLIBCXX_ASSERTIONS -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcf-protection -fexceptions -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 -mtls-dialect=gnu2 -pipe -Wformat -Wformat-security -Wno-error -fPIC'
│I│ + export CXXFLAGS
│I│ + CGO_CXXFLAGS='-O2 -Werror=odr -Werror=strict-aliasing -Wp,-D_GLIBCXX_ASSERTIONS -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcf-protection -fexceptions -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 -mtls-dialect=gnu2 -pipe -Wformat -Wformat-security -Wno-error -fPIC'
│I│ + export CGO_CXXFLAGS
│I│ + FFLAGS='-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=1 -C strip=none -C target-cpu=x86-64-v2'
│I│ + export RUSTFLAGS
│I│ + VALAFLAGS=-g
│I│ + export VALAFLAGS
│I│ + GOFLAGS='-buildmode=pie -ldflags=-linkmode=external -mod=readonly -modcacherw -trimpath'
│I│ + export GOFLAGS
│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│ + GOAMD64=v2
│I│ + export GOAMD64
│I│ + test -z v2
│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│ + ZIG_GLOBAL_CACHE_DIR=
│I│ + export ZIG_GLOBAL_CACHE_DIR
│I│ + test -z ''
│I│ + unset ZIG_GLOBAL_CACHE_DIR
│I│ + ZIG_LOCAL_CACHE_DIR=
│I│ + export ZIG_LOCAL_CACHE_DIR
│I│ + test -z ''
│I│ + unset ZIG_LOCAL_CACHE_DIR
│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│ The work directory %(workdir) is /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│ + make VERBOSE=1 -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: [ [32mon[m ]
│I│ ... clang-bpf-co-re: [ [32mon[m ]
│I│ ... llvm: [ [32mon[m ]
│I│ ... libcap: [ [32mon[m ]
│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/01/243aec03ced184d26ab8d9d8b58e5d3d528aa6.debug
Verifying
Verified "b/bpftool/manifest.x86_64.bin" matches built manifest based on hash match: "c40245dd6b86d15065aca642d687b0406955dd2c51aefd9016d1b864a490e76e"
Packaging
Emitted bpftool-dbginfo-7.7.0-8-1-x86_64.stone
Emitted bpftool-7.7.0-8-1-x86_64.stone
Phase Elapsed %
│Initialize 1.16s 6.5%
│Populate (moss)
││Resolve 0.71s 4.0%
││Fetch 3.99s 22.4%
││Blit 3.02s 17.0%
│Fetch 0.36s 2.0%
│x86_64
││Prepare 0.04s 0.2%
││Build 7.76s 43.6%
││Install 0.52s 2.9%
│Analyze 0.06s 0.3%
│Emit 0.19s 1.1%
──────────────────────────────────────
Total 17.81s 100.0%
Build finished successfully at 2026-09-01T01:36:09+02:00