==> Building on charizard ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list ./ .SRCINFO 650 100% 0.00kB/s 0:00:00 650 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=3/5) .nvchecker.toml 76 100% 74.22kB/s 0:00:00 76 100% 74.22kB/s 0:00:00 (xfr#2, to-chk=2/5) PKGBUILD 1,245 100% 1.19MB/s 0:00:00 1,245 100% 1.19MB/s 0:00:00 (xfr#3, to-chk=1/5) pocl-6.0-2.log 455 100% 444.34kB/s 0:00:00 455 100% 444.34kB/s 0:00:00 (xfr#4, to-chk=0/5) sent 1,705 bytes received 107 bytes 517.71 bytes/sec total size is 2,167 speedup is 1.20 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix2 on remote host... ]2;🔵 Container arch-nspawn-3485419 on charizard.felixc.at[?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] -> [felix2]...done ==> Making package: pocl 6.0-2 (Mon Jul 22 20:25:56 2024) ==> Retrieving sources...  -> Downloading pocl-6.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 6181 0 6181 0 0 3408 0 --:--:-- 0:00:01 --:--:-- 3408 100 250k 0 250k 0 0 91897 0 --:--:-- 0:00:02 --:--:-- 249k 100 2001k 0 2001k 0 0 536k 0 --:--:-- 0:00:03 --:--:-- 1041k 100 2408k 0 2408k 0 0 614k 0 --:--:-- 0:00:03 --:--:-- 1139k ==> Validating source files with sha512sums... pocl-6.0.tar.gz ... Passed ]2;🔵 Container arch-nspawn-3486506 on charizard.felixc.at==> Making package: pocl 6.0-2 (Mon Jul 22 20:26:29 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (7) New Version Net Change Download Size extra/compiler-rt 18.1.8-1 82.09 MiB core/libedit 20240517_3.1-1 0.24 MiB extra/libpciaccess 0.18.1-2 0.05 MiB extra/llvm-libs 18.1.8-4 121.23 MiB extra/clang 18.1.8-1 223.15 MiB extra/hwloc 2.10.0-1 1.41 MiB 0.53 MiB extra/ocl-icd 2.3.2-2 0.41 MiB Total Download Size: 0.53 MiB Total Installed Size: 428.60 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... hwloc-2.10.0-1-riscv64 downloading... 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 [installed] 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 (9) New Version Net Change Download Size extra/cppdap 1.58.0-2 1.48 MiB extra/hicolor-icon-theme 0.18-1 0.05 MiB extra/jsoncpp 1.9.5-3 3.13 MiB 0.43 MiB extra/libuv 1.48.0-2 0.56 MiB extra/rhash 1.4.4-1 0.31 MiB extra/cmake 3.30.0-1 68.36 MiB extra/llvm 18.1.8-4 140.71 MiB 23.88 MiB extra/ninja 1.12.1-1 0.29 MiB extra/opencl-headers 2:2024.05.08-1 0.38 MiB Total Download Size: 24.30 MiB Total Installed Size: 215.27 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... llvm-18.1.8-4-riscv64 downloading... jsoncpp-1.9.5-3-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing llvm... installing cppdap... installing hicolor-icon-theme... installing jsoncpp... Optional dependencies for jsoncpp jsoncpp-doc: documentation installing libuv... installing rhash... installing cmake... Optional dependencies for cmake make: for unix Makefile generator [installed] ninja: for ninja generator [pending] qt6-base: cmake-gui installing opencl-headers... Optional dependencies for opencl-headers opencl-clhpp: C++ support installing ninja... [?25h==> Retrieving sources...  -> Found pocl-6.0.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting pocl-6.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 14.1.1 -- The CXX compiler identification is GNU 14.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: 16 -- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.1") -- Checking for module 'hwloc' -- Found hwloc, version 2.10.0 -- Found Hwloc: hwloc -- Found hwloc 2.10.0 in /usr/include:hwloc -- Hwloc_VERSION 2.10.0 -- Hwloc_LIBRARIES hwloc -- Hwloc_INCLUDE_DIRS /usr/include -- Using hwloc (cached): 1 CMake Warning at CMakeLists.txt:542 (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: 18.1.8 -- LLVM_VERSION: 18.1 -- 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/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_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-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-18 -- 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 -- Did NOT find llvm-spirv! -- Did NOT find spirv-link! -- 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:692 (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:579 (include) -- Configuring incomplete, errors occurred! ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix2/build [?25h[?25hreceiving incremental file list pocl-6.0-2-riscv64-build.log sent 43 bytes received 1,748 bytes 511.71 bytes/sec total size is 3,906 speedup is 2.18