==> Building on manectric ==> 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-3.1-2.log 254 100% 248.05kB/s 0:00:00 254 100% 248.05kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,040 bytes received 69 bytes 739.33 bytes/sec total size is 1,369 speedup is 1.23 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix7 on remote host... ==> Locking clean chroot...done [?25l:: Synchronizing package databases... core downloading... extra downloading... community 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] -> [felix7]...done ==> Making package: pocl 3.1-2 (Mon Feb 27 21:50:13 2023) ==> Retrieving sources...  -> Downloading pocl-3.1.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 1883k 0 1883k 0 0 1970k 0 --:--:-- --:--:-- --:--:-- 3804k ==> Validating source files with sha512sums... pocl-3.1.tar.gz ... Passed ==> Making package: pocl 3.1-2 (Mon Feb 27 21:50:22 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-1 32.60 MiB core/libedit 20210910_3.1-2 0.23 MiB extra/libpciaccess 0.17-1 0.05 MiB extra/llvm-libs 15.0.7-1 99.58 MiB extra/clang 15.0.7-1 176.44 MiB extra/hwloc 2.9.0-1 1.31 MiB extra/ocl-icd 2.3.1-1 0.24 MiB Total Installed Size: 310.44 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 (10) New Version Net Change extra/hicolor-icon-theme 0.17-3 0.05 MiB extra/jsoncpp 1.9.5-2 1.24 MiB core/libnsl 2.0.0-2 0.06 MiB extra/libuv 1.44.2-1 0.52 MiB extra/rhash 1.4.3-1 0.31 MiB extra/cmake 3.25.2-1 61.17 MiB extra/llvm 15.0.7-1 1311.92 MiB community/ninja 1.11.1-2 0.28 MiB extra/opencl-headers 2:2022.09.30-1 0.31 MiB core/python 3.10.9-1 81.37 MiB Total Installed Size: 1457.22 MiB :: Proceed with installation? [Y/n] 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 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-3.1.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting pocl-3.1.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 12.2.1 -- The CXX compiler identification is GNU 12.2.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.0") -- Checking for module 'hwloc' -- Found hwloc, version 2.9.0 -- Found Hwloc: hwloc -- Found hwloc 2.9.0 in :hwloc -- Hwloc_VERSION 2.9.0 -- Hwloc_LIBRARIES hwloc -- Hwloc_INCLUDE_DIRS CMake Warning at CMakeLists.txt:449 (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:685 (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:481 (include) -- Configuring incomplete, errors occurred! See also "/build/pocl/src/pocl-3.1/build/CMakeFiles/CMakeOutput.log". ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix7/build receiving incremental file list pocl-3.1-2-riscv64-build.log sent 43 bytes received 1,772 bytes 1,210.00 bytes/sec total size is 3,950 speedup is 2.18