ILD/libfilezilla-0.27.1/lib/.libs make[1]: Leaving directory '/builddir/build/BUILD/libfilezilla-0.27.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:471: process] Error 1 make[1]: Entering directory '/builddir/build/BUILD/libfilezilla-0.27.1/demos' /bin/sh ../libtool --tag=CXX --mode=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 -no-install -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -o timer_fizzbuzz timer_fizzbuzz-timer_fizzbuzz.o ../lib/.libs/libfilezilla.so -lpthread -Wl,-rpath -Wl,/builddir/build/BUILD/libfilezilla-0.27.1/lib/.libs make[1]: Leaving directory '/builddir/build/BUILD/libfilezilla-0.27.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:475: timer_fizzbuzz] Error 1 make[1]: Entering directory '/builddir/build/BUILD/libfilezilla-0.27.1/demos' /bin/sh ../libtool --tag=CXX --mode=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 -no-install -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o events events-events.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 -o events events-events.o ../lib/.libs/libfilezilla.so -lpthread -Wl,-rpath -Wl,/builddir/build/BUILD/libfilezilla-0.27.1/lib/.libs make[1]: Leaving directory '/builddir/build/BUILD/libfilezilla-0.27.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:463: events] Error 1 make: *** [Makefile:487: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.QjEvDk (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.QjEvDk (%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/libfilezilla.spec