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 'rpng_save_image_bgr24_string', inlined from 'run_translation_service.isra' at tasks/task_translation.c:951:22: libretro-common/formats/png/rpng_encode.c:427:23: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 427 | output = (uint8_t*)malloc((size_t)((*bytes)*sizeof(uint8_t))); | ^ /usr/include/stdlib.h: In function 'run_translation_service.isra': /usr/include/stdlib.h:553:14: note: in a call to allocation function 'malloc' declared here 553 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^ /usr/bin/ld: /tmp/cc8QG7nf.ltrans1.ltrans.o: in function `.L0 ': /builddir/build/BUILD/RetroArch-1.12.0/retroarch.c:5855: undefined reference to `__atomic_exchange_1' /usr/bin/ld: /tmp/cc8QG7nf.ltrans1.ltrans.o:/builddir/build/BUILD/RetroArch-1.12.0/retroarch.c:5718: undefined reference to `__atomic_exchange_1' /usr/bin/ld: /tmp/cc8QG7nf.ltrans36.ltrans.o: in function `.L0 ': /builddir/build/BUILD/RetroArch-1.12.0/libretro-common/features/features_cpu.c:257: undefined reference to `__atomic_exchange_1' /usr/bin/ld: /tmp/cc8QG7nf.ltrans36.ltrans.o: in function `.L0 ': /builddir/build/BUILD/RetroArch-1.12.0/runloop.c:8115: undefined reference to `__atomic_exchange_1' /usr/bin/ld: /tmp/cc8QG7nf.ltrans36.ltrans.o: in function `.L0 ': /builddir/build/BUILD/RetroArch-1.12.0/cheat_manager.c:1567: undefined reference to `__atomic_exchange_1' /usr/bin/ld: /tmp/cc8QG7nf.ltrans36.ltrans.o:/usr/include/c++/12/riscv64-redhat-linux/bits/gthr-default.h:749: more undefined references to `__atomic_exchange_1' follow collect2: error: ld returned 1 exit status make: *** [Makefile:201: retroarch] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.dLfDcx (%build) Bad exit status from /var/tmp/rpm-tmp.dLfDcx (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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