rence to `__atomic_fetch_or_2' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/haproxy-2.0.3/include/proto/task.h:135: undefined reference to `__atomic_compare_exchange_2' BUILDSTDERR: /usr/bin/ld: src/task.o: in function `process_runnable_tasks': BUILDSTDERR: /builddir/build/BUILD/haproxy-2.0.3/src/task.c:344: undefined reference to `__atomic_fetch_and_2' BUILDSTDERR: /usr/bin/ld: src/task.o: in function `__task_unlink_rq': BUILDSTDERR: /builddir/build/BUILD/haproxy-2.0.3/include/proto/task.h:201: undefined reference to `__atomic_fetch_or_2' BUILDSTDERR: /usr/bin/ld: src/task.o: in function `process_runnable_tasks': BUILDSTDERR: /builddir/build/BUILD/haproxy-2.0.3/src/task.c:379: undefined reference to `__atomic_compare_exchange_2' BUILDSTDERR: /usr/bin/ld: src/task.o: in function `task_wakeup': BUILDSTDERR: /builddir/build/BUILD/haproxy-2.0.3/include/proto/task.h:134: undefined reference to `__atomic_exchange_2' BUILDSTDERR: /usr/bin/ld: src/task.o: in function `now_mono_time': BUILDSTDERR: /builddir/build/BUILD/haproxy-2.0.3/include/common/time.h:525: undefined reference to `__atomic_fetch_and_2' BUILDSTDERR: /usr/bin/ld: src/task.o: in function `process_runnable_tasks': BUILDSTDERR: /builddir/build/BUILD/haproxy-2.0.3/src/task.c:446: undefined reference to `__atomic_fetch_and_2' BUILDSTDERR: /usr/bin/ld: src/applet.o: in function `task_wakeup': BUILDSTDERR: /builddir/build/BUILD/haproxy-2.0.3/include/proto/task.h:142: undefined reference to `__atomic_fetch_or_2' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/haproxy-2.0.3/include/proto/task.h:144: undefined reference to `__atomic_compare_exchange_2' BUILDSTDERR: /usr/bin/ld: src/signal.o: in function `__signal_process_queue': BUILDSTDERR: /builddir/build/BUILD/haproxy-2.0.3/src/signal.c:91: undefined reference to `__atomic_fetch_or_2' BUILDSTDERR: /usr/bin/ld: src/signal.o: in function `task_wakeup': BUILDSTDERR: /builddir/build/BUILD/haproxy-2.0.3/include/proto/task.h:137: undefined reference to `__atomic_compare_exchange_2' BUILDSTDERR: /usr/bin/ld: src/ev_select.o: in function `fd_release_cache_entry': BUILDSTDERR: /builddir/build/BUILD/haproxy-2.0.3/include/proto/fd.h:187: undefined reference to `__atomic_compare_exchange_1' BUILDSTDERR: /usr/bin/ld: src/action.o: in function `task_wakeup': BUILDSTDERR: /builddir/build/BUILD/haproxy-2.0.3/include/proto/task.h:134: undefined reference to `__atomic_fetch_or_2' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/haproxy-2.0.3/include/proto/task.h:144: undefined reference to `__atomic_compare_exchange_2' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/haproxy-2.0.3/include/proto/task.h:134: undefined reference to `__atomic_fetch_or_2' BUILDSTDERR: /usr/bin/ld: /builddir/build/BUILD/haproxy-2.0.3/include/proto/task.h:142: undefined reference to `__atomic_compare_exchange_2' BUILDSTDERR: /usr/bin/ld: src/mworker.o: in function `mworker_accept_wrapper': BUILDSTDERR: /builddir/build/BUILD/haproxy-2.0.3/src/mworker.c:360: undefined reference to `__atomic_compare_exchange_1' BUILDSTDERR: /usr/bin/ld: src/mworker.o: in function `atleast2': BUILDSTDERR: /builddir/build/BUILD/haproxy-2.0.3/include/common/standard.h:798: undefined reference to `__atomic_compare_exchange_1' BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make: *** [Makefile:826: haproxy] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.cPAZqi (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.cPAZqi (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, 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/haproxy.spec