ynchronous-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 -module -o annobin.la -rpath /usr/lib/gcc/riscv64-redhat-linux/14/plugin annobin.lo annobin-common.lo riscv.annobin.lo libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/14/crti.o /usr/lib/gcc/riscv64-redhat-linux/14/crtbeginS.o .libs/annobin.o .libs/annobin-common.o .libs/riscv.annobin.o -L/usr/lib/gcc/riscv64-redhat-linux/14 -L/lib64/lp64d/../lib64/lp64d -L/usr/lib64/lp64d/../lib64/lp64d -L/lib/../lib64/lp64d -L/usr/lib/../lib64/lp64d -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/14/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/14/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -O2 -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -O2 -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-soname -Wl,annobin.so.0 -o .libs/annobin.so.0.0.0 libtool: link: (cd ".libs" && rm -f "annobin.so.0" && ln -s "annobin.so.0.0.0" "annobin.so.0") libtool: link: (cd ".libs" && rm -f "annobin.so" && ln -s "annobin.so.0.0.0" "annobin.so") libtool: link: ( cd ".libs" && rm -f "annobin.la" && ln -s "../annobin.la" "annobin.la" ) make[2]: Leaving directory '/builddir/build/BUILD/annobin-12.49/gcc-plugin' Making all in clang-plugin make[1]: Entering directory '/builddir/build/BUILD/annobin-12.49/clang-plugin' clang++ -flto `llvm-config --cxxflags` -D_GLIBCXX_ASSERTIONS -fPIC -Wall -O2 -g -grecord-gcc-switches -D_FORTIFY_SOURCE=3 -I .. -I./.. ../annobin-common.cc -c -o annobin-common.o make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.49/clang-plugin' make[1]: Entering directory '/builddir/build/BUILD/annobin-12.49/clang-plugin' clang++ -flto `llvm-config --cxxflags` -D_GLIBCXX_ASSERTIONS -fPIC -Wall -O2 -g -grecord-gcc-switches -D_FORTIFY_SOURCE=3 -I .. -I./.. annobin.cpp -c -o annobin.o make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.49/clang-plugin' make[1]: Entering directory '/builddir/build/BUILD/annobin-12.49/clang-plugin' clang++ -flto `llvm-config --cxxflags` -shared -Wl,--build-id=md5 -Wl,-z,now `llvm-config --ldflags` `llvm-config --system-libs` -lLLVM annobin.o annobin-common.o -o annobin-for-clang.so make[1]: Leaving directory '/builddir/build/BUILD/annobin-12.49/clang-plugin' /usr/bin/ld: /usr/bin/../lib64/LLVMgold.so: error loading plugin: /usr/bin/../lib64/LLVMgold.so: cannot open shared object file: No such file or directory clang++: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [Makefile:46: annobin-for-clang.so] Error 1 make: *** [Makefile:429: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.LobgSb (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.LobgSb (%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/annobin.spec