p.o src/mathicgb/.libs/ReducerPackDedup.o src/mathicgb/.libs/SignatureGB.o src/mathicgb/.libs/SigSPairs.o src/mathicgb/.libs/SPairs.o src/mathicgb/.libs/SigSPairQueue.o src/mathicgb/.libs/SparseMatrix.o src/mathicgb/.libs/QuadMatrixBuilder.o src/mathicgb/.libs/TypicalReducer.o src/mathicgb/.libs/F4Reducer.o src/mathicgb/.libs/F4MatrixBuilder.o src/mathicgb/.libs/QuadMatrix.o src/mathicgb/.libs/F4MatrixReducer.o src/mathicgb/.libs/CFile.o src/mathicgb/.libs/LogDomain.o src/mathicgb/.libs/F4MatrixBuilder2.o src/mathicgb/.libs/LogDomainSet.o src/mathicgb/.libs/F4ProtoMatrix.o src/mathicgb/.libs/F4MatrixProjection.o src/.libs/mathicgb.o src/mathicgb/.libs/Scanner.o -ltbb -lgtest -L/usr/lib/gcc/riscv64-redhat-linux/8 -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/8/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/8/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -O2 -g -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname -Wl,libmathicgb.so.0 -o .libs/libmathicgb.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libmathicgb.so.0" && ln -s "libmathicgb.so.0.0.0" "libmathicgb.so.0") libtool: link: (cd ".libs" && rm -f "libmathicgb.so" && ln -s "libmathicgb.so.0.0.0" "libmathicgb.so") libtool: link: ( cd ".libs" && rm -f "libmathicgb.la" && ln -s "../libmathicgb.la" "libmathicgb.la" ) /bin/sh ./libtool --tag=CXX --mode=link g++ -Wl,--as-needed -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 -fwrapv -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mgb src/cli/GBMain.o src/cli/CommonParams.o src/cli/GBAction.o src/cli/GBCommonParams.o src/cli/MatrixAction.o src/cli/SigGBAction.o src/cli/HelpAction.o ./libmathicgb.la -ltbb -lgtest -lmathic -lmemtailor -lpthread libtool: link: g++ -Wl,--as-needed -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 -fwrapv -Wl,-z -Wl,relro -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/mgb src/cli/GBMain.o src/cli/CommonParams.o src/cli/GBAction.o src/cli/GBCommonParams.o src/cli/MatrixAction.o src/cli/SigGBAction.o src/cli/HelpAction.o ./.libs/libmathicgb.so -ltbb -lgtest -lmathic -lmemtailor -lpthread BUILDSTDERR: /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libtbb.so: undefined reference to `__atomic_compare_exchange_1' BUILDSTDERR: /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libtbb.so: undefined reference to `__atomic_exchange_1' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make: *** [Makefile:1025: mgb] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.xWKlHY (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.xWKlHY (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/mathicgb.spec