==> Building on luxio ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ PKGBUILD 1,173 100% 0.00kB/s 0:00:00 1,173 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) pocl-4.0-1.log 192 100% 187.50kB/s 0:00:00 192 100% 187.50kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 992 bytes received 69 bytes 707.33 bytes/sec total size is 1,335 speedup is 1.26 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root31 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [root31]...done ==> Making package: pocl 4.0-1 (Fri Jul 28 17:56:24 2023) ==> Retrieving sources...  -> Downloading pocl-4.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2090k 0 2090k 0 0 2266k 0 --:--:-- --:--:-- --:--:-- 2266k ==> Validating source files with sha512sums... pocl-4.0.tar.gz ... Passed ==> Making package: pocl 4.0-1 (Fri Jul 28 17:56:34 2023) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (7) New Version Net Change extra/compiler-rt 15.0.7-2 34.68 MiB core/libedit 20221030_3.1-1 0.24 MiB extra/libpciaccess 0.17-1 0.05 MiB extra/llvm-libs 15.0.7-3 99.58 MiB extra/clang 15.0.7-9 176.18 MiB extra/hwloc 2.9.1-1 1.31 MiB extra/ocl-icd 2.3.2-1 0.40 MiB Total Installed Size: 312.43 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libedit... installing llvm-libs... installing compiler-rt... installing clang... Optional dependencies for clang openmp: OpenMP support in clang with -fopenmp python: for scan-view and git-clang-format llvm: referenced by some clang headers installing libpciaccess... installing hwloc... Optional dependencies for hwloc cairo libxml2 [installed] pciutils libx11 installing ocl-icd... Optional dependencies for ocl-icd opencl-driver: packaged opencl driver [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (11) New Version Net Change Download Size extra/cppdap 1.58.0-1 1.37 MiB extra/hicolor-icon-theme 0.17-3 0.05 MiB extra/jsoncpp 1.9.5-2 1.24 MiB core/libnsl 2.0.0-3 0.06 MiB extra/libuv 1.46.0-1 0.55 MiB extra/rhash 1.4.3-1 0.31 MiB extra/cmake 3.27.1-1 63.63 MiB extra/llvm 15.0.7-3 115.99 MiB extra/ninja 1.11.1-3 0.28 MiB extra/opencl-headers 2:2023.04.17-2 0.37 MiB 0.05 MiB core/python 3.11.3-2 107.17 MiB Total Download Size: 0.05 MiB Total Installed Size: 291.02 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... opencl-headers-2:2023.04.17-2-any downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing llvm... installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libnsl... installing libuv... installing rhash... installing cppdap... installing cmake... Optional dependencies for cmake qt6-base: cmake-gui installing opencl-headers... Optional dependencies for opencl-headers opencl-clhpp: C++ support installing ninja... installing python... Optional dependencies for python python-setuptools python-pip sqlite [installed] mpdecimal: for decimal xz: for lzma [installed] tk: for tkinter [?25h==> Retrieving sources...  -> Found pocl-4.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting pocl-4.0.tar.gz with bsdtar ==> Starting build()... 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 GNU 13.1.1 -- The CXX compiler identification is GNU 13.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - 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/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- CMAKE_SYSTEM_NAME: Linux -- CMAKE_SYSTEM_PROCESSOR: riscv64 -- CMAKE_LIBRARY_ARCHITECTURE: -- 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: 32 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- Checking for module 'hwloc' -- Found hwloc, version 2.9.1 -- Found Hwloc: hwloc -- Found hwloc 2.9.1 in :hwloc -- Hwloc_VERSION 2.9.1 -- Hwloc_LIBRARIES hwloc -- Hwloc_INCLUDE_DIRS -- Using hwloc (cached): 1 CMake Warning at CMakeLists.txt:488 (message): Unable to detect cacheline size - assuming 64byte cacheline, override with -DHOST_CPU_CACHELINE_SIZE= (Note: this is merely used for optimization, at worst pocl will be slightly slower) -- Using llvm-config: /usr/bin/llvm-config -- LLVM binaries suffix : -- llvm-config's LLVM_PREFIX is: /usr -- llvm-config's LLVM_VERSION_FULL is: 15.0.7 -- LLVM_VERSION: 15.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++14 -fno-exceptions -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/lib -- llvm-config's LLVM_BINDIR is: /usr/bin -- llvm-config's LLVM_LIBDIR is: /usr/lib -- llvm-config's LLVM_INCLUDEDIR is: /usr/include -- llvm-config's LLVM_SRC_ROOT is: /build/llvm/src/llvm-15.0.7.src -- llvm-config's LLVM_OBJ_ROOT is: /usr -- llvm-config's LLVM_ALL_TARGETS is: AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430 NVPTX PowerPC RISCV Sparc SystemZ VE WebAssembly X86 XCore -- llvm-config's LLVM_HOST_TARGET is: riscv64-unknown-linux-gnu -- llvm-config's LLVM_BUILD_MODE is: Release -- llvm-config's LLVM_ASSERTS_BUILD is: OFF -- llvm-config's LLVM_HAS_RTTI is: YES -- llvm-config's LLVM_LIBS is: -lLLVM-15 -- llvm-config's LLVM_SYSLIBS is: -- Found clang: /usr/bin/clang -- Found clang++: /usr/bin/clang++ -- Found opt: /usr/bin/opt -- Found llc: /usr/bin/llc -- Found llvm-as: /usr/bin/llvm-as -- Found llvm-link: /usr/bin/llvm-link -- Found lli: /usr/bin/lli -- udivmodti4 compiles without extra flags -- Checking if LLVM is a DEBUG build -- DEBUG build -- Find out LLC target triple (for host riscv64-unknown-linux-gnu) -- Find out LLC host CPU with /usr/bin/llc CMake Error at cmake/LLVM.cmake:682 (message): LLVM could not recognize your CPU model automatically. Please run CMake with -DLLC_HOST_CPU= (you can find valid names with: llc -mcpu=help) Call Stack (most recent call first): CMakeLists.txt:520 (include) -- Configuring incomplete, errors occurred! ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root31/build receiving incremental file list pocl-4.0-1-riscv64-build.log sent 43 bytes received 1,745 bytes 715.20 bytes/sec total size is 3,907 speedup is 2.19