DEBUG: Executing shell function do_compile
NOTE: make -j 10 -l 64 V=1 -C TMPDIR/work-shared/qemuriscv64/kernel-source/tools/bpf/bpftool O=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0 CROSS=riscv64-yoe-linux- CC=riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe HOSTCC=gcc  -isystemTMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native/usr/include -O2 -pipe LD=riscv64-yoe-linux-ld --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  AR=riscv64-yoe-linux-gcc-ar ARCH=riscv bash_compdir=/usr/share/bash-completion
make: Entering directory 'TMPDIR/work-shared/qemuriscv64/kernel-source/tools/bpf/bpftool'

Auto-detecting system features:
...                         clang-bpf-co-re: [ OFF ]
...                                    llvm: [ OFF ]
...                                  libcap: [ on  ]
...                                  libbfd: [ on  ]

mkdir -p TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/
mkdir -p TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/include/bpf
make -C TMPDIR/work-shared/qemuriscv64/kernel-source/tools/lib/bpf OUTPUT=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ \
	DESTDIR=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf prefix= TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/libbpf.a install_headers
install -m 644 -t TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/include/bpf TMPDIR/work-shared/qemuriscv64/kernel-source/tools/lib/bpf/hashmap.h
make[1]: Entering directory 'TMPDIR/work-shared/qemuriscv64/kernel-source/tools/lib/bpf'
install -m 644 -t TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/include/bpf TMPDIR/work-shared/qemuriscv64/kernel-source/tools/lib/bpf/nlattr.h
install -m 644 -t TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/include/bpf TMPDIR/work-shared/qemuriscv64/kernel-source/tools/lib/bpf/relo_core.h
install -m 644 -t TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/include/bpf TMPDIR/work-shared/qemuriscv64/kernel-source/tools/lib/bpf/libbpf_internal.h
TMPDIR/work-shared/qemuriscv64/kernel-source/scripts/bpf_doc.py --header \
	--file TMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi/linux/bpf.h > TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/bpf_helper_defs.h
mkdir -p TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/
\
		if [ ! -d ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf' ]; then install -d -m 755 ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'; fi; install -m 644 bpf.h ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'
\
		if [ ! -d ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf' ]; then install -d -m 755 ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'; fi; install -m 644 libbpf.h ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'
\
		if [ ! -d ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf' ]; then install -d -m 755 ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'; fi; install -m 644 btf.h ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'
\
		if [ ! -d ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf' ]; then install -d -m 755 ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'; fi; install -m 644 libbpf_common.h ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'
\
		if [ ! -d ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf' ]; then install -d -m 755 ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'; fi; install -m 644 libbpf_legacy.h ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'
\
		if [ ! -d ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf' ]; then install -d -m 755 ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'; fi; install -m 644 bpf_helpers.h ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'
\
		if [ ! -d ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf' ]; then install -d -m 755 ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'; fi; install -m 644 bpf_tracing.h ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'
\
		if [ ! -d ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf' ]; then install -d -m 755 ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'; fi; install -m 644 bpf_endian.h ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'
\
		if [ ! -d ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf' ]; then install -d -m 755 ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'; fi; install -m 644 bpf_core_read.h ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'
\
		if [ ! -d ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf' ]; then install -d -m 755 ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'; fi; install -m 644 skel_internal.h ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'
\
		if [ ! -d ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf' ]; then install -d -m 755 ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'; fi; install -m 644 libbpf_version.h ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'
\
		if [ ! -d ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf' ]; then install -d -m 755 ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'; fi; install -m 644 usdt.bpf.h ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'
make -C TMPDIR/work-shared/qemuriscv64/kernel-source/tools/build CFLAGS= LDFLAGS= OUTPUT=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/ TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/fixdep
\
		if [ ! -d ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf' ]; then install -d -m 755 ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'; fi; install -m 644 TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/bpf_helper_defs.h ''TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf'/include/bpf'
gcc  -isystemTMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native/usr/include -O2 -pipe   -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/fixdep TMPDIR/work-shared/qemuriscv64/kernel-source/tools/build/fixdep.c
make -f TMPDIR/work-shared/qemuriscv64/kernel-source/tools/build/Makefile.build dir=. obj=libbpf OUTPUT=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.libbpf.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/libbpf.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/libbpf.o libbpf.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.bpf.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/bpf.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/bpf.o bpf.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.nlattr.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/nlattr.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/nlattr.o nlattr.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.libbpf_errno.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/libbpf_errno.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/libbpf_errno.o libbpf_errno.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.str_error.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/str_error.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/str_error.o str_error.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.btf.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/btf.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/btf.o btf.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.netlink.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/netlink.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/netlink.o netlink.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.bpf_prog_linfo.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/bpf_prog_linfo.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/bpf_prog_linfo.o bpf_prog_linfo.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.hashmap.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/hashmap.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/hashmap.o hashmap.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.libbpf_probes.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/libbpf_probes.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/libbpf_probes.o libbpf_probes.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.btf_dump.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/btf_dump.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/btf_dump.o btf_dump.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.ringbuf.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/ringbuf.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/ringbuf.o ringbuf.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.strset.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/strset.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/strset.o strset.c
libbpf.c: In function 'kallsyms_cb':
libbpf.c:8205:13: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
 8205 |         res = strstr(sym_name, ".llvm.");
      |             ^
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.linker.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/linker.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/linker.o linker.c
libbpf.c: In function 'avail_kallsyms_cb':
libbpf.c:11513:31: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
11513 |                 if (!(sym_sfx = strstr(sym_name, ".llvm.")))
      |                               ^
libbpf.c: In function 'resolve_full_path':
libbpf.c:12101:35: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
12101 |                         next_path = strchr(s, ':');
      |                                   ^
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.gen_loader.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/gen_loader.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/gen_loader.o gen_loader.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.relo_core.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/relo_core.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/relo_core.o relo_core.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.usdt.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/usdt.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/usdt.o usdt.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.zip.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/zip.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/zip.o zip.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.elf.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/elf.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/elf.o elf.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.features.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/features.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/features.o features.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.btf_iter.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/btf_iter.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/btf_iter.o btf_iter.c
  riscv64-yoe-linux-gcc -march=rv64imafdc_zicsr_zifencei -mabi=lp64d  --sysroot=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/kernel  -O2 -g  -ffile-prefix-map=TMPDIR/work-shared/qemuriscv64/kernel-source=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0=/usr/src/debug/bpftool/1.0  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot=  -ffile-prefix-map=TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/recipe-sysroot-native=  -pipe -Wp,-MD,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/.btf_relocate.o.d -Wp,-MT,TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/btf_relocate.o -g -O2 -std=gnu89 -Wbad-function-cast -Wdeclaration-after-statement -Wformat-security -Wformat-y2k -Winit-self -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wno-system-headers -Wold-style-definition -Wpacked -Wredundant-decls -Wstrict-prototypes -Wswitch-default -Wswitch-enum -Wundef -Wwrite-strings -Wformat -Wno-type-limits -Wstrict-aliasing=3 -Wshadow -Wno-switch-enum -Werror -Wall -ITMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/ -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/include/uapi -ITMPDIR/work-shared/qemuriscv64/kernel-source/tools/arch/riscv/include -fvisibility=hidden -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D"BUILD_STR(s)=#s" -c -o TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/btf_relocate.o btf_relocate.c
cc1: all warnings being treated as errors
make[1]: Leaving directory 'TMPDIR/work-shared/qemuriscv64/kernel-source/tools/lib/bpf'
make[2]: *** [TMPDIR/work-shared/qemuriscv64/kernel-source/tools/build/Makefile.build:85: TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/libbpf.o] Error 1
make[1]: *** [Makefile:152: TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/staticobjs/libbpf-in.o] Error 2
make: *** [Makefile:40: TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/bpftool-1.0/libbpf/libbpf.a] Error 2
make: Leaving directory 'TMPDIR/work-shared/qemuriscv64/kernel-source/tools/bpf/bpftool'
ERROR: oe_runmake failed
WARNING: TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/temp/run.do_compile.2496275:171 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script): 
	#1: bbfatal_log, TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/temp/run.do_compile.2496275, line 171
	#2: die, TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/temp/run.do_compile.2496275, line 155
	#3: oe_runmake, TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/temp/run.do_compile.2496275, line 150
	#4: do_compile, TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/temp/run.do_compile.2496275, line 145
	#5: main, TMPDIR/work/qemuriscv64-yoe-linux/bpftool/1.0/temp/run.do_compile.2496275, line 184

Error details

Submitted on:
21/11/25 23:01
Error type:
Recipe
Task:
do_compile
Recipe:
bpftool
Recipe version:
1.0-r0
Machine:
qemuriscv64
Distro:
yoe
Build system:
x86_64-linux
Target system:
riscv64-yoe-linux
Host distro:
ubuntu-22.04/ubuntu-22.04
Branch:
HEAD
Commit:
e0f652f17d79222ea853e0bce7f428aa1e69c2ce
Build:
#221052
Submitter:
ab@rdk
Similar errors:
0
Open a bug