haproxy.3IZaJR.ltrans33.ltrans.o: in function `.L0 ': /builddir/build/BUILD/haproxy-2.2.6/include/haproxy/task.h:195: undefined reference to `__atomic_fetch_add_1' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans33.ltrans.o: in function `.L0 ': /builddir/build/BUILD/haproxy-2.2.6/src/trace.c:193: undefined reference to `__atomic_exchange_2' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans33.ltrans.o: in function `.L1906': /builddir/build/BUILD/haproxy-2.2.6/include/haproxy/buf.h:58: undefined reference to `__atomic_fetch_and_2' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans33.ltrans.o:/builddir/build/BUILD/haproxy-2.2.6/src/trace.c:221: undefined reference to `__atomic_fetch_or_2' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans33.ltrans.o:/builddir/build/BUILD/haproxy-2.2.6/src/trace.c:124: undefined reference to `__atomic_compare_exchange_2' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans33.ltrans.o: in function `.L0 ': /builddir/build/BUILD/haproxy-2.2.6/include/haproxy/sink.h:63: undefined reference to `__atomic_exchange_2' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans33.ltrans.o: in function `.L0 ': /builddir/build/BUILD/haproxy-2.2.6/src/task.c:576: undefined reference to `__atomic_fetch_and_2' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans33.ltrans.o: in function `.L0 ': /builddir/build/BUILD/haproxy-2.2.6/include/import/eb32sctree.h:108: undefined reference to `__atomic_fetch_and_2' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans34.ltrans.o: in function `.LVL144': /builddir/build/BUILD/haproxy-2.2.6/include/haproxy/fd.h:358: undefined reference to `__atomic_fetch_or_1' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans34.ltrans.o: in function `.L0 ': /builddir/build/BUILD/haproxy-2.2.6/src/trace.c:615: undefined reference to `__atomic_fetch_or_2' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans34.ltrans.o:/builddir/build/BUILD/haproxy-2.2.6/src/trace.c:617: undefined reference to `__atomic_compare_exchange_2' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans34.ltrans.o: in function `.L0 ': /builddir/build/BUILD/haproxy-2.2.6/src/extcheck.c:171: undefined reference to `__atomic_fetch_or_2' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans34.ltrans.o:/builddir/build/BUILD/haproxy-2.2.6/src/extcheck.c:171: undefined reference to `__atomic_compare_exchange_2' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans34.ltrans.o: in function `.L0 ': /builddir/build/BUILD/haproxy-2.2.6/include/haproxy/task.h:185: undefined reference to `__atomic_fetch_or_2' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans34.ltrans.o:/builddir/build/BUILD/haproxy-2.2.6/include/haproxy/task.h:195: undefined reference to `__atomic_compare_exchange_2' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans34.ltrans.o: in function `.L0 ': /builddir/build/BUILD/haproxy-2.2.6/src/check.c:1019: undefined reference to `__atomic_fetch_or_1' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans34.ltrans.o: in function `.L0 ': /builddir/build/BUILD/haproxy-2.2.6/include/haproxy/fd.h:352: undefined reference to `__atomic_fetch_or_2' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans34.ltrans.o: in function `.L0 ': /builddir/build/BUILD/haproxy-2.2.6/src/mux_pt.c:36: undefined reference to `__atomic_compare_exchange_2' /usr/bin/ld: /tmp/haproxy.3IZaJR.ltrans36.ltrans.o: in function `.L0 ': /builddir/build/BUILD/haproxy-2.2.6/src/fd.c:414: undefined reference to `__atomic_fetch_or_1' collect2: error: ld returned 1 exit status make: *** [Makefile:865: haproxy] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.NSCzsl (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.NSCzsl (%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/haproxy.spec