==> Building on litleo ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/rocm-device-libs ./ PKGBUILD 1,260 100% 0.00kB/s 0:00:00 1,260 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=2/4) rocm-device-libs-5.6.1-1.log 249 100% 243.16kB/s 0:00:00 249 100% 243.16kB/s 0:00:00 (xfr#2, to-chk=1/4) rocm-device-libs-rm-gfx700.patch 525 100% 512.70kB/s 0:00:00 525 100% 512.70kB/s 0:00:00 (xfr#3, to-chk=0/4) sent 1,400 bytes received 124 bytes 3,048.00 bytes/sec total size is 1,978 speedup is 1.30 ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root0 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] -> [root0]...done ==> Making package: rocm-device-libs 5.6.1-1 (Wed Oct 25 04:14:13 2023) ==> Retrieving sources...  -> Downloading rocm-device-libs-5.6.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 242k 0 242k 0 0 159k 0 --:--:-- 0:00:01 --:--:-- 343k  -> Found rocm-device-libs-rm-gfx700.patch ==> Validating source files with sha256sums... rocm-device-libs-5.6.1.tar.gz ... Passed rocm-device-libs-rm-gfx700.patch ... Passed ==> Making package: rocm-device-libs 5.6.1-1 (Wed Oct 25 04:14:36 2023) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (9) New Version Net Change Download Size extra/cmake 3.27.7-2 62.35 MiB 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.4-1 0.31 MiB extra/rocm-cmake 5.6.1-1 0.10 MiB 0.02 MiB extra/rocm-llvm 5.6.1-1 4802.13 MiB 889.56 MiB Total Download Size: 889.59 MiB Total Installed Size: 4868.16 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... rocm-llvm-5.6.1-1-riscv64 downloading... rocm-cmake-5.6.1-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... 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 make: for unix Makefile generator [installed] ninja: for ninja generator qt6-base: cmake-gui installing rocm-cmake... installing rocm-llvm... [?25h==> Retrieving sources...  -> Found rocm-device-libs-5.6.1.tar.gz  -> Found rocm-device-libs-rm-gfx700.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting rocm-device-libs-5.6.1.tar.gz with bsdtar ==> Starting prepare()... patching file test/compile/CMakeLists.txt ==> Starting build()... -- The C compiler identification is Clang 16.0.0 -- The CXX compiler identification is Clang 16.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /opt/rocm/llvm/bin/clang -- Check for working C compiler: /opt/rocm/llvm/bin/clang - broken CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message): The C compiler "/opt/rocm/llvm/bin/clang" is not able to compile a simple test program. It fails with the following output: Change Dir: '/build/rocm-device-libs/src/build/CMakeFiles/CMakeScratch/TryCompile-HS02WZ' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_c198b/fast /usr/bin/make -f CMakeFiles/cmTC_c198b.dir/build.make CMakeFiles/cmTC_c198b.dir/build make[1]: Entering directory '/build/rocm-device-libs/src/build/CMakeFiles/CMakeScratch/TryCompile-HS02WZ' Building C object CMakeFiles/cmTC_c198b.dir/testCCompiler.c.o /opt/rocm/llvm/bin/clang -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/rocm-device-libs/src=/usr/src/debug/rocm-device-libs -flto=auto -MD -MT CMakeFiles/cmTC_c198b.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_c198b.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_c198b.dir/testCCompiler.c.o -c /build/rocm-device-libs/src/build/CMakeFiles/CMakeScratch/TryCompile-HS02WZ/testCCompiler.c clang-16: warning: argument unused during compilation: '-fstack-clash-protection' [-Wunused-command-line-argument] Linking C executable cmTC_c198b /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c198b.dir/link.txt --verbose=1 /opt/rocm/llvm/bin/clang -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -g -ffile-prefix-map=/build/rocm-device-libs/src=/usr/src/debug/rocm-device-libs -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto CMakeFiles/cmTC_c198b.dir/testCCompiler.c.o -o cmTC_c198b ld.lld: error: /lib/Scrt1.o:(.riscv.attributes): rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0: unsupported version number 2.1 for extension 'i' ld.lld: error: /usr/lib/gcc/riscv64-unknown-linux-gnu/13.2.1/crti.o:(.riscv.attributes): rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0: unsupported version number 2.1 for extension 'i' ld.lld: error: /usr/lib/gcc/riscv64-unknown-linux-gnu/13.2.1/crtbeginS.o:(.riscv.attributes): rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0: unsupported version number 2.1 for extension 'i' ld.lld: error: /usr/lib/gcc/riscv64-unknown-linux-gnu/13.2.1/crtendS.o:(.riscv.attributes): rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0: unsupported version number 2.1 for extension 'i' ld.lld: error: /usr/lib/gcc/riscv64-unknown-linux-gnu/13.2.1/crtn.o:(.riscv.attributes): rv64i2p1_m2p0_a2p1_f2p2_d2p2_c2p0_zicsr2p0_zifencei2p0_zmmul1p0: unsupported version number 2.1 for extension 'i' clang-16: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [CMakeFiles/cmTC_c198b.dir/build.make:100: cmTC_c198b] Error 1 make[1]: Leaving directory '/build/rocm-device-libs/src/build/CMakeFiles/CMakeScratch/TryCompile-HS02WZ' make: *** [Makefile:127: cmTC_c198b/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:10 (project) -- Configuring incomplete, errors occurred! ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root0/build receiving incremental file list rocm-device-libs-5.6.1-1-riscv64-build.log rocm-device-libs-5.6.1-1-riscv64-prepare.log sent 62 bytes received 1,396 bytes 583.20 bytes/sec total size is 3,799 speedup is 2.61