rv.hpp:402:6: note: an enum with different value name is defined in another translation unit 402 | enum BuiltIn { | ^ ./deps/SPIRV-Cross/spirv.hpp:519:5: note: name 'BuiltInTaskCountNV' differs from name 'BuiltInMax' defined in another translation unit 519 | BuiltInTaskCountNV = 5274, | ^ deps/glslang/glslang/SPIRV/spirv.hpp:473:5: note: mismatching definition 473 | BuiltInMax = 0x7fffffff, | ^ deps/glslang/glslang/SPIRV/spirv.hpp:562:6: warning: type 'spv::Scope' violates the C++ One Definition Rule [-Wodr] 562 | enum Scope { | ^ deps/SPIRV-Cross/spirv.hpp:648:6: note: an enum with different value name is defined in another translation unit 648 | enum Scope { | ^ deps/glslang/glslang/SPIRV/spirv.hpp:568:5: note: name 'ScopeMax' differs from name 'ScopeQueueFamilyKHR' defined in another translation unit 568 | ScopeMax = 0x7fffffff, | ^ deps/SPIRV-Cross/spirv.hpp:654:5: note: mismatching definition 654 | ScopeQueueFamilyKHR = 5, | ^ deps/glslang/glslang/SPIRV/spirv.hpp:534:6: warning: type 'spv::MemorySemanticsMask' violates the C++ One Definition Rule [-Wodr] 534 | enum MemorySemanticsMask { | ^ deps/SPIRV-Cross/spirv.hpp:611:6: note: an enum with different number of values is defined in another translation unit 611 | enum MemorySemanticsMask { | ^ deps/glslang/glslang/SPIRV/spirv.hpp:281:6: warning: type 'spv::ImageOperandsMask' violates the C++ One Definition Rule [-Wodr] 281 | enum ImageOperandsMask { | ^ deps/SPIRV-Cross/spirv.hpp:315:6: note: an enum with different number of values is defined in another translation unit 315 | enum ImageOperandsMask { | ^ In function 'rcheevos_parse', inlined from 'rcheevos_iterate' at cheevos/cheevos.c:1621:11: cheevos/cheevos.c:577:18: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 577 | ptr[-2] = '\0'; | ^ cheevos/cheevos.c: In function 'rcheevos_iterate': cheevos/cheevos.c:557:9: note: at offset -2 to object 'buffer' with size 256 declared here 557 | char buffer[256]; | ^ /usr/bin/ld: /tmp/retroarch.cCklkA.ltrans114.ltrans.o: in function `.L0 ': /usr/include/c++/10/bits/atomic_base.h:443: undefined reference to `__atomic_exchange_1' /usr/bin/ld: /tmp/retroarch.cCklkA.ltrans114.ltrans.o: in function `.L0 ': /builddir/build/BUILD/RetroArch-1.9.0/deps/discord-rpc/src/serialization.h:31: undefined reference to `__atomic_exchange_1' /usr/bin/ld: /tmp/retroarch.cCklkA.ltrans3.ltrans.o: in function `.L0 ': /builddir/build/BUILD/RetroArch-1.9.0/retroarch.c:38075: undefined reference to `__atomic_exchange_1' /usr/bin/ld: /tmp/retroarch.cCklkA.ltrans3.ltrans.o:/builddir/build/BUILD/RetroArch-1.9.0/retroarch.c:38119: undefined reference to `__atomic_exchange_1' /usr/bin/ld: /tmp/retroarch.cCklkA.ltrans3.ltrans.o: in function `.L0 ': /builddir/build/BUILD/RetroArch-1.9.0/managers/cheat_manager.c:1402: undefined reference to `__atomic_exchange_1' /usr/bin/ld: /tmp/retroarch.cCklkA.ltrans3.ltrans.o:/builddir/build/BUILD/RetroArch-1.9.0/managers/cheat_manager.c:1417: more undefined references to `__atomic_exchange_1' follow collect2: error: ld returned 1 exit status make: *** [Makefile:201: retroarch] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.HbK2BC (%build) Bad exit status from /var/tmp/rpm-tmp.HbK2BC (%build) RPM build errors: 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/retroarch.spec