==> Building on ceruledge ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/lld ./ .SRCINFO 1,654 100% 0.00kB/s 0:00:00 1,654 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=6/8) PKGBUILD 2,289 100% 2.18MB/s 0:00:00 2,289 100% 2.18MB/s 0:00:00 (xfr#2, to-chk=5/8) lld-18.1.8-1.log 359 100% 350.59kB/s 0:00:00 359 100% 350.59kB/s 0:00:00 (xfr#3, to-chk=4/8) keys/ keys/pgp/ keys/pgp/474E22316ABF4785A88C6E8EA2C794A986419D8A.asc 1,660 100% 1.58MB/s 0:00:00 1,660 100% 1.58MB/s 0:00:00 (xfr#4, to-chk=1/8) keys/pgp/D574BD5D1D0E98895E3BF90044F2485E45D59042.asc 2,452 100% 2.34MB/s 0:00:00 2,452 100% 2.34MB/s 0:00:00 (xfr#5, to-chk=0/8) sent 5,579 bytes received 161 bytes 11,480.00 bytes/sec total size is 8,251 speedup is 1.44 ==> Ensuring required PGP keys are present...  -> Checking for 474E22316ABF4785A88C6E8EA2C794A986419D8A... ==> Patching arch to riscv64... ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l root3 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] -> [root3]...done ==> Making package: lld 18.1.8-1 (Wed Jul 17 18:57:54 2024) ==> Retrieving sources...  -> Downloading lld-18.1.8.src.tar.xz... % 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 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 1526k 0 7911 0 0 3434 0 0:07:35 0:00:02 0:07:33 8072 55 1526k 55 847k 0 0 258k 0 0:00:05 0:00:03 0:00:02 432k 100 1526k 100 1526k 0 0 442k 0 0:00:03 0:00:03 --:--:-- 717k  -> Downloading lld-18.1.8.src.tar.xz.sig... % 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 566 100 566 0 0 355 0 0:00:01 0:00:01 --:--:-- 355  -> Downloading llvm-18.1.8.src.tar.xz... % 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:00:01 --:--:-- 0 0 59.1M 0 64635 0 0 30931 0 0:33:24 0:00:02 0:33:22 72951 4 59.1M 4 2799k 0 0 926k 0 0:01:05 0:00:03 0:01:02 1540k 32 59.1M 32 19.1M 0 0 4908k 0 0:00:12 0:00:03 0:00:09 7020k 61 59.1M 61 36.2M 0 0 7427k 0 0:00:08 0:00:04 0:00:04 9782k 91 59.1M 91 54.3M 0 0 9275k 0 0:00:06 0:00:05 0:00:01 11.3M 100 59.1M 100 59.1M 0 0 9669k 0 0:00:06 0:00:06 --:--:-- 14.1M  -> Downloading llvm-18.1.8.src.tar.xz.sig... % 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 566 100 566 0 0 350 0 0:00:01 0:00:01 --:--:-- 350  -> Downloading libunwind-18.1.8.src.tar.xz... % 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 54 116k 54 64983 0 0 32488 0 0:00:03 0:00:02 0:00:01 62006 100 116k 100 116k 0 0 57706 0 0:00:02 0:00:02 --:--:-- 104k  -> Downloading libunwind-18.1.8.src.tar.xz.sig... % 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 566 100 566 0 0 354 0 0:00:01 0:00:01 --:--:-- 354  -> Downloading cmake-18.1.8.src.tar.xz... % 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:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 100 8708 100 8708 0 0 3384 0 0:00:02 0:00:02 --:--:-- 16843  -> Downloading cmake-18.1.8.src.tar.xz.sig... % 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 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 566 100 566 0 0 331 0 0:00:01 0:00:01 --:--:-- 1720 ==> Validating source files with sha256sums... lld-18.1.8.src.tar.xz ... Passed lld-18.1.8.src.tar.xz.sig ... Skipped llvm-18.1.8.src.tar.xz ... Passed llvm-18.1.8.src.tar.xz.sig ... Skipped libunwind-18.1.8.src.tar.xz ... Passed libunwind-18.1.8.src.tar.xz.sig ... Skipped cmake-18.1.8.src.tar.xz ... Passed cmake-18.1.8.src.tar.xz.sig ... Skipped ==> Verifying source file signatures with gpg... lld-18.1.8.src.tar.xz ... Passed llvm-18.1.8.src.tar.xz ... Passed libunwind-18.1.8.src.tar.xz ... Passed cmake-18.1.8.src.tar.xz ... Passed ==> Making package: lld 18.1.8-1 (Wed Jul 17 18:58:43 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (2) New Version Net Change core/libedit 20240517_3.1-1 0.24 MiB extra/llvm-libs 18.1.8-3 121.23 MiB Total Installed Size: 121.47 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... [?25h==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25lresolving dependencies... looking for conflicting packages... Package (29) 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-2 1.24 MiB extra/libuv 1.48.0-2 0.56 MiB extra/python-babel 2.14.0-2 34.47 MiB extra/python-charset-normalizer 3.3.2-2 0.43 MiB extra/python-docutils 1:0.21.2-1 5.65 MiB extra/python-idna 3.7-1 0.84 MiB 0.10 MiB extra/python-imagesize 1.4.1-5 0.05 MiB extra/python-jinja 1:3.1.4-1 1.74 MiB extra/python-markupsafe 2.1.5-2 0.07 MiB extra/python-packaging 24.1-1 0.49 MiB 0.10 MiB extra/python-pygments 2.18.0-1 14.10 MiB 2.29 MiB extra/python-pytz 2024.1-2 0.16 MiB extra/python-requests 2.32.3-1 0.60 MiB extra/python-snowballstemmer 2.2.0-6 2.59 MiB extra/python-sphinx-alabaster-theme 0.7.16-2 0.05 MiB extra/python-sphinxcontrib-applehelp 1.0.8-3 0.26 MiB extra/python-sphinxcontrib-devhelp 1.0.6-3 0.13 MiB extra/python-sphinxcontrib-htmlhelp 2.0.5-3 0.17 MiB extra/python-sphinxcontrib-jsmath 1.0.1-17 0.02 MiB extra/python-sphinxcontrib-qthelp 1.0.7-3 0.17 MiB extra/python-sphinxcontrib-serializinghtml 1.1.10-3 0.14 MiB extra/python-urllib3 1.26.18-3 1.26 MiB extra/rhash 1.4.4-1 0.31 MiB extra/cmake 3.30.0-1 68.36 MiB extra/llvm 18.1.8-3 140.64 MiB 23.86 MiB extra/ninja 1.12.1-1 0.29 MiB extra/python-sphinx 7.3.7-2 19.00 MiB Total Download Size: 26.35 MiB Total Installed Size: 295.31 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... llvm-18.1.8-3-riscv64 downloading... python-pygments-2.18.0-1-any downloading... python-idna-3.7-1-any downloading... python-packaging-24.1-1-any 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 ninja... installing python-pytz... installing python-babel... installing python-docutils... Optional dependencies for python-docutils python-myst-parser: to parse input in "Markdown" (CommonMark) format python-pillow: for some image manipulation operations python-pygments: for syntax highlighting of code directives and roles [pending] installing python-imagesize... installing python-markupsafe... installing python-jinja... Optional dependencies for python-jinja python-babel: for i18n support [installed] installing python-packaging... installing python-pygments... installing python-charset-normalizer... installing python-idna... installing python-urllib3... Optional dependencies for python-urllib3 python-brotli: Brotli support python-certifi: security support python-cryptography: security support python-idna: security support [installed] python-pyopenssl: security support python-pysocks: SOCKS support installing python-requests... Optional dependencies for python-requests python-chardet: alternative character encoding library python-pysocks: SOCKS proxy support installing python-snowballstemmer... Optional dependencies for python-snowballstemmer python-pystemmer: for improved performance installing python-sphinx-alabaster-theme... installing python-sphinxcontrib-applehelp... installing python-sphinxcontrib-devhelp... installing python-sphinxcontrib-htmlhelp... installing python-sphinxcontrib-jsmath... installing python-sphinxcontrib-qthelp... installing python-sphinxcontrib-serializinghtml... installing python-sphinx... Optional dependencies for python-sphinx imagemagick: for ext.imgconverter texlive-latexextra: for generation of PDF documentation [?25h==> Retrieving sources...  -> Found lld-18.1.8.src.tar.xz  -> Found lld-18.1.8.src.tar.xz.sig  -> Found llvm-18.1.8.src.tar.xz  -> Found llvm-18.1.8.src.tar.xz.sig  -> Found libunwind-18.1.8.src.tar.xz  -> Found libunwind-18.1.8.src.tar.xz.sig  -> Found cmake-18.1.8.src.tar.xz  -> Found cmake-18.1.8.src.tar.xz.sig ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Extracting lld-18.1.8.src.tar.xz with bsdtar  -> Extracting llvm-18.1.8.src.tar.xz with bsdtar  -> Extracting libunwind-18.1.8.src.tar.xz with bsdtar  -> Extracting cmake-18.1.8.src.tar.xz with bsdtar ==> Starting prepare()... ==> Starting build()... CMake Deprecation Warning at /build/lld/src/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy): The OLD behavior for policy CMP0114 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. Call Stack (most recent call first): CMakeLists.txt:6 (include) CMake Deprecation Warning at /build/lld/src/cmake/Modules/CMakePolicy.cmake:11 (cmake_policy): The OLD behavior for policy CMP0116 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. Call Stack (most recent call first): CMakeLists.txt:6 (include) -- 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 -- Performing Test HAVE_FFI_CALL -- Performing Test HAVE_FFI_CALL - Success -- Found FFI: /usr/lib/libffi.so -- Looking for histedit.h -- Looking for histedit.h - found -- Found LibEdit: /usr/include (found version "2.11") -- Performing Test Terminfo_LINKABLE -- Performing Test Terminfo_LINKABLE - Success -- Found Terminfo: /usr/lib/libtinfo.so -- Found ZLIB: /usr/lib/libz.so (found version "1.3.1") -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found LibXml2: /usr/lib/libxml2.so (found version "2.13.2") -- Linker detection: GNU ld -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test C_SUPPORTS_WERROR_DATE_TIME -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS -- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS - Success -- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS -- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS - Success -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG - Success -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG - Success -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Failed -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success -- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG -- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Failed -- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG -- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS - Failed -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FDATA_SECTIONS -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success -- Looking for os_signpost_interval_begin -- Looking for os_signpost_interval_begin - not found -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS_WITHOUT_LIB - Success -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB -- Performing Test HAVE_CXX_ATOMICS64_WITHOUT_LIB - Success -- Performing Test LLVM_HAS_ATOMICS -- Performing Test LLVM_HAS_ATOMICS - Success -- Found Python3: /usr/bin/python3.12 (found version "3.12.4") found components: Interpreter -- LLD version: 18.1.8 -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Could NOT find Git (missing: GIT_EXECUTABLE) CMake Warning at /usr/lib/cmake/llvm/AddLLVM.cmake:2512 (message): gtest not found, unittests will not be available Call Stack (most recent call first): CMakeLists.txt:195 (llvm_add_unittests) -- Sphinx enabled. -- Found Sphinx: /usr/bin/sphinx-build -- Configuring done (34.4s) -- Generating done (0.2s) -- Build files have been written to: /build/lld/src/lld-18.1.8.src/build [1/134] Building Options.inc... [2/134] Building Options.inc... [3/134] Building Options.inc... [4/134] Building Options.inc... [5/134] Building Options.inc... [6/134] Generating VCSVersion.inc [7/134] Building CXX object Common/CMakeFiles/lldCommon.dir/Args.cpp.o [8/134] Building CXX object Common/CMakeFiles/lldCommon.dir/CommonLinkerContext.cpp.o [9/134] Generating html Sphinx documentation for lld into "/build/lld/src/lld-18.1.8.src/build/docs/html" [10/134] Building CXX object Common/CMakeFiles/lldCommon.dir/DriverDispatcher.cpp.o [11/134] Building CXX object Common/CMakeFiles/lldCommon.dir/DWARF.cpp.o [12/134] Building CXX object Common/CMakeFiles/lldCommon.dir/Reproduce.cpp.o [13/134] Building CXX object Common/CMakeFiles/lldCommon.dir/Memory.cpp.o [14/134] Building CXX object Common/CMakeFiles/lldCommon.dir/Filesystem.cpp.o [15/134] Building CXX object Common/CMakeFiles/lldCommon.dir/Version.cpp.o [16/134] Building CXX object Common/CMakeFiles/lldCommon.dir/TargetOptionsCommandFlags.cpp.o [17/134] Building CXX object Common/CMakeFiles/lldCommon.dir/Strings.cpp.o [18/134] Building CXX object Common/CMakeFiles/lldCommon.dir/Timer.cpp.o [19/134] Building CXX object Common/CMakeFiles/lldCommon.dir/ErrorHandler.cpp.o [20/134] Building CXX object COFF/CMakeFiles/lldCOFF.dir/CallGraphSort.cpp.o [21/134] Building CXX object COFF/CMakeFiles/lldCOFF.dir/COFFLinkerContext.cpp.o [22/134] Building CXX object COFF/CMakeFiles/lldCOFF.dir/Chunks.cpp.o [23/134] Linking CXX shared library lib/liblldCommon.so.18.1 [24/134] Creating library symlink lib/liblldCommon.so [25/134] Building CXX object COFF/CMakeFiles/lldCOFF.dir/DLL.cpp.o [26/134] Building CXX object COFF/CMakeFiles/lldCOFF.dir/DebugTypes.cpp.o [27/134] Building CXX object COFF/CMakeFiles/lldCOFF.dir/ICF.cpp.o [28/134] Building CXX object COFF/CMakeFiles/lldCOFF.dir/DriverUtils.cpp.o [29/134] Building CXX object COFF/CMakeFiles/lldCOFF.dir/LLDMapFile.cpp.o [30/134] Building CXX object COFF/CMakeFiles/lldCOFF.dir/MapFile.cpp.o FAILED: COFF/CMakeFiles/lldCOFF.dir/MapFile.cpp.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/lld/src/lld-18.1.8.src/build/COFF -I/build/lld/src/lld-18.1.8.src/COFF -I/build/lld/src/lld-18.1.8.src/include -I/build/lld/src/lld-18.1.8.src/build/include -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/lld/src=/usr/src/debug/lld -flto=auto -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/MapFile.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/MapFile.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/MapFile.cpp.o -c /build/lld/src/lld-18.1.8.src/COFF/MapFile.cpp In file included from /usr/include/c++/14.1.1/bits/stl_algobase.h:66, from /usr/include/c++/14.1.1/algorithm:60, from /usr/include/llvm/ADT/DenseMap.h:25, from /usr/include/llvm/ADT/MapVector.h:20, from /build/lld/src/lld-18.1.8.src/COFF/Config.h:12, from /build/lld/src/lld-18.1.8.src/COFF/Chunks.h:12, from /build/lld/src/lld-18.1.8.src/COFF/COFFLinkerContext.h:12, from /build/lld/src/lld-18.1.8.src/COFF/MapFile.cpp:31: /usr/include/c++/14.1.1/bits/stl_iterator_base_funcs.h: In instantiation of ‘constexpr typename std::iterator_traits< >::difference_type std::distance(_InputIterator, _InputIterator) [with _InputIterator = __gnu_cxx::__normal_iterator*, vector > >; typename iterator_traits< >::difference_type = long int]’: /usr/include/llvm/Support/Parallel.h:158:50: required from ‘void llvm::parallel::detail::parallel_sort(RandomAccessIterator, RandomAccessIterator, const Comparator&) [with RandomAccessIterator = __gnu_cxx::__normal_iterator*, std::vector > >; Comparator = std::less >]’ 158 | llvm::Log2_64(std::distance(Start, End)) + 1); | ~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/include/llvm/Support/Parallel.h:223:36: required from ‘void llvm::parallelSort(RandomAccessIterator, RandomAccessIterator, const Comparator&) [with RandomAccessIterator = __gnu_cxx::__normal_iterator*, std::vector > >; Comparator = std::less >]’ 223 | parallel::detail::parallel_sort(Start, End, Comp); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/llvm/Support/Parallel.h:257:15: required from ‘void llvm::parallelSort(RangeTy&&, const Comparator&) [with RangeTy = std::vector >&; Comparator = std::less >]’ 257 | parallelSort(std::begin(R), std::end(R), Comp); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/lld/src/lld-18.1.8.src/COFF/MapFile.cpp:77:15: required from here 77 | parallelSort(v, std::less()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/14.1.1/bits/stl_iterator_base_funcs.h:153:5: internal compiler error: Segmentation fault 153 | } | ^ 0x218dbf3 internal_error(char const*, ...) ???:0 0x58de22 cp_get_fndecl_from_callee(tree_node*, bool) ???:0 0x5755c9 is_nondependent_constant_expression(tree_node*) ???:0 0x575617 maybe_constant_value(tree_node*, tree_node*, mce_value) ???:0 0xe210f3 walk_tree_1(tree_node**, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*, tree_node* (*)(tree_node**, int*, tree_node* (*)(tree_node**, int*, void*), void*, hash_set >*)) ???:0 0x58eebf cp_fold_function(tree_node*) ???:0 0x5e0c27 finish_function(bool) ???:0 0x6a065b instantiate_decl(tree_node*, bool, bool) ???:0 0x6b5f51 instantiate_pending_templates(int) ???:0 0x5fcb5b c_parse_final_cleanups() ???:0 0x770321 c_common_parse_file() ???:0 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See for instructions. [31/134] Building CXX object COFF/CMakeFiles/lldCOFF.dir/MinGW.cpp.o [32/134] Building CXX object COFF/CMakeFiles/lldCOFF.dir/MarkLive.cpp.o [33/134] Building CXX object COFF/CMakeFiles/lldCOFF.dir/LTO.cpp.o [34/134] Building CXX object COFF/CMakeFiles/lldCOFF.dir/Driver.cpp.o [35/134] Building CXX object COFF/CMakeFiles/lldCOFF.dir/InputFiles.cpp.o ninja: build stopped: subcommand failed. ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/root3/build [?25h[?25hreceiving incremental file list lld-18.1.8-1-riscv64-build.log lld-18.1.8-1-riscv64-prepare.log sent 62 bytes received 3,961 bytes 2,682.00 bytes/sec total size is 14,930 speedup is 3.71