eptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' -DLLC_HOST_CPU=generic-rv64 -DPOCL_ICD_ABSOLUTE_PATH:BOOL=OFF -DENABLE_POCL_BUILDING:BOOL=ON CMake Deprecation Warning at CMakeLists.txt:27 (cmake_policy): The OLD behavior for policy CMP0067 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. -- The C compiler identification is Clang 17.0.4 -- The CXX compiler identification is Clang 17.0.4 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- CMAKE_SYSTEM_NAME: Linux -- CMAKE_SYSTEM_PROCESSOR: riscv64 -- CMAKE_LIBRARY_ARCHITECTURE: riscv64-redhat-linux-gnu -- Performing Test HAVE_WARN_INCOMPATIBLE_POINTER_TYPES -- Performing Test HAVE_WARN_INCOMPATIBLE_POINTER_TYPES - Success -- No git and/or not a prerelease -> not adding git commit to version. -- Host CPU cores: 4 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.5") -- Checking for module 'hwloc' -- Found hwloc, version 2.9.3 -- Found Hwloc: hwloc -- Found hwloc 2.9.3 in :hwloc -- Hwloc_VERSION 2.9.3 -- Hwloc_LIBRARIES hwloc -- Hwloc_INCLUDE_DIRS -- Using hwloc (cached): 1 -- L1D Cacheline size detected: 64 -- Using llvm-config: /usr/bin/llvm-config -- LLVM binaries suffix : -- llvm-config's LLVM_PREFIX is: /usr -- llvm-config's LLVM_VERSION_FULL is: 17.0.6 -- LLVM_VERSION: 17.0 -- llvm-config's LLVM_CFLAGS is: -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_CXXFLAGS is: -I/usr/include -std=c++17 -fno-exceptions -funwind-tables -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_CPPFLAGS is: -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_LDFLAGS is: -L/usr/lib64 -- llvm-config's LLVM_BINDIR is: /usr/bin -- llvm-config's LLVM_LIBDIR is: /usr/lib64 -- llvm-config's LLVM_INCLUDEDIR is: /usr/include -- llvm-config's LLVM_ALL_TARGETS is: AArch64 AMDGPU ARM AVR BPF Hexagon Lanai LoongArch Mips MSP430 NVPTX PowerPC RISCV Sparc SystemZ VE WebAssembly X86 XCore -- llvm-config's LLVM_HOST_TARGET is: riscv64-redhat-linux-gnu -- llvm-config's LLVM_BUILD_MODE is: RelWithDebInfo -- llvm-config's LLVM_ASSERTS_BUILD is: OFF CMake Error at cmake/LLVM.cmake:197 (message): LLVM version between 10.0 and 16.0 required, found: 17.0 Call Stack (most recent call first): CMakeLists.txt:520 (include) -- Configuring incomplete, errors occurred! error: Bad exit status from /var/tmp/rpm-tmp.9VOFoH (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.9VOFoH (%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/pocl.spec