==> Building on s ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/pocl ./ PKGBUILD 1,160 100% 0.00kB/s 0:00:00 1,160 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) pocl-1.8-2.log 232 100% 226.56kB/s 0:00:00 232 100% 226.56kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,009 bytes received 93 bytes 440.80 bytes/sec total size is 1,348 speedup is 1.22 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix17 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] -> [felix17]...done ==> Making package: pocl 1.8-2 (Sun Mar 27 23:16:06 2022) ==> Retrieving sources...  -> Downloading pocl-1.8.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 100 125 100 125 0 0 554 0 --:--:-- --:--:-- --:--:-- 555 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1576k 0 1576k 0 0 1941k 0 --:--:-- --:--:-- --:--:-- 2925k ==> Validating source files with sha512sums... pocl-1.8.tar.gz ... Passed ==> Making package: pocl 1.8-2 (Sun 27 Mar 2022 11:17:07 PM CST) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (7) New Version Net Change extra/compiler-rt 13.0.1-1 28.02 MiB core/libedit 20210910_3.1-1 0.23 MiB extra/libpciaccess 0.16-2 0.05 MiB extra/llvm-libs 13.0.1-2.1 85.80 MiB extra/clang 13.0.1-2 156.82 MiB extra/hwloc 2.7.0-1 1.29 MiB extra/ocl-icd 2.3.1-1 0.24 MiB Total Installed Size: 272.45 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 (9) New Version Net Change extra/hicolor-icon-theme 0.17-2 0.05 MiB extra/jsoncpp 1.9.5-1 0.25 MiB core/libnsl 2.0.0-2 0.06 MiB extra/libuv 1.42.0-1 0.48 MiB extra/rhash 1.4.2-1 0.31 MiB extra/cmake 3.22.3-1 54.36 MiB extra/llvm 13.0.1-2.1 462.51 MiB community/ninja 1.10.2-1 0.21 MiB extra/opencl-headers 2:2022.01.04-1 0.30 MiB Total Installed Size: 518.54 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... [?25h==> Retrieving sources...  -> Found pocl-1.8.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting pocl-1.8.tar.gz with bsdtar ==> Starting build()... -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- 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 -- 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: 52 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Checking for module 'hwloc' -- Found hwloc, version 2.7.0 -- Found Hwloc: hwloc -- Found hwloc 2.7.0 in :hwloc -- Hwloc_VERSION 2.7.0 -- Hwloc_LIBRARIES hwloc -- Hwloc_INCLUDE_DIRS CMake Warning at CMakeLists.txt:440 (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: 13.0.1 -- LLVM_VERSION: 13.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-13.0.1.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 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_SYSLIBS is: -- llvm-config's LLVM_HAS_RTTI is: YES -- llvm-config's LLVM_LIBS is: -lLLVM-13 -- 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 clang++ works (required by vecmathlib) -- 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:721 (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:472 (include) -- Configuring incomplete, errors occurred! See also "/build/pocl/src/pocl-1.8/build/CMakeFiles/CMakeOutput.log". ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix17/build receiving incremental file list pocl-1.8-2-riscv64-build.log sent 43 bytes received 1,542 bytes 634.00 bytes/sec total size is 3,514 speedup is 2.22