hat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -no-install -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -o timer_fizzbuzz timer_fizzbuzz-timer_fizzbuzz.o ../lib/libfilezilla.la -lpthread libtool: link: g++ -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -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 -o timer_fizzbuzz timer_fizzbuzz-timer_fizzbuzz.o ../lib/.libs/libfilezilla.so -lpthread -Wl,-rpath -Wl,/builddir/build/BUILD/libfilezilla-0.38.1/lib/.libs make[1]: Leaving directory '/builddir/build/BUILD/libfilezilla-0.38.1/demos' /usr/bin/ld: ../lib/.libs/libfilezilla.so: undefined reference to `__atomic_exchange_1' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:554: timer_fizzbuzz] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/libfilezilla-0.38.1/demos' g++ -std=c++17 -DHAVE_CONFIG_H -I../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o impersonation-impersonation.o `test -f 'impersonation.cpp' || echo './'`impersonation.cpp make[1]: Leaving directory '/builddir/build/BUILD/libfilezilla-0.38.1/demos' make[1]: Entering directory '/builddir/build/BUILD/libfilezilla-0.38.1/demos' g++ -std=c++17 -DHAVE_CONFIG_H -I../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o https-https.o `test -f 'https.cpp' || echo './'`https.cpp make[1]: Leaving directory '/builddir/build/BUILD/libfilezilla-0.38.1/demos' make[1]: Entering directory '/builddir/build/BUILD/libfilezilla-0.38.1/demos' g++ -std=c++17 -DHAVE_CONFIG_H -I../lib -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -c -o aio-aio.o `test -f 'aio.cpp' || echo './'`aio.cpp make[1]: Leaving directory '/builddir/build/BUILD/libfilezilla-0.38.1/demos' make: *** [Makefile:494: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.eTXJhE (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.eTXJhE (%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/libfilezilla.spec