==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_5de0a192-2a35-4964-b87f-dfc4522a126c]...done ==> Making package: lld18 18.1.6-2.2 (Sun Apr 26 11:57:16 2026) ==> Retrieving sources... -> Downloading lld-18.1.6.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 100 1.49M 100 1.49M 0 0 3.30M 0 0 100 1.49M 100 1.49M 0 0 3.30M 0 0 100 1.49M 100 1.49M 0 0 3.30M 0 0 -> Downloading lld-18.1.6.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 00:01 0 0 0 0 0 0 0 0 0 00:02 0 0 0 0 0 0 0 0 0 00:03 0 0 0 0 0 0 0 0 0 00:04 0 0 0 0 0 0 0 0 0 00:05 0 0 0 0 0 0 0 0 0 00:06 0 0 0 0 0 0 0 0 0 00:07 0 0 0 0 0 0 0 0 0 00:08 0 0 0 0 0 0 0 0 0 00:09 0 0 0 0 0 0 0 0 0 00:10 0 0 0 0 0 0 0 0 0 00:11 0 0 0 0 0 0 0 0 0 00:12 0 0 0 0 0 0 0 0 0 00:13 0 0 0 0 0 0 0 0 0 00:14 0 0 0 0 0 0 0 0 0 00:15 0 0 0 0 0 0 0 0 0 00:16 0 0 0 0 0 0 0 0 0 00:17 0 0 0 0 0 0 0 0 0 00:18 0 0 0 0 0 0 0 0 0 00:19 0 0 0 0 0 0 0 0 0 00:20 0 0 0 0 0 0 0 0 0 00:21 0 0 0 0 0 0 0 0 0 00:22 0 0 0 0 0 0 0 0 0 00:23 0 0 0 0 0 0 0 0 0 00:24 0 0 0 0 0 0 0 0 0 00:25 0 0 0 0 0 0 0 0 0 00:26 0 0 0 0 0 0 0 0 0 00:27 0 0 0 0 0 0 0 0 0 00:28 0 0 0 0 0 0 0 0 0 00:29 0 0 0 0 0 0 0 0 0 00:30 0 0 0 0 0 0 0 0 0 00:31 0 0 0 0 0 0 0 0 0 00:32 0 0 0 0 0 0 0 0 0 00:33 0 0 0 0 0 0 0 0 0 00:34 0 0 0 0 0 0 0 0 0 00:35 0 0 0 0 0 0 0 0 0 00:36 0 0 0 0 0 0 0 0 0 00:37 0 0 0 0 0 0 0 0 0 00:38 0 0 0 0 0 0 0 0 0 00:39 0 0 0 0 0 0 0 0 0 00:40 0 0 0 0 0 0 0 0 0 00:41 0 0 0 0 0 0 0 0 0 00:42 0 0 0 0 0 0 0 0 0 00:43 0 0 0 0 0 0 0 0 0 00:44 0 0 0 0 0 0 0 0 0 00:45 0 0 0 0 0 0 0 0 0 00:46 0 0 0 0 0 0 0 0 0 00:47 0 0 0 0 0 0 0 0 0 00:48 0 0 0 0 0 0 0 0 0 00:49 0 0 0 0 0 0 0 0 0 00:50 0 0 0 0 0 0 0 0 0 00:51 0 0 0 0 0 0 0 0 0 00:52 0 0 0 0 0 0 0 0 0 00:53 0 0 0 0 0 0 0 0 0 00:54 0 0 0 0 0 0 0 0 0 00:55 0 0 0 0 0 0 0 0 0 00:56 0 0 0 0 0 0 0 0 0 00:57 0 0 0 0 0 0 0 0 0 00:58 0 0 0 0 0 0 0 0 0 00:59 0 0 0 0 0 0 0 0 0 01:00 0 0 0 0 0 0 0 0 0 01:01 0 0 0 0 0 0 0 0 0 01:02 0 0 0 0 0 0 0 0 0 01:03 0 0 0 0 0 0 0 0 0 01:04 0 0 0 0 0 0 0 0 0 01:05 0 0 0 0 0 0 0 0 0 01:06 0 0 0 0 0 0 0 0 0 01:07 0 0 0 0 0 0 0 0 0 01:08 0 0 0 0 0 0 0 0 0 01:09 0 0 0 0 0 0 0 0 0 01:10 0 0 0 0 0 0 0 0 0 01:11 0 0 0 0 0 0 0 0 0 01:12 0 0 0 0 0 0 0 0 0 01:13 0 0 0 0 0 0 0 0 0 01:13 0 0 0 0 0 0 0 0 0 01:13 0 0 0 0 0 0 0 0 0 01:13 0 100 566 100 566 0 0 7 0 01:20 01:13 00:07 0 100 566 100 566 0 0 7 0 01:20 01:13 00:07 0 100 566 100 566 0 0 7 0 01:20 01:13 00:07 0 -> Downloading llvm-18.1.6.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 11 59.11M 11 6.98M 0 0 6.36M 0 00:09 00:01 00:08 6.96M 26 59.11M 26 15.70M 0 0 7.48M 0 00:07 00:02 00:05 7.84M 40 59.11M 40 24.17M 0 0 7.80M 0 00:07 00:03 00:04 8.05M 55 59.11M 55 32.96M 0 0 8.04M 0 00:07 00:04 00:03 8.23M 70 59.11M 70 41.91M 0 0 8.21M 0 00:07 00:05 00:02 8.37M 81 59.11M 81 48.04M 0 0 7.87M 0 00:07 00:06 00:01 8.20M 90 59.11M 90 53.40M 0 0 7.52M 0 00:07 00:07 7.53M 100 59.11M 100 59.11M 0 0 7.39M 0 00:07 00:07 7.53M 100 59.11M 100 59.11M 0 0 7.39M 0 00:07 00:07 7.53M 100 59.11M 100 59.11M 0 0 7.39M 0 00:07 00:07 7.53M -> Downloading llvm-18.1.6.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 100 566 100 566 0 0 3173 0 0 100 566 100 566 0 0 3172 0 0 100 566 100 566 0 0 3171 0 0 -> Downloading libunwind-18.1.6.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 100 116.5k 100 116.5k 0 0 458.3k 0 0 100 116.5k 100 116.5k 0 0 458.2k 0 0 100 116.5k 100 116.5k 0 0 458.1k 0 0 -> Downloading libunwind-18.1.6.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 100 566 100 566 0 0 3279 0 0 100 566 100 566 0 0 3279 0 0 100 566 100 566 0 0 3278 0 0 -> Downloading cmake-18.1.6.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 100 8708 100 8708 0 0 47221 0 0 100 8708 100 8708 0 0 47209 0 0 100 8708 100 8708 0 0 47201 0 0 -> Downloading cmake-18.1.6.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 100 566 100 566 0 0 3088 0 0 100 566 100 566 0 0 3087 0 0 100 566 100 566 0 0 3087 0 0 ==> Validating source files with sha256sums... lld-18.1.6.src.tar.xz ... Passed lld-18.1.6.src.tar.xz.sig ... Skipped llvm-18.1.6.src.tar.xz ... Passed llvm-18.1.6.src.tar.xz.sig ... Skipped libunwind-18.1.6.src.tar.xz ... Passed libunwind-18.1.6.src.tar.xz.sig ... Skipped cmake-18.1.6.src.tar.xz ... Passed cmake-18.1.6.src.tar.xz.sig ... Skipped ==> Verifying source file signatures with gpg... lld-18.1.6.src.tar.xz ... Passed llvm-18.1.6.src.tar.xz ... Passed libunwind-18.1.6.src.tar.xz ... Passed cmake-18.1.6.src.tar.xz ... Passed ==> Making package: lld18 18.1.6-2.2 (Sun Apr 26 09:58:41 2026) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (2) New Version Net Change core/libedit 20251016_3.1-1 0.26 MiB extra/llvm18-libs 18.1.8-2 128.96 MiB Total Installed Size: 129.22 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libedit... installing llvm18-libs... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (35) New Version Net Change extra/cppdap 1.58.0-3 1.61 MiB extra/hicolor-icon-theme 0.18-1 0.05 MiB extra/jsoncpp 1.9.6-3 0.77 MiB extra/libuv 1.52.1-1 0.64 MiB extra/llvm-libs 22.1.3-1 160.11 MiB core/mpdecimal 4.0.1-3 0.32 MiB core/python 3.14.4-1 72.32 MiB extra/python-babel 2.17.0-3 30.53 MiB extra/python-certifi 2026.04.22-1 0.02 MiB extra/python-charset-normalizer 3.4.7-1 0.96 MiB extra/python-docutils 1:0.22.4-1 6.52 MiB extra/python-idna 3.13-1 0.85 MiB extra/python-imagesize 2.0.0-1 0.12 MiB extra/python-jinja 1:3.1.6-3 2.04 MiB extra/python-markupsafe 3.0.3-1 0.09 MiB extra/python-packaging 26.2-1 1.23 MiB extra/python-pygments 2.20.0-1 15.36 MiB extra/python-pytz 2026.1-1 0.17 MiB extra/python-requests 2.33.1-1 0.60 MiB extra/python-roman-numerals-py 3.1.0-2 0.04 MiB extra/python-snowballstemmer 3.0.1-1 2.91 MiB extra/python-sphinx-alabaster-theme 1.0.0-6 0.05 MiB extra/python-sphinxcontrib-applehelp 2.0.0-5 0.26 MiB extra/python-sphinxcontrib-devhelp 2.0.0-6 0.13 MiB extra/python-sphinxcontrib-htmlhelp 2.1.0-5 0.18 MiB extra/python-sphinxcontrib-jsmath 1.0.1-21 0.02 MiB extra/python-sphinxcontrib-qthelp 2.0.0-5 0.17 MiB extra/python-sphinxcontrib-serializinghtml 2.0.0-5 0.14 MiB extra/python-urllib3 2.6.3-1 1.44 MiB extra/rhash 1.4.6-1 0.34 MiB extra/cmake 4.3.2-1 95.21 MiB extra/llvm 22.1.3-1 129.12 MiB extra/llvm18 18.1.8-2 66.67 MiB extra/ninja 1.13.2-3 0.41 MiB extra/python-sphinx 9.1.0-1 23.72 MiB Total Installed Size: 615.14 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing llvm18... 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 mpdecimal... installing python... Optional dependencies for python python-setuptools: for building Python packages using tooling that is usually bundled with Python python-pip: for installing Python packages using tooling that is usually bundled with Python python-pipx: for installing Python software not packaged on Arch Linux sqlite: for a default database integration [installed] xz: for lzma [installed] tk: for tkinter 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-brotlicffi: Brotli support python-h2: HTTP/2 support python-pysocks: SOCKS support installing python-certifi... installing python-requests... Optional dependencies for python-requests python-chardet: alternative character encoding library python-pysocks: SOCKS proxy support installing python-roman-numerals-py... 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-fontsextra: for the default admonition title icons in PDF output texlive-latexextra: for generation of PDF documentation installing llvm-libs... installing llvm... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Found lld-18.1.6.src.tar.xz -> Found lld-18.1.6.src.tar.xz.sig -> Found llvm-18.1.6.src.tar.xz -> Found llvm-18.1.6.src.tar.xz.sig -> Found libunwind-18.1.6.src.tar.xz -> Found libunwind-18.1.6.src.tar.xz.sig -> Found cmake-18.1.6.src.tar.xz -> Found cmake-18.1.6.src.tar.xz.sig ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting lld-18.1.6.src.tar.xz with bsdtar -> Extracting llvm-18.1.6.src.tar.xz with bsdtar -> Extracting libunwind-18.1.6.src.tar.xz with bsdtar -> Extracting cmake-18.1.6.src.tar.xz with bsdtar ==> Starting prepare()... ==> Starting build()... CMake Deprecation Warning at /startdir/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 /startdir/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 15.2.1 -- The CXX compiler identification is GNU 15.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 -- 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.2") -- 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.15.3") -- Found CURL: /usr/lib/libcurl.so (found version "8.19.0") -- 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.14 (found version "3.14.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/llvm18/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) -- Configuring done (3.3s) -- Generating done (0.0s) -- Build files have been written to: /startdir/src/lld-18.1.6.src/build [1/133] Building Options.inc... [2/133] Building Options.inc... [3/133] Building Options.inc... [4/133] Building Options.inc... [5/133] Building Options.inc... [6/133] Generating VCSVersion.inc [7/133] Building CXX object Common/CMakeFiles/lldCommon.dir/Version.cpp.o [8/133] Building CXX object Common/CMakeFiles/lldCommon.dir/TargetOptionsCommandFlags.cpp.o [9/133] Building CXX object Common/CMakeFiles/lldCommon.dir/Memory.cpp.o FAILED: [code=1] Common/CMakeFiles/lldCommon.dir/Memory.cpp.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/startdir/src/lld-18.1.6.src/build/Common -I/startdir/src/lld-18.1.6.src/Common -I/startdir/src/lld-18.1.6.src/include -I/startdir/src/lld-18.1.6.src/build/include -I/usr/lib/llvm18/include -march=x86-64-v3 -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mpclmul -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/startdir/src=/usr/src/debug/lld18 -flto=auto -falign-functions=32 -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 Common/CMakeFiles/lldCommon.dir/Memory.cpp.o -MF Common/CMakeFiles/lldCommon.dir/Memory.cpp.o.d -o Common/CMakeFiles/lldCommon.dir/Memory.cpp.o -c /startdir/src/lld-18.1.6.src/Common/Memory.cpp In file included from /usr/lib/llvm18/include/llvm/Support/Allocator.h:20, from /startdir/src/lld-18.1.6.src/include/lld/Common/Memory.h:24, from /startdir/src/lld-18.1.6.src/Common/Memory.cpp:9: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:119:62: error: ‘uint64_t’ was not declared in this scope 119 | std::conditional_t= 8, uint64_t, | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:29:1: note: ‘uint64_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ 28 | #include +++ |+#include 29 | #include /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:120:24: error: ‘uint32_t’ was not declared in this scope 120 | uint32_t>; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:120:24: note: ‘uint32_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:120:32: error: template argument 2 is invalid 120 | uint32_t>; | ^ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:120:32: error: template argument 3 is invalid /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:124:27: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? [-Wtemplate-body] 124 | alignas(SmallVectorBase>) char Base[sizeof( | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:124:47: error: template argument 1 is invalid [-Wtemplate-body] 124 | alignas(SmallVectorBase>) char Base[sizeof( | ^ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:124:48: error: expected ‘)’ before ‘>’ token [-Wtemplate-body] 124 | alignas(SmallVectorBase>) char Base[sizeof( | ~ ^~ | ) /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:124:48: error: expected unqualified-id before ‘>’ token [-Wtemplate-body] 124 | alignas(SmallVectorBase>) char Base[sizeof( | ^~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:134:30: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? [-Wtemplate-body] 134 | : public SmallVectorBase> { | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:134:50: error: template argument 1 is invalid [-Wtemplate-body] 134 | : public SmallVectorBase> { | ^ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:134:51: error: expected ‘{’ before ‘>’ token 134 | : public SmallVectorBase> { | ^~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In member function ‘T* llvm::SmallVectorTemplateBase >::mallocForGrow(size_t, size_t&)’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:457:23: error: ‘SmallVectorSizeType’ was not declared in this scope; did you mean ‘SmallVectorBase’? [-Wtemplate-body] 457 | SmallVectorBase>::mallocForGrow( | ^~~~~~~~~~~~~~~~~~~ | SmallVectorBase /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:457:43: error: template argument 1 is invalid [-Wtemplate-body] 457 | SmallVectorBase>::mallocForGrow( | ^ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:457:48: error: ‘::mallocForGrow’ has not been declared [-Wtemplate-body] 457 | SmallVectorBase>::mallocForGrow( | ^~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: At global scope: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1330:45: error: ‘uint32_t’ was not declared in this scope 1330 | extern template class llvm::SmallVectorBase; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1330:45: note: ‘uint32_t’ is defined in header ‘’; this is probably fixable by adding ‘#include ’ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1330:53: error: template argument 1 is invalid 1330 | extern template class llvm::SmallVectorBase; | ^ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:311:26: required from here 311 | SmallVector Slabs; | ^~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:488:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 488 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:311:26: required from here 311 | SmallVector Slabs; | ^~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 630 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase, true>’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl >’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector, 0>’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:314:45: required from here 314 | SmallVector, 0> CustomSizedSlabs; | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:488:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon, void>’ 488 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon, void>’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl >’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1208:22: required from ‘class llvm::SmallVector, 0>’ 1208 | class LLVM_GSL_OWNER SmallVector : public SmallVectorImpl, | ^~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:314:45: required from here 314 | SmallVector, 0> CustomSizedSlabs; | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ {aka ‘class llvm::SmallVectorTemplateBase, true>’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl >::SuperClass = class llvm::SmallVectorTemplateBase, true>’ 630 | using SuperClass::set_size; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:351:59: error: expected ‘)’ before ‘,’ token [-Wtemplate-body] 351 | void DeallocateSlabs(SmallVectorImpl::iterator I, | ~ ^ | ) /usr/lib/llvm18/include/llvm/Support/Allocator.h:352:24: error: invalid use of qualified-name ‘llvm::SmallVectorImpl::iterator’ [-Wtemplate-body] 352 | SmallVectorImpl::iterator E) { | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:352:49: error: expected ‘;’ at end of member declaration [-Wtemplate-body] 352 | SmallVectorImpl::iterator E) { | ^~~~~~~~ | ; /usr/lib/llvm18/include/llvm/Support/Allocator.h:352:58: error: ‘E’ does not name a type [-Wtemplate-body] 352 | SmallVectorImpl::iterator E) { | ^ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In destructor ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl()’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:98:27: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 98 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:98:42: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 98 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘llvm::BumpPtrAllocatorImpl& llvm::BumpPtrAllocatorImpl::operator=(llvm::BumpPtrAllocatorImpl&&)’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:103:27: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 103 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:103:42: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 103 | DeallocateSlabs(Slabs.begin(), Slabs.end()); | ^~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::Reset()’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:128:15: error: ‘class llvm::SmallVector’ has no member named ‘empty’ [-Wtemplate-body] 128 | if (Slabs.empty()) | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:133:28: error: ‘class llvm::SmallVector’ has no member named ‘front’ [-Wtemplate-body] 133 | CurPtr = (char *)Slabs.front(); | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:137:37: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 137 | DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:137:53: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 137 | DeallocateSlabs(std::next(Slabs.begin()), Slabs.end()); | ^~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:138:11: error: ‘class llvm::SmallVector’ has no member named ‘erase’ [-Wtemplate-body] 138 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:138:33: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 138 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:138:49: error: ‘class llvm::SmallVector’ has no member named ‘end’ [-Wtemplate-body] 138 | Slabs.erase(std::next(Slabs.begin()), Slabs.end()); | ^~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘size_t llvm::BumpPtrAllocatorImpl::GetNumSlabs() const’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:225:45: error: ‘const class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 225 | size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } | ^~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:225:71: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘size’ [-Wtemplate-body] 225 | size_t GetNumSlabs() const { return Slabs.size() + CustomSizedSlabs.size(); } | ^~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘std::optional llvm::BumpPtrAllocatorImpl::identifyObject(const void*)’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:235:36: error: ‘class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 235 | for (size_t Idx = 0, E = Slabs.size(); Idx < E; Idx++) { | ^~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:236:54: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector’ and ‘size_t’ {aka ‘long unsigned int’}) [-Wtemplate-body] 236 | const char *S = static_cast(Slabs[Idx]); | ^ /usr/lib/llvm18/include/llvm/Support/Allocator.h:244:47: error: ‘class llvm::SmallVector, 0>’ has no member named ‘size’ [-Wtemplate-body] 244 | for (size_t Idx = 0, E = CustomSizedSlabs.size(); Idx < E; Idx++) { | ^~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:245:65: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 0>’ and ‘size_t’ {aka ‘long unsigned int’}) [-Wtemplate-body] 245 | const char *S = static_cast(CustomSizedSlabs[Idx].first); | ^ /usr/lib/llvm18/include/llvm/Support/Allocator.h:246:37: error: no match for ‘operator[]’ (operand types are ‘llvm::SmallVector, 0>’ and ‘size_t’ {aka ‘long unsigned int’}) [-Wtemplate-body] 246 | size_t Size = CustomSizedSlabs[Idx].second; | ^ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘size_t llvm::BumpPtrAllocatorImpl::getTotalMemory() const’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:283:25: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 283 | for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:283:56: error: ‘E’ was not declared in this scope [-Wtemplate-body] 283 | for (auto I = Slabs.begin(), E = Slabs.end(); I != E; ++I) | ^ /usr/lib/llvm18/include/llvm/Support/Allocator.h:284:58: error: ‘const class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 284 | TotalMemory += computeSlabSize(std::distance(Slabs.begin(), I)); | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: error: no matching function for call to ‘begin(const llvm::SmallVector, 0>&)’ [-Wtemplate-body] 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: there are 6 candidates In file included from /usr/include/c++/15.2.1/utility:75, from /usr/lib/llvm18/include/llvm/Support/type_traits.h:18, from /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:18: /usr/include/c++/15.2.1/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15.2.1/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ In file included from /usr/include/c++/15.2.1/unordered_map:44, from /usr/include/c++/15.2.1/functional:65, from /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:24: /usr/include/c++/15.2.1/bits/range_access.h:54:5: note: candidate 2: ‘template constexpr decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15.2.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: required from here 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:55:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:66:5: note: candidate 3: ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15.2.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: required from here 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: error: no matching function for call to ‘end(const llvm::SmallVector, 0>&)’ [-Wtemplate-body] /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: there are 6 candidates /usr/include/c++/15.2.1/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15.2.1/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:78:5: note: candidate 2: ‘template constexpr decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15.2.1/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15.2.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(_Container&) [with _Container = const llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: required from here 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:79:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15.2.1/bits/range_access.h:90:5: note: candidate 3: ‘template constexpr decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15.2.1/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15.2.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: required from here 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15.2.1/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15.2.1/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: mismatched types ‘_Tp [_Nm]’ and ‘const llvm::SmallVector, 0>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15.2.1/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: types ‘std::valarray<_Tp>’ and ‘const llvm::SmallVector, 0>’ have incompatible cv-qualifiers 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15.2.1/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:285:35: note: ‘const llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 285 | for (const auto &PtrAndSize : CustomSizedSlabs) | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::PrintStats() const’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:297:46: error: ‘const class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 297 | detail::printBumpPtrAllocatorStats(Slabs.size(), BytesAllocated, | ^~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab()’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:337:54: error: ‘class llvm::SmallVector’ has no member named ‘size’ [-Wtemplate-body] 337 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ^~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘void llvm::BumpPtrAllocatorImpl::DeallocateCustomSizedSlabs()’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: error: no matching function for call to ‘begin(llvm::SmallVector, 0>&)’ [-Wtemplate-body] 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: there are 6 candidates /usr/include/c++/15.2.1/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15.2.1/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:54:5: note: candidate 2: ‘template constexpr decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15.2.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: required from here 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:55:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:66:5: note: candidate 3: ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15.2.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: required from here 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: error: no matching function for call to ‘end(llvm::SmallVector, 0>&)’ [-Wtemplate-body] /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: there are 6 candidates /usr/include/c++/15.2.1/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15.2.1/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:78:5: note: candidate 2: ‘template constexpr decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15.2.1/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15.2.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: required from here 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:79:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15.2.1/bits/range_access.h:90:5: note: candidate 3: ‘template constexpr decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15.2.1/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15.2.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: required from here 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15.2.1/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15.2.1/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15.2.1/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15.2.1/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:363:29: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 363 | for (auto &PtrAndSize : CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h: In member function ‘void llvm::SpecificBumpPtrAllocator::DestroyAll()’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:410:35: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 410 | for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:410:76: error: ‘E’ was not declared in this scope [-Wtemplate-body] 410 | for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E; | ^ /usr/lib/llvm18/include/llvm/Support/Allocator.h:413:41: error: ‘class llvm::SmallVector’ has no member named ‘begin’ [-Wtemplate-body] 413 | std::distance(Allocator.Slabs.begin(), I)); | ^~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:415:41: error: ‘class llvm::SmallVector’ has no member named ‘back’ [-Wtemplate-body] 415 | char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr | ^~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: error: no matching function for call to ‘begin(llvm::SmallVector, 0>&)’ [-Wtemplate-body] 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: there are 6 candidates /usr/include/c++/15.2.1/initializer_list:90:5: note: candidate 1: ‘template constexpr const _Tp* std::begin(initializer_list<_Tp>)’ 90 | begin(initializer_list<_Tp> __ils) noexcept | ^~~~~ /usr/include/c++/15.2.1/initializer_list:90:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:54:5: note: candidate 2: ‘template constexpr decltype (__cont.begin()) std::begin(_Container&)’ 54 | begin(_Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:54:5: note: template argument deduction/substitution failed: /usr/include/c++/15.2.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: required from here 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:55:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘begin’ 55 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:66:5: note: candidate 3: ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&)’ 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) | ^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:66:5: note: template argument deduction/substitution failed: /usr/include/c++/15.2.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: required from here 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:67:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘begin’ 67 | -> decltype(__cont.begin()) | ~~~~~~~^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:101:5: note: candidate 4: ‘template constexpr _Tp* std::begin(_Tp (&)[_Nm])’ 101 | begin(_Tp (&__arr)[_Nm]) noexcept | ^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:101:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:119:31: note: candidate 5: ‘template _Tp* std::begin(valarray<_Tp>&)’ 119 | template _Tp* begin(valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:119:31: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:120:37: note: candidate 6: ‘template const _Tp* std::begin(const valarray<_Tp>&)’ 120 | template const _Tp* begin(const valarray<_Tp>&) noexcept; | ^~~~~ /usr/include/c++/15.2.1/bits/range_access.h:120:37: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: error: no matching function for call to ‘end(llvm::SmallVector, 0>&)’ [-Wtemplate-body] /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: there are 6 candidates /usr/include/c++/15.2.1/initializer_list:101:5: note: candidate 1: ‘template constexpr const _Tp* std::end(initializer_list<_Tp>)’ 101 | end(initializer_list<_Tp> __ils) noexcept | ^~~ /usr/include/c++/15.2.1/initializer_list:101:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::initializer_list<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:78:5: note: candidate 2: ‘template constexpr decltype (__cont.end()) std::end(_Container&)’ 78 | end(_Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15.2.1/bits/range_access.h:78:5: note: template argument deduction/substitution failed: /usr/include/c++/15.2.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(_Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: required from here 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:79:24: error: ‘class llvm::SmallVector, 0>’ has no member named ‘end’ 79 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15.2.1/bits/range_access.h:90:5: note: candidate 3: ‘template constexpr decltype (__cont.end()) std::end(const _Container&)’ 90 | end(const _Container& __cont) noexcept(noexcept(__cont.end())) | ^~~ /usr/include/c++/15.2.1/bits/range_access.h:90:5: note: template argument deduction/substitution failed: /usr/include/c++/15.2.1/bits/range_access.h: In substitution of ‘template constexpr decltype (__cont.end()) std::end(const _Container&) [with _Container = llvm::SmallVector, 0>]’: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: required from here 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:91:24: error: ‘const class llvm::SmallVector, 0>’ has no member named ‘end’ 91 | -> decltype(__cont.end()) | ~~~~~~~^~~ /usr/include/c++/15.2.1/bits/range_access.h:112:5: note: candidate 4: ‘template constexpr _Tp* std::end(_Tp (&)[_Nm])’ 112 | end(_Tp (&__arr)[_Nm]) noexcept | ^~~ /usr/include/c++/15.2.1/bits/range_access.h:112:5: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: mismatched types ‘_Tp [_Nm]’ and ‘llvm::SmallVector, 0>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:121:31: note: candidate 5: ‘template _Tp* std::end(valarray<_Tp>&)’ 121 | template _Tp* end(valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15.2.1/bits/range_access.h:121:31: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘std::valarray<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/include/c++/15.2.1/bits/range_access.h:122:37: note: candidate 6: ‘template const _Tp* std::end(const valarray<_Tp>&)’ 122 | template const _Tp* end(const valarray<_Tp>&) noexcept; | ^~~ /usr/include/c++/15.2.1/bits/range_access.h:122:37: note: template argument deduction/substitution failed: /usr/lib/llvm18/include/llvm/Support/Allocator.h:421:39: note: ‘llvm::SmallVector, 0>’ is not derived from ‘const std::valarray<_Tp>’ 421 | for (auto &PtrAndSize : Allocator.CustomSizedSlabs) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorTemplateBase’: /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:586:7: required from ‘class llvm::SmallVectorImpl’ 586 | class SmallVectorImpl : public SmallVectorTemplateBase { | ^~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/Twine.h:321:33: required from here 321 | LHS.ptrAndLength.ptr = Str.data(); | ^ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:488:7: error: invalid use of incomplete type ‘class llvm::SmallVectorTemplateCommon’ 488 | class SmallVectorTemplateBase : public SmallVectorTemplateCommon { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:133:7: note: declaration of ‘class llvm::SmallVectorTemplateCommon’ 133 | class SmallVectorTemplateCommon | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘class llvm::SmallVectorImpl’: /usr/lib/llvm18/include/llvm/ADT/Twine.h:321:33: required from here 321 | LHS.ptrAndLength.ptr = Str.data(); | ^ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:590:9: error: no type named ‘iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 590 | using iterator = typename SuperClass::iterator; | ^~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:591:9: error: no type named ‘const_iterator’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 591 | using const_iterator = typename SuperClass::const_iterator; | ^~~~~~~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:592:9: error: no type named ‘reference’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 592 | using reference = typename SuperClass::reference; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:593:9: error: no type named ‘size_type’ in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ {aka ‘class llvm::SmallVectorTemplateBase’} 593 | using size_type = typename SuperClass::size_type; | ^~~~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:630:21: error: ‘set_size’ has not been declared in ‘using llvm::SmallVectorImpl::SuperClass = class llvm::SmallVectorTemplateBase’ 630 | using SuperClass::set_size; | ^~~~~~~~ In file included from /usr/lib/llvm18/include/llvm/Support/Error.h:17, from /startdir/src/lld-18.1.6.src/include/lld/Common/ErrorHandler.h:74, from /startdir/src/lld-18.1.6.src/include/lld/Common/CommonLinkerContext.h:22, from /startdir/src/lld-18.1.6.src/Common/Memory.cpp:10: /usr/lib/llvm18/include/llvm/ADT/Twine.h: In constructor ‘llvm::Twine::Twine(const llvm::SmallVectorImpl&)’: /usr/lib/llvm18/include/llvm/ADT/Twine.h:321:34: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘data’ 321 | LHS.ptrAndLength.ptr = Str.data(); | ^~~~ /usr/lib/llvm18/include/llvm/ADT/Twine.h:322:37: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ 322 | LHS.ptrAndLength.length = Str.size(); | ^~~~ /usr/lib/llvm18/include/llvm/ADT/Twine.h: In member function ‘llvm::StringRef llvm::Twine::toStringRef(llvm::SmallVectorImpl&) const’: /usr/lib/llvm18/include/llvm/ADT/Twine.h:496:28: error: ‘class llvm::SmallVectorImpl’ has no member named ‘data’ 496 | return StringRef(Out.data(), Out.size()); | ^~~~ /usr/lib/llvm18/include/llvm/ADT/Twine.h:496:40: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ 496 | return StringRef(Out.data(), Out.size()); | ^~~~ In file included from /usr/lib/llvm18/include/llvm/Support/Error.h:25: /usr/lib/llvm18/include/llvm/Support/raw_ostream.h: In member function ‘llvm::raw_ostream& llvm::raw_ostream::operator<<(const llvm::SmallVectorImpl&)’: /usr/lib/llvm18/include/llvm/Support/raw_ostream.h:257:22: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘data’ 257 | return write(Str.data(), Str.size()); | ^~~~ /usr/lib/llvm18/include/llvm/Support/raw_ostream.h:257:34: error: ‘const class llvm::SmallVectorImpl’ has no member named ‘size’ 257 | return write(Str.data(), Str.size()); | ^~~~ /usr/lib/llvm18/include/llvm/Support/raw_ostream.h: In member function ‘llvm::StringRef llvm::raw_svector_ostream::str() const’: /usr/lib/llvm18/include/llvm/Support/raw_ostream.h:699:47: error: ‘class llvm::SmallVectorImpl’ has no member named ‘data’ 699 | StringRef str() const { return StringRef(OS.data(), OS.size()); } | ^~~~ /usr/lib/llvm18/include/llvm/Support/raw_ostream.h:699:58: error: ‘class llvm::SmallVectorImpl’ has no member named ‘size’ 699 | StringRef str() const { return StringRef(OS.data(), OS.size()); } | ^~~~ /usr/lib/llvm18/include/llvm/Support/raw_ostream.h: In member function ‘virtual void llvm::raw_svector_ostream::reserveExtraSpace(uint64_t)’: /usr/lib/llvm18/include/llvm/Support/raw_ostream.h:702:8: error: ‘class llvm::SmallVectorImpl’ has no member named ‘reserve’ 702 | OS.reserve(tell() + ExtraSize); | ^~~~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVector::~SmallVector() [with T = char; unsigned int N = 0]’: /usr/lib/llvm18/include/llvm/Support/raw_ostream.h:728:71: required from here 728 | buffer_ostream(raw_ostream &OS) : raw_svector_ostream(Buffer), OS(OS) {} | ^ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1215:31: error: ‘class llvm::SmallVector’ has no member named ‘begin’ 1215 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~~~ /usr/lib/llvm18/include/llvm/ADT/SmallVector.h:1215:46: error: ‘class llvm::SmallVector’ has no member named ‘end’ 1215 | this->destroy_range(this->begin(), this->end()); | ~~~~~~^~~ [10/133] Building CXX object Common/CMakeFiles/lldCommon.dir/CommonLinkerContext.cpp.o [11/133] Building CXX object Common/CMakeFiles/lldCommon.dir/Timer.cpp.o [12/133] Building CXX object Common/CMakeFiles/lldCommon.dir/Reproduce.cpp.o [13/133] Building CXX object Common/CMakeFiles/lldCommon.dir/Args.cpp.o [14/133] Building CXX object Common/CMakeFiles/lldCommon.dir/Filesystem.cpp.o [15/133] Building CXX object Common/CMakeFiles/lldCommon.dir/Strings.cpp.o [16/133] Building CXX object Common/CMakeFiles/lldCommon.dir/DriverDispatcher.cpp.o [17/133] Building CXX object Common/CMakeFiles/lldCommon.dir/DWARF.cpp.o [18/133] Building CXX object COFF/CMakeFiles/lldCOFF.dir/MarkLive.cpp.o [19/133] Building CXX object COFF/CMakeFiles/lldCOFF.dir/LLDMapFile.cpp.o [20/133] Building CXX object COFF/CMakeFiles/lldCOFF.dir/MinGW.cpp.o [21/133] Building CXX object COFF/CMakeFiles/lldCOFF.dir/ICF.cpp.o [22/133] Building CXX object COFF/CMakeFiles/lldCOFF.dir/CallGraphSort.cpp.o [23/133] Building CXX object COFF/CMakeFiles/lldCOFF.dir/COFFLinkerContext.cpp.o [24/133] Building CXX object COFF/CMakeFiles/lldCOFF.dir/DLL.cpp.o [25/133] Building CXX object COFF/CMakeFiles/lldCOFF.dir/MapFile.cpp.o [26/133] Building CXX object COFF/CMakeFiles/lldCOFF.dir/Chunks.cpp.o [27/133] Building CXX object Common/CMakeFiles/lldCommon.dir/ErrorHandler.cpp.o [28/133] Building CXX object COFF/CMakeFiles/lldCOFF.dir/DriverUtils.cpp.o [29/133] Building CXX object COFF/CMakeFiles/lldCOFF.dir/DebugTypes.cpp.o [30/133] Building CXX object COFF/CMakeFiles/lldCOFF.dir/PDB.cpp.o [31/133] Building CXX object COFF/CMakeFiles/lldCOFF.dir/LTO.cpp.o [32/133] Building CXX object COFF/CMakeFiles/lldCOFF.dir/SymbolTable.cpp.o [33/133] Building CXX object COFF/CMakeFiles/lldCOFF.dir/Driver.cpp.o [34/133] 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 /home/alhp/workspace/chroot/build_5de0a192-2a35-4964-b87f-dfc4522a126c/build