dump@exe/version.cxx.o' -Wl,--as-needed -Wl,--no-undefined -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--start-group -lreadline -lgc -lffi -Wl,--end-group /usr/bin/ld: xsdump@exe/closure.cxx.o: in function `mkclosure(Tree*, Binding*)': /builddir/build/BUILD/XS-22afec159ebc9124cbaa31601e823ab454c33b6e/build/../closure.cxx:12: undefined reference to `GC_throw_bad_alloc()' /usr/bin/ld: xsdump@exe/closure.cxx.o: in function `mkbinding(char const*, List*, Binding*)': /builddir/build/BUILD/XS-22afec159ebc9124cbaa31601e823ab454c33b6e/build/../closure.cxx:144: undefined reference to `GC_throw_bad_alloc()' /usr/bin/ld: xsdump@exe/closure.cxx.o: in function `.L0 ': /builddir/build/BUILD/XS-22afec159ebc9124cbaa31601e823ab454c33b6e/build/../closure.cxx:38: undefined reference to `GC_throw_bad_alloc()' /usr/bin/ld: xsdump@exe/closure.cxx.o: in function `std::_Rb_tree_header::_Rb_tree_header()': /usr/include/c++/10/bits/stl_tree.h:175: undefined reference to `GC_throw_bad_alloc()' /usr/bin/ld: xsdump@exe/list.cxx.o: in function `mklist(Term*, List*)': /builddir/build/BUILD/XS-22afec159ebc9124cbaa31601e823ab454c33b6e/build/../list.cxx:16: undefined reference to `GC_throw_bad_alloc()' /usr/bin/ld: xsdump@exe/list.cxx.o:/usr/include/gc/gc_cpp.h:528: more undefined references to `GC_throw_bad_alloc()' follow collect2: error: ld returned 1 exit status [45/78] c++ -Ixs@exe -I. -I.. -I/usr/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DBOOST_ALL_NO_LIB -DBOOST_ALL_DYN_LINK -MD -MQ 'xs@exe/closure.cxx.o' -MF 'xs@exe/closure.cxx.o.d' -o 'xs@exe/closure.cxx.o' -c ../closure.cxx [46/78] c++ -Ixs@exe -I. -I.. -I/usr/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DBOOST_ALL_NO_LIB -DBOOST_ALL_DYN_LINK -MD -MQ 'xs@exe/conv.cxx.o' -MF 'xs@exe/conv.cxx.o.d' -o 'xs@exe/conv.cxx.o' -c ../conv.cxx [47/78] c++ -Ixs@exe -I. -I.. -I/usr/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DBOOST_ALL_NO_LIB -DBOOST_ALL_DYN_LINK -MD -MQ 'xs@exe/eval.cxx.o' -MF 'xs@exe/eval.cxx.o.d' -o 'xs@exe/eval.cxx.o' -c ../eval.cxx ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.k8oQpC (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.k8oQpC (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/xs.spec