rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -fPIC -Wno-unused-local-typedefs -DBOOST_BIMAP_DISABLE_SERIALIZATION -DNDEBUG -std=gnu++11 -o CMakeFiles/sg_pkgutil.dir/pkgutil.cxx.o -c /builddir/build/BUILD/simgear-2020.1.2/simgear/package/pkgutil.cxx [ 99%] Linking CXX executable sg_pkgutil cd /builddir/build/BUILD/simgear-2020.1.2/simgear/package && /usr/bin/cmake -E cmake_link_script CMakeFiles/sg_pkgutil.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -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 -Wall -fPIC -Wno-unused-local-typedefs -DBOOST_BIMAP_DISABLE_SERIALIZATION -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/sg_pkgutil.dir/pkgutil.cxx.o -o sg_pkgutil -Wl,-rpath,/builddir/build/BUILD/simgear-2020.1.2/simgear ../libSimGearScene.so.2020.1.2 -lGL -lGLU ../libSimGearCore.so.2020.1.2 -lpthread -lz -lrt -ldl -lcurl -losgText -losgSim -losgDB -losgParticle -losgGA -losgViewer -losgUtil -losg -lOpenThreads /usr/bin/ld: ../libSimGearCore.so.2020.1.2: undefined reference to `__atomic_exchange_1' collect2: error: ld returned 1 exit status make[2]: *** [simgear/package/CMakeFiles/sg_pkgutil.dir/build.make:122: simgear/package/sg_pkgutil] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/simgear-2020.1.2' make[1]: *** [CMakeFiles/Makefile2:1036: simgear/package/CMakeFiles/sg_pkgutil.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [100%] Linking CXX executable input_event_demo cd /builddir/build/BUILD/simgear-2020.1.2/simgear/canvas/events && /usr/bin/cmake -E cmake_link_script CMakeFiles/input_event_demo.dir/link.txt --verbose=1 /usr/bin/g++ -O2 -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 -Wall -fPIC -Wno-unused-local-typedefs -DBOOST_BIMAP_DISABLE_SERIALIZATION -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic CMakeFiles/input_event_demo.dir/input_event_demo.cxx.o -o input_event_demo -Wl,-rpath,/builddir/build/BUILD/simgear-2020.1.2/simgear ../../libSimGearScene.so.2020.1.2 -lGL -lGLU ../../libSimGearCore.so.2020.1.2 -lpthread -lz -lrt -ldl -lcurl -losgText -losgSim -losgDB -losgParticle -losgGA -losgViewer -losgUtil -losg -lOpenThreads /usr/bin/ld: ../../libSimGearCore.so.2020.1.2: undefined reference to `__atomic_exchange_1' collect2: error: ld returned 1 exit status make[2]: *** [simgear/canvas/events/CMakeFiles/input_event_demo.dir/build.make:122: simgear/canvas/events/input_event_demo] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/simgear-2020.1.2' make[1]: *** [CMakeFiles/Makefile2:1064: simgear/canvas/events/CMakeFiles/input_event_demo.dir/all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/simgear-2020.1.2' make: *** [Makefile:175: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.EDERlM (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.EDERlM (%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/SimGear.spec