t-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' ARCH=riscv64 USE_BPF=1 FCF_PROTECTION=-fcf-protection TMOPTS=-mtune=generic make -C tests VERSION=1.19.1 CFLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DVERSION=\"1.19.1\"" LDFLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " make[1]: Entering directory '/builddir/build/BUILD/stalld-1.19.1/tests' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DVERSION="1.19.1" -o test01 test01.c -lpthread make[1]: Leaving directory '/builddir/build/BUILD/stalld-1.19.1/tests' bpftool btf dump file /sys/kernel/btf/vmlinux format c > bpf/vmlinux.h In file included from bpf/stalld.bpf.c:8: In file included from /usr/include/string.h:26: In file included from /usr/include/bits/libc-header-start.h:33: In file included from /usr/include/features.h:394: In file included from /usr/include/features-time64.h:20: /usr/include/bits/wordsize.h:22:3: error: unsupported ABI 22 | # error unsupported ABI | ^ In file included from bpf/stalld.bpf.c:8: In file included from /usr/include/string.h:26: In file included from /usr/include/bits/libc-header-start.h:33: In file included from /usr/include/features.h:503: In file included from /usr/include/sys/cdefs.h:576: /usr/include/bits/wordsize.h:22:3: error: unsupported ABI 22 | # error unsupported ABI | ^ In file included from bpf/stalld.bpf.c:8: In file included from /usr/include/string.h:26: In file included from /usr/include/bits/libc-header-start.h:33: In file included from /usr/include/features.h:527: In file included from /usr/include/gnu/stubs.h:5: /usr/include/bits/wordsize.h:22:3: error: unsupported ABI 22 | # error unsupported ABI | ^ 3 errors generated. make: *** [Makefile:128: bpf/stalld.bpf.o] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Bbh8Iz (%build) Bad exit status from /var/tmp/rpm-tmp.Bbh8Iz (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/stalld.spec