uilddir/build/BUILD/gmmlib-intel-gmmlib-22.3.18/Source/GmmLib/Platform -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.18/Source/util -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.18/Source/inc -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.18/Source/inc/common -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.18/Source/inc/umKmInc -I/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.18/Source/install -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -Wno-reorder -Wsign-promo -Wnon-virtual-dtor -Wno-invalid-offsetof -fvisibility-inlines-hidden -fno-use-cxa-atexit -fno-rtti -fexceptions -fcheck-new -std=c++11 -pthread -Werror=non-virtual-dtor -DNDEBUG -fPIC -Wall -Winit-self -Winvalid-pch -Wpointer-arith -Wno-unused -Wno-unknown-pragmas -Wno-comments -Wno-narrowing -Wno-overflow -Wno-parentheses -Wno-missing-braces -Wno-sign-compare -Wno-enum-compare -Werror=address -Werror=format-security -Werror=return-type -march=corei7 -mpopcnt -msse -msse2 -msse3 -mssse3 -msse4 -msse4.1 -msse4.2 -mfpmath=sse -finline-functions -fno-short-enums -Wa,--noexecstack -fno-strict-aliasing -DUSE_MMX -DUSE_SSE -DUSE_SSE2 -DUSE_SSE3 -DUSE_SSSE3 -fstack-protector -fdata-sections -ffunction-sections -fmessage-length=0 -fvisibility=hidden -fPIC -g -m64 -funswitch-loops -Wl,--no-undefined -Wl,--no-as-needed -Wl,--gc-sections -O2 -fno-omit-frame-pointer -finline-limit=100 -MD -MT Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmCachePolicyCommon.cpp.o -MF CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmCachePolicyCommon.cpp.o.d -o CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmCachePolicyCommon.cpp.o -c /builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.18/Source/GmmLib/CachePolicy/GmmCachePolicyCommon.cpp g++: error: ‘-march=corei7’: ISA string must begin with rv32 or rv64 g++: error: ‘-march=corei7’: ISA string must begin with rv32 or rv64 g++: error: ‘-march=corei7’: ISA string must begin with rv32 or rv64 gmake[2]: *** [Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/build.make:121: Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmGen8CachePolicy.cpp.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: *** [Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/build.make:79: Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/__/Common/AssertTracer/AssertTracer.cpp.o] Error 1 gmake[2]: *** [Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/build.make:93: Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmCachePolicy.cpp.o] Error 1 g++: error: ‘-march=corei7’: ISA string must begin with rv32 or rv64 gmake[2]: *** [Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/build.make:107: Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/CachePolicy/GmmCachePolicyCommon.cpp.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.18/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:101: Source/GmmLib/CMakeFiles/igfx_gmmumd_dll.dir/all] Error 2 gmake[1]: Leaving directory '/builddir/build/BUILD/gmmlib-intel-gmmlib-22.3.18/redhat-linux-build' gmake: *** [Makefile:169: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.v2LrT5 (%build) Bad exit status from /var/tmp/rpm-tmp.v2LrT5 (%build) RPM build errors: 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/intel-gmmlib.spec