r/build/BUILD/oneTBB-2020.3/python/rml' g++ -c -MMD -O2 -flto=auto -ffat-lto-objects -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 -DUSE_PTHREAD -Wno-parentheses -Wno-sized-deallocation -DTBB_USE_THREADING_TOOLS=0 -D__TBB_RML_STATIC=1 -D__TBB_NO_IMPLICIT_LINKAGE=1 -fPIC -Wl,--as-needed -I../../src -I../../src/rml/include -I../../include -I../../src/rml/include -I. -I../../src/test -I../../src/rml/server ../../src/rml/test/test_thread_monitor.cpp make: Leaving directory '/builddir/build/BUILD/oneTBB-2020.3/python/rml' In file included from ../../src/rml/server/thread_monitor.h:39, from ../../src/rml/test/test_thread_monitor.cpp:23: ../../include/tbb/atomic.h:21:141: note: '#pragma message: TBB Warning: tbb/atomic.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.' 21 | #pragma message("TBB Warning: tbb/atomic.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual.") | ^ make: Entering directory '/builddir/build/BUILD/oneTBB-2020.3/python/rml' g++ -o test_thread_monitor.exe -O2 -flto=auto -ffat-lto-objects -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 -DUSE_PTHREAD test_thread_monitor.o cache_aligned_allocator_rml.o dynamic_link_rml.o tbb_misc_rml.o tbb_misc_ex_rml.o -lrt -ldl -Wl,-rpath-link=. -rdynamic -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpthread make: Leaving directory '/builddir/build/BUILD/oneTBB-2020.3/python/rml' ../../src/rml/test/test_thread_monitor.cpp: In function 'TestMain': ../../src/rml/test/test_thread_monitor.cpp:76:43: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 76 | ThreadState* t = new ThreadState[p]; | ^ /usr/include/c++/12/new:128:26: note: in a call to allocation function 'operator new []' declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ /usr/bin/ld: /tmp/cckTOnDP.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/oneTBB-2020.3/python/rml/../../src/test/harness_memory.h:109: undefined reference to `__atomic_exchange_1' /usr/bin/ld: /tmp/cckTOnDP.ltrans0.ltrans.o: in function `.L0 ': /builddir/build/BUILD/oneTBB-2020.3/python/rml/../../src/test/harness_report.h:97: undefined reference to `__atomic_exchange_1' collect2: error: ld returned 1 exit status make: *** [Makefile:131: test_thread_monitor.exe] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.jRBJmC (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.jRBJmC (%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/tbb.spec