Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/lld.spec'], chrootPath='/var/lib/mock/dist-an23.1-devel-build-365382-71289/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/lld.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 37: %{version} warning: Macro expanded in comment on line 39: %{version} warning: Macro expanded in comment on line 41: %{version} Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1710892800 Wrote: /builddir/build/SRPMS/lld-16.0.6-3.an23.src.rpm RPM build warnings: Macro expanded in comment on line 37: %{version} Macro expanded in comment on line 39: %{version} Macro expanded in comment on line 41: %{version} Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/lld.spec'], chrootPath='/var/lib/mock/dist-an23.1-devel-build-365382-71289/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/lld.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 37: %{version} warning: Macro expanded in comment on line 39: %{version} warning: Macro expanded in comment on line 41: %{version} Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1710892800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vg1ZR6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cmake-16.0.6.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cmake-16.0.6.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd cmake-16.0.6.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd .. + mv cmake-16.0.6.src cmake + cd /builddir/build/BUILD + rm -rf lld-16.0.6.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lld-16.0.6.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd lld-16.0.6.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-lld-Use-installed-llvm_gtest-in-standalone-builds.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-PATCH-lld-Import-compact_unwind_encoding.h-from-libu.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-backport-LoongArch-patches.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yMNDa8 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd lld-16.0.6.src + CFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables ' + export CFLAGS + CXXFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables ' + export CXXFLAGS + FFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -flto -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + /usr/bin/cmake -S . -B anolis-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_FULL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_FULL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=/var/lib -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr -DLLVM_LINK_LLVM_DYLIB:BOOL=ON -DLLVM_DYLIB_COMPONENTS=all -DCMAKE_SKIP_RPATH:BOOL=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DLLVM_INCLUDE_TESTS=ON -DLLVM_EXTERNAL_LIT=/usr/bin/lit '-DLLVM_LIT_ARGS=-sv --path /usr/lib64/llvm' -DLLVM_LIBDIR_SUFFIX=64 -DLLVM_MAIN_SRC_DIR=/usr/share/llvm/src -- The C compiler identification is Clang 17.0.6 -- The CXX compiler identification is Clang 17.0.6 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - 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/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL) -- 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/lib64/libtinfo.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Could NOT find LibXml2 (missing: LIBXML2_LIBRARY LIBXML2_INCLUDE_DIR) -- Linker detection: GNU ld -- Performing Test LLVM_LIBSTDCXX_MIN -- Performing Test LLVM_LIBSTDCXX_MIN - Success -- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR -- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR - Success -- 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 - Success -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success -- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS -- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS - Failed -- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS -- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS - Failed -- 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 - Success -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed -- 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 - Success -- 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 - Success -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Success -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Success -- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG -- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success -- 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 - Success -- 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.10 (found version "3.10.13") found components: Interpreter -- LLD version: 17.0.6 -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Configuring done (5.0s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX PYTHON_EXECUTABLE SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build + /usr/bin/cmake --build anolis-linux-build -j80 --verbose [1/132] cd /builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/lld-16.0.6.src/wasm -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/include /builddir/build/BUILD/lld-16.0.6.src/wasm/Options.td --write-if-changed -o wasm/Options.inc -d wasm/Options.inc.d [2/132] cd /builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/include /builddir/build/BUILD/lld-16.0.6.src/COFF/Options.td --write-if-changed -o COFF/Options.inc -d COFF/Options.inc.d [3/132] cd /builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/lld-16.0.6.src/MinGW -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/include /builddir/build/BUILD/lld-16.0.6.src/MinGW/Options.td --write-if-changed -o MinGW/Options.inc -d MinGW/Options.inc.d [4/132] cd /builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/include /builddir/build/BUILD/lld-16.0.6.src/ELF/Options.td --write-if-changed -o ELF/Options.inc -d ELF/Options.inc.d [5/132] cd /builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/lld-16.0.6.src/MachO -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/include /builddir/build/BUILD/lld-16.0.6.src/MachO/Options.td --write-if-changed -o MachO/Options.inc -d MachO/Options.inc.d [6/132] cd /builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/Common && /usr/bin/cmake -DNAMES=LLD -DLLD_SOURCE_DIR= -DHEADER_FILE=/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/Common/VCSVersion.inc -P /usr/lib64/cmake/llvm/GenerateVersionFromVCS.cmake [7/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/Common -I/builddir/build/BUILD/lld-16.0.6.src/Common -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT Common/CMakeFiles/lldCommon.dir/Version.cpp.o -MF Common/CMakeFiles/lldCommon.dir/Version.cpp.o.d -o Common/CMakeFiles/lldCommon.dir/Version.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/Common/Version.cpp [8/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/tools/lld -I/builddir/build/BUILD/lld-16.0.6.src/tools/lld -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/lld/CMakeFiles/lld.dir/lld-driver.cpp.o -MF tools/lld/CMakeFiles/lld.dir/lld-driver.cpp.o.d -o tools/lld/CMakeFiles/lld.dir/lld-driver.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/tools/lld/lld-driver.cpp [9/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/Common -I/builddir/build/BUILD/lld-16.0.6.src/Common -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT Common/CMakeFiles/lldCommon.dir/TargetOptionsCommandFlags.cpp.o -MF Common/CMakeFiles/lldCommon.dir/TargetOptionsCommandFlags.cpp.o.d -o Common/CMakeFiles/lldCommon.dir/TargetOptionsCommandFlags.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/Common/TargetOptionsCommandFlags.cpp FAILED: Common/CMakeFiles/lldCommon.dir/TargetOptionsCommandFlags.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/Common -I/builddir/build/BUILD/lld-16.0.6.src/Common -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT Common/CMakeFiles/lldCommon.dir/TargetOptionsCommandFlags.cpp.o -MF Common/CMakeFiles/lldCommon.dir/TargetOptionsCommandFlags.cpp.o.d -o Common/CMakeFiles/lldCommon.dir/TargetOptionsCommandFlags.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/Common/TargetOptionsCommandFlags.cpp /builddir/build/BUILD/lld-16.0.6.src/Common/TargetOptionsCommandFlags.cpp:10:10: fatal error: 'llvm/ADT/Triple.h' file not found 10 | #include "llvm/ADT/Triple.h" | ^~~~~~~~~~~~~~~~~~~ 1 error generated. [10/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/Common -I/builddir/build/BUILD/lld-16.0.6.src/Common -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT Common/CMakeFiles/lldCommon.dir/Timer.cpp.o -MF Common/CMakeFiles/lldCommon.dir/Timer.cpp.o.d -o Common/CMakeFiles/lldCommon.dir/Timer.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/Common/Timer.cpp FAILED: Common/CMakeFiles/lldCommon.dir/Timer.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/Common -I/builddir/build/BUILD/lld-16.0.6.src/Common -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT Common/CMakeFiles/lldCommon.dir/Timer.cpp.o -MF Common/CMakeFiles/lldCommon.dir/Timer.cpp.o.d -o Common/CMakeFiles/lldCommon.dir/Timer.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/Common/Timer.cpp /builddir/build/BUILD/lld-16.0.6.src/Common/Timer.cpp:59:19: error: implicit instantiation of undefined template 'llvm::SmallString<32>' 59 | SmallString<32> str; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:34:39: note: template is declared here 34 | template class SmallString; | ^ 1 error generated. [11/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/Common -I/builddir/build/BUILD/lld-16.0.6.src/Common -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -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 /builddir/build/BUILD/lld-16.0.6.src/Common/Memory.cpp [12/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/tools/lld -I/builddir/build/BUILD/lld-16.0.6.src/tools/lld -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/lld/CMakeFiles/lld.dir/lld.cpp.o -MF tools/lld/CMakeFiles/lld.dir/lld.cpp.o.d -o tools/lld/CMakeFiles/lld.dir/lld.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/tools/lld/lld.cpp FAILED: tools/lld/CMakeFiles/lld.dir/lld.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/tools/lld -I/builddir/build/BUILD/lld-16.0.6.src/tools/lld -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT tools/lld/CMakeFiles/lld.dir/lld.cpp.o -MF tools/lld/CMakeFiles/lld.dir/lld.cpp.o.d -o tools/lld/CMakeFiles/lld.dir/lld.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/tools/lld/lld.cpp /builddir/build/BUILD/lld-16.0.6.src/tools/lld/lld.cpp:35:10: fatal error: 'llvm/ADT/Triple.h' file not found 35 | #include "llvm/ADT/Triple.h" | ^~~~~~~~~~~~~~~~~~~ 1 error generated. [13/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/Common -I/builddir/build/BUILD/lld-16.0.6.src/Common -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT Common/CMakeFiles/lldCommon.dir/CommonLinkerContext.cpp.o -MF Common/CMakeFiles/lldCommon.dir/CommonLinkerContext.cpp.o.d -o Common/CMakeFiles/lldCommon.dir/CommonLinkerContext.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/Common/CommonLinkerContext.cpp [14/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/Common -I/builddir/build/BUILD/lld-16.0.6.src/Common -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT Common/CMakeFiles/lldCommon.dir/Strings.cpp.o -MF Common/CMakeFiles/lldCommon.dir/Strings.cpp.o.d -o Common/CMakeFiles/lldCommon.dir/Strings.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/Common/Strings.cpp FAILED: Common/CMakeFiles/lldCommon.dir/Strings.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/Common -I/builddir/build/BUILD/lld-16.0.6.src/Common -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT Common/CMakeFiles/lldCommon.dir/Strings.cpp.o -MF Common/CMakeFiles/lldCommon.dir/Strings.cpp.o.d -o Common/CMakeFiles/lldCommon.dir/Strings.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/Common/Strings.cpp /builddir/build/BUILD/lld-16.0.6.src/Common/Strings.cpp:55:10: error: use of undeclared identifier 'to_integer' 55 | if (!to_integer(b, h, 16)) { | ^ /builddir/build/BUILD/lld-16.0.6.src/Common/Strings.cpp:66:25: error: use of undeclared identifier 'isDigit'; did you mean 'isdigit'? 66 | return !s.empty() && !isDigit(s[0]) && | ^~~~~~~ | isdigit /usr/include/ctype.h:111:12: note: 'isdigit' declared here 111 | __exctype (isdigit); | ^ /builddir/build/BUILD/lld-16.0.6.src/Common/Strings.cpp:67:46: error: use of undeclared identifier 'isAlnum'; did you mean 'isalnum'? 67 | llvm::all_of(s, [](char c) { return isAlnum(c) || c == '_'; }); | ^~~~~~~ | isalnum /usr/include/ctype.h:108:12: note: 'isalnum' declared here 108 | __exctype (isalnum); | ^ 3 errors generated. [15/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/Common -I/builddir/build/BUILD/lld-16.0.6.src/Common -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT Common/CMakeFiles/lldCommon.dir/Filesystem.cpp.o -MF Common/CMakeFiles/lldCommon.dir/Filesystem.cpp.o.d -o Common/CMakeFiles/lldCommon.dir/Filesystem.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/Common/Filesystem.cpp [16/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/Common -I/builddir/build/BUILD/lld-16.0.6.src/Common -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT Common/CMakeFiles/lldCommon.dir/Reproduce.cpp.o -MF Common/CMakeFiles/lldCommon.dir/Reproduce.cpp.o.d -o Common/CMakeFiles/lldCommon.dir/Reproduce.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/Common/Reproduce.cpp [17/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/Common -I/builddir/build/BUILD/lld-16.0.6.src/Common -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT Common/CMakeFiles/lldCommon.dir/Args.cpp.o -MF Common/CMakeFiles/lldCommon.dir/Args.cpp.o.d -o Common/CMakeFiles/lldCommon.dir/Args.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/Common/Args.cpp /builddir/build/BUILD/lld-16.0.6.src/Common/Args.cpp:93:12: warning: 'endswith_insensitive' is deprecated: Use ends_with_insensitive instead [-Wdeprecated-declarations] 93 | if (path.endswith_insensitive(".exe")) | ^~~~~~~~~~~~~~~~~~~~ | ends_with_insensitive /usr/include/llvm/ADT/StringRef.h:286:19: note: 'endswith_insensitive' has been explicitly marked deprecated here 286 | [[nodiscard]] LLVM_DEPRECATED( | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ 1 warning generated. [18/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/DriverUtils.cpp.o -MF ELF/CMakeFiles/lldELF.dir/DriverUtils.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/DriverUtils.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/DriverUtils.cpp FAILED: ELF/CMakeFiles/lldELF.dir/DriverUtils.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/DriverUtils.cpp.o -MF ELF/CMakeFiles/lldELF.dir/DriverUtils.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/DriverUtils.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/DriverUtils.cpp /builddir/build/BUILD/lld-16.0.6.src/ELF/DriverUtils.cpp:19:10: fatal error: 'llvm/ADT/Triple.h' file not found 19 | #include "llvm/ADT/Triple.h" | ^~~~~~~~~~~~~~~~~~~ 1 error generated. [19/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/ScriptLexer.cpp.o -MF ELF/CMakeFiles/lldELF.dir/ScriptLexer.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/ScriptLexer.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptLexer.cpp [20/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/MSP430.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/MSP430.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/MSP430.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/MSP430.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Arch/MSP430.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/MSP430.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/MSP430.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/MSP430.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/MSP430.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/MSP430.cpp:19: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:13: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/MSP430.cpp:19: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ 2 errors generated. [21/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/AVR.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/AVR.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/AVR.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/AVR.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Arch/AVR.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/AVR.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/AVR.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/AVR.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/AVR.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/AVR.cpp:30: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:13: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/AVR.cpp:30: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ 2 errors generated. [22/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/EhFrame.cpp.o -MF ELF/CMakeFiles/lldELF.dir/EhFrame.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/EhFrame.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/EhFrame.cpp FAILED: ELF/CMakeFiles/lldELF.dir/EhFrame.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/EhFrame.cpp.o -MF ELF/CMakeFiles/lldELF.dir/EhFrame.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/EhFrame.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/EhFrame.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/EhFrame.cpp:20: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/EhFrame.cpp:22: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ /builddir/build/BUILD/lld-16.0.6.src/ELF/EhFrame.cpp:80:17: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 80 | StringRef s = toStringRef(d.slice(0, end - d.begin())); | ^ /usr/include/llvm/BinaryFormat/Dwarf.h:32:7: note: 'StringRef' declared here 32 | class StringRef; | ^ 3 errors generated. [23/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/AMDGPU.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/AMDGPU.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/AMDGPU.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/AMDGPU.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Arch/AMDGPU.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/AMDGPU.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/AMDGPU.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/AMDGPU.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/AMDGPU.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/AMDGPU.cpp:11: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:13: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/AMDGPU.cpp:11: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ 2 errors generated. [24/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/CallGraphSort.cpp.o -MF ELF/CMakeFiles/lldELF.dir/CallGraphSort.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/CallGraphSort.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/CallGraphSort.cpp FAILED: ELF/CMakeFiles/lldELF.dir/CallGraphSort.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/CallGraphSort.cpp.o -MF ELF/CMakeFiles/lldELF.dir/CallGraphSort.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/CallGraphSort.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/CallGraphSort.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/CallGraphSort.cpp:45: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ 1 error generated. [25/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/SPARCV9.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/SPARCV9.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/SPARCV9.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/SPARCV9.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Arch/SPARCV9.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/SPARCV9.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/SPARCV9.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/SPARCV9.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/SPARCV9.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/SPARCV9.cpp:10: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:24: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/SPARCV9.cpp:10: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/SPARCV9.cpp:11: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ 3 errors generated. [26/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/ARM.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/ARM.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/ARM.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/ARM.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Arch/ARM.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/ARM.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/ARM.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/ARM.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/ARM.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/ARM.cpp:10: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:24: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/ARM.cpp:10: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/ARM.cpp:11: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/ARM.cpp:435:16: error: no member named 'countLeadingZeros' in namespace 'llvm' 435 | lz = llvm::countLeadingZeros(val) & ~1; | ~~~~~~^ 4 errors generated. [27/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/AArch64.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/AArch64.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/AArch64.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/AArch64.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Arch/AArch64.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/AArch64.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/AArch64.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/AArch64.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/AArch64.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/AArch64.cpp:9: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.h:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/AArch64.cpp:11: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/AArch64.cpp:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ 3 errors generated. [28/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/MipsArchTree.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/MipsArchTree.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/MipsArchTree.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/MipsArchTree.cpp [29/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/X86.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/X86.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/X86.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/X86.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Arch/X86.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/X86.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/X86.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/X86.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/X86.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/X86.cpp:9: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.h:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/X86.cpp:11: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/X86.cpp:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ 3 errors generated. [30/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/Hexagon.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/Hexagon.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/Hexagon.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/Hexagon.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Arch/Hexagon.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/Hexagon.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/Hexagon.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/Hexagon.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/Hexagon.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/Hexagon.cpp:11: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:24: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/Hexagon.cpp:11: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/Hexagon.cpp:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/Hexagon.cpp:201:9: error: use of undeclared identifier 'utohexstr' 201 | utohexstr(insn)); | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/Hexagon.cpp:237:9: error: use of undeclared identifier 'utohexstr' 237 | utohexstr(insn)); | ^ 5 errors generated. [31/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/SymbolTable.cpp.o -MF ELF/CMakeFiles/lldELF.dir/SymbolTable.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/SymbolTable.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/SymbolTable.cpp [32/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/PPC.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/PPC.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/PPC.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/PPC.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Arch/PPC.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/PPC.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/PPC.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/PPC.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/PPC.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/PPC.cpp:9: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.h:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/PPC.cpp:11: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/PPC.cpp:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ 3 errors generated. [33/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/MarkLive.cpp.o -MF ELF/CMakeFiles/lldELF.dir/MarkLive.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/MarkLive.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/MarkLive.cpp FAILED: ELF/CMakeFiles/lldELF.dir/MarkLive.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/MarkLive.cpp.o -MF ELF/CMakeFiles/lldELF.dir/MarkLive.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/MarkLive.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/MarkLive.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/MarkLive.cpp:24: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/MarkLive.cpp:28: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/MarkLive.cpp:29: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ 3 errors generated. [34/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Target.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Target.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Target.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Target.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Target.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Target.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Target.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.cpp:26: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:13: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.cpp:26: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.cpp:31: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ 3 errors generated. [35/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Symbols.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Symbols.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Symbols.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Symbols.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Symbols.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Symbols.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Symbols.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Symbols.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Symbols.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Symbols.cpp:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Symbols.cpp:14: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Symbols.cpp:15: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ 3 errors generated. [36/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Thunks.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Thunks.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Thunks.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Thunks.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Thunks.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Thunks.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Thunks.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Thunks.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Thunks.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Thunks.cpp:26: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Thunks.cpp:29: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Thunks.cpp:30: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ 3 errors generated. [37/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/Common -I/builddir/build/BUILD/lld-16.0.6.src/Common -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT Common/CMakeFiles/lldCommon.dir/DWARF.cpp.o -MF Common/CMakeFiles/lldCommon.dir/DWARF.cpp.o.d -o Common/CMakeFiles/lldCommon.dir/DWARF.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/Common/DWARF.cpp [38/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/LoongArch.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/LoongArch.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/LoongArch.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/LoongArch.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Arch/LoongArch.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/LoongArch.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/LoongArch.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/LoongArch.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/LoongArch.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/LoongArch.cpp:10: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.h:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/LoongArch.cpp:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/LoongArch.cpp:13: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ 3 errors generated. [39/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/ICF.cpp.o -MF ELF/CMakeFiles/lldELF.dir/ICF.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/ICF.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/ICF.cpp FAILED: ELF/CMakeFiles/lldELF.dir/ICF.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/ICF.cpp.o -MF ELF/CMakeFiles/lldELF.dir/ICF.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/ICF.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/ICF.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/ICF.cpp:79: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.h:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/ICF.cpp:82: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ 2 errors generated. [40/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/X86_64.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/X86_64.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/X86_64.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/X86_64.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Arch/X86_64.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/X86_64.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/X86_64.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/X86_64.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/X86_64.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/X86_64.cpp:9: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.h:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/X86_64.cpp:11: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/X86_64.cpp:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ 3 errors generated. [41/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/ARMErrataFix.cpp.o -MF ELF/CMakeFiles/lldELF.dir/ARMErrataFix.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/ARMErrataFix.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/ARMErrataFix.cpp FAILED: ELF/CMakeFiles/lldELF.dir/ARMErrataFix.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/ARMErrataFix.cpp.o -MF ELF/CMakeFiles/lldELF.dir/ARMErrataFix.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/ARMErrataFix.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/ARMErrataFix.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/ARMErrataFix.cpp:19: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.h:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/ARMErrataFix.cpp:22: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/ARMErrataFix.cpp:23: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ /builddir/build/BUILD/lld-16.0.6.src/ELF/ARMErrataFix.cpp:143:42: error: use of undeclared identifier 'utohexstr' 143 | saver().save("__CortexA8657417_" + utohexstr(getBranchAddr())), STT_FUNC, | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/ARMErrataFix.cpp:417:7: error: use of undeclared identifier 'utohexstr' 417 | utohexstr(isec->getVA(sr.off)) + " in unpatched output."); | ^ 5 errors generated. [42/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/Mips.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/Mips.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/Mips.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/Mips.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Arch/Mips.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/Mips.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/Mips.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/Mips.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/Mips.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/Mips.cpp:10: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.h:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/Mips.cpp:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/Mips.cpp:13: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ 3 errors generated. [43/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/PPC64.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/PPC64.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/PPC64.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/PPC64.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Arch/PPC64.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/PPC64.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/PPC64.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/PPC64.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/PPC64.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/PPC64.cpp:10: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.h:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/PPC64.cpp:13: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/PPC64.cpp:14: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/PPC64.cpp:1290:15: error: use of undeclared identifier 'utohexstr' 1290 | utohexstr(insn)); | ^ 4 errors generated. [44/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/AArch64ErrataFix.cpp.o -MF ELF/CMakeFiles/lldELF.dir/AArch64ErrataFix.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/AArch64ErrataFix.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/AArch64ErrataFix.cpp FAILED: ELF/CMakeFiles/lldELF.dir/AArch64ErrataFix.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/AArch64ErrataFix.cpp.o -MF ELF/CMakeFiles/lldELF.dir/AArch64ErrataFix.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/AArch64ErrataFix.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/AArch64ErrataFix.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/AArch64ErrataFix.cpp:31: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.h:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/AArch64ErrataFix.cpp:34: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/AArch64ErrataFix.cpp:35: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ /builddir/build/BUILD/lld-16.0.6.src/ELF/AArch64ErrataFix.cpp:400:43: error: use of undeclared identifier 'utohexstr' 400 | saver().save("__CortexA53843419_" + utohexstr(getLDSTAddr())), STT_FUNC, | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/AArch64ErrataFix.cpp:555:7: error: use of undeclared identifier 'utohexstr' 555 | utohexstr(adrpAddr) + " in unpatched output."); | ^ 5 errors generated. [45/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/MachO -I/builddir/build/BUILD/lld-16.0.6.src/MachO -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/share/llvm/src/../libunwind/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT MachO/CMakeFiles/lldMachO.dir/Dwarf.cpp.o -MF MachO/CMakeFiles/lldMachO.dir/Dwarf.cpp.o.d -o MachO/CMakeFiles/lldMachO.dir/Dwarf.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/MachO/Dwarf.cpp [46/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/LinkerScript.cpp.o -MF ELF/CMakeFiles/lldELF.dir/LinkerScript.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/LinkerScript.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/LinkerScript.cpp FAILED: ELF/CMakeFiles/lldELF.dir/LinkerScript.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/LinkerScript.cpp.o -MF ELF/CMakeFiles/lldELF.dir/LinkerScript.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/LinkerScript.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/LinkerScript.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/LinkerScript.cpp:16: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/LinkerScript.cpp:20: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/LinkerScript.cpp:21: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ 3 errors generated. [47/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/RISCV.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/RISCV.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/RISCV.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/RISCV.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Arch/RISCV.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Arch/RISCV.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Arch/RISCV.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Arch/RISCV.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/RISCV.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/RISCV.cpp:10: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.h:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/RISCV.cpp:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Arch/RISCV.cpp:13: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ 3 errors generated. [48/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/MachO -I/builddir/build/BUILD/lld-16.0.6.src/MachO -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/share/llvm/src/../libunwind/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT MachO/CMakeFiles/lldMachO.dir/EhFrame.cpp.o -MF MachO/CMakeFiles/lldMachO.dir/EhFrame.cpp.o.d -o MachO/CMakeFiles/lldMachO.dir/EhFrame.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/MachO/EhFrame.cpp [49/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/MachO -I/builddir/build/BUILD/lld-16.0.6.src/MachO -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/share/llvm/src/../libunwind/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT MachO/CMakeFiles/lldMachO.dir/Arch/ARM64_32.cpp.o -MF MachO/CMakeFiles/lldMachO.dir/Arch/ARM64_32.cpp.o.d -o MachO/CMakeFiles/lldMachO.dir/Arch/ARM64_32.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/MachO/Arch/ARM64_32.cpp [50/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/Chunks.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/Chunks.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/Chunks.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/Chunks.cpp FAILED: COFF/CMakeFiles/lldCOFF.dir/Chunks.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/Chunks.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/Chunks.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/Chunks.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/Chunks.cpp /builddir/build/BUILD/lld-16.0.6.src/COFF/Chunks.cpp:712:10: error: use of undeclared identifier 'utohexstr' 712 | utohexstr(magic)); | ^ /builddir/build/BUILD/lld-16.0.6.src/COFF/Chunks.cpp:1005:19: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 1005 | builder.add(toStringRef(c->getContents())); | ^ /builddir/build/BUILD/lld-16.0.6.src/COFF/Config.h:29:13: note: 'StringRef' declared here 29 | using llvm::StringRef; | ^ /builddir/build/BUILD/lld-16.0.6.src/COFF/Chunks.cpp:1014:36: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 1014 | size_t off = builder.getOffset(toStringRef(c->getContents())); | ^ /builddir/build/BUILD/lld-16.0.6.src/COFF/Config.h:29:13: note: 'StringRef' declared here 29 | using llvm::StringRef; | ^ 3 errors generated. [51/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/ScriptParser.cpp.o -MF ELF/CMakeFiles/lldELF.dir/ScriptParser.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/ScriptParser.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp FAILED: ELF/CMakeFiles/lldELF.dir/ScriptParser.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/ScriptParser.cpp.o -MF ELF/CMakeFiles/lldELF.dir/ScriptParser.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/ScriptParser.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp:19: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.h:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp:23: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp:1065:15: error: no member named 'join' in namespace 'llvm' 1065 | llvm::join(tokens.begin() + oldPos, tokens.begin() + pos, " "); | ~~~~~~^ /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp:1229:11: warning: 'startswith_insensitive' is deprecated: Use starts_with_insensitive instead [-Wdeprecated-declarations] 1229 | if (tok.startswith_insensitive("0x")) { | ^~~~~~~~~~~~~~~~~~~~~~ | starts_with_insensitive /usr/include/llvm/ADT/StringRef.h:267:19: note: 'startswith_insensitive' has been explicitly marked deprecated here 267 | [[nodiscard]] LLVM_DEPRECATED( | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp:1230:10: error: use of undeclared identifier 'to_integer' 1230 | if (!to_integer(tok.substr(2), val, 16)) | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp:1234:11: warning: 'endswith_insensitive' is deprecated: Use ends_with_insensitive instead [-Wdeprecated-declarations] 1234 | if (tok.endswith_insensitive("H")) { | ^~~~~~~~~~~~~~~~~~~~ | ends_with_insensitive /usr/include/llvm/ADT/StringRef.h:286:19: note: 'endswith_insensitive' has been explicitly marked deprecated here 286 | [[nodiscard]] LLVM_DEPRECATED( | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp:1235:10: error: use of undeclared identifier 'to_integer' 1235 | if (!to_integer(tok.drop_back(), val, 16)) | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp:1241:11: warning: 'endswith_insensitive' is deprecated: Use ends_with_insensitive instead [-Wdeprecated-declarations] 1241 | if (tok.endswith_insensitive("K")) { | ^~~~~~~~~~~~~~~~~~~~ | ends_with_insensitive /usr/include/llvm/ADT/StringRef.h:286:19: note: 'endswith_insensitive' has been explicitly marked deprecated here 286 | [[nodiscard]] LLVM_DEPRECATED( | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp:1242:10: error: use of undeclared identifier 'to_integer' 1242 | if (!to_integer(tok.drop_back(), val, 10)) | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp:1246:11: warning: 'endswith_insensitive' is deprecated: Use ends_with_insensitive instead [-Wdeprecated-declarations] 1246 | if (tok.endswith_insensitive("M")) { | ^~~~~~~~~~~~~~~~~~~~ | ends_with_insensitive /usr/include/llvm/ADT/StringRef.h:286:19: note: 'endswith_insensitive' has been explicitly marked deprecated here 286 | [[nodiscard]] LLVM_DEPRECATED( | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp:1247:10: error: use of undeclared identifier 'to_integer' 1247 | if (!to_integer(tok.drop_back(), val, 10)) | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp:1251:8: error: use of undeclared identifier 'to_integer' 1251 | if (!to_integer(tok, val, 10)) | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp:1270:13: error: no member named 'join' in namespace 'llvm' 1270 | llvm::join(tokens.begin() + oldPos, tokens.begin() + pos, " "); | ~~~~~~^ /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp:1348:12: error: use of undeclared identifier 'isAlnum'; did you mean 'isalnum'? 1348 | return isAlnum(c) || c == '$' || c == '.' || c == '_'; | ^~~~~~~ | isalnum /usr/include/ctype.h:108:12: note: 'isalnum' declared here 108 | __exctype (isalnum); | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/ScriptParser.cpp:1350:25: error: use of undeclared identifier 'isDigit'; did you mean 'isdigit'? 1350 | return !s.empty() && !isDigit(s[0]) && llvm::all_of(s, valid); | ^~~~~~~ | isdigit /usr/include/ctype.h:111:12: note: 'isdigit' declared here 111 | __exctype (isdigit); | ^ 4 warnings and 11 errors generated. [52/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o -MF ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.cpp FAILED: ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o -MF ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/OutputSections.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.cpp:9: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.h:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.cpp:14: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.cpp:15: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.cpp:146:39: error: use of undeclared identifier 'utohexstr' 146 | toString(isec) + ": 0x" + utohexstr(isec->flags) + | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.cpp:147:55: error: use of undeclared identifier 'utohexstr' 147 | "\n>>> output section " + name + ": 0x" + utohexstr(flags)); | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.cpp:537:10: error: no member named 'execute' in 'llvm::parallel::TaskGroup' 537 | tg.execute([=] { fn(begin, i); }); | ~~ ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.cpp:669:7: error: use of undeclared identifier 'to_integer' 669 | if (to_integer(s.substr(pos + 1), v, 10) && | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.cpp:749:49: error: use of undeclared identifier 'utohexstr' 749 | "wrote incorrect addend value 0x" + utohexstr(writtenAddend) + | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.cpp:750:36: error: use of undeclared identifier 'utohexstr' 750 | " instead of 0x" + utohexstr(addend) + | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.cpp:752:35: error: use of undeclared identifier 'utohexstr' 752 | " at offset 0x" + utohexstr(rel.getOffset()) + | ^ 10 errors generated. [53/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/MachO -I/builddir/build/BUILD/lld-16.0.6.src/MachO -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/share/llvm/src/../libunwind/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT MachO/CMakeFiles/lldMachO.dir/Arch/ARM.cpp.o -MF MachO/CMakeFiles/lldMachO.dir/Arch/ARM.cpp.o.d -o MachO/CMakeFiles/lldMachO.dir/Arch/ARM.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/MachO/Arch/ARM.cpp [54/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/MachO -I/builddir/build/BUILD/lld-16.0.6.src/MachO -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/share/llvm/src/../libunwind/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT MachO/CMakeFiles/lldMachO.dir/Arch/X86_64.cpp.o -MF MachO/CMakeFiles/lldMachO.dir/Arch/X86_64.cpp.o.d -o MachO/CMakeFiles/lldMachO.dir/Arch/X86_64.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/MachO/Arch/X86_64.cpp [55/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/MarkLive.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/MarkLive.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/MarkLive.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/MarkLive.cpp [56/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/MapFile.cpp.o -MF ELF/CMakeFiles/lldELF.dir/MapFile.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/MapFile.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/MapFile.cpp FAILED: ELF/CMakeFiles/lldELF.dir/MapFile.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/MapFile.cpp.o -MF ELF/CMakeFiles/lldELF.dir/MapFile.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/MapFile.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/MapFile.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/MapFile.cpp:24: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.h:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/MapFile.cpp:26: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ 2 errors generated. [57/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/MachO -I/builddir/build/BUILD/lld-16.0.6.src/MachO -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/share/llvm/src/../libunwind/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT MachO/CMakeFiles/lldMachO.dir/Arch/ARM64Common.cpp.o -MF MachO/CMakeFiles/lldMachO.dir/Arch/ARM64Common.cpp.o.d -o MachO/CMakeFiles/lldMachO.dir/Arch/ARM64Common.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/MachO/Arch/ARM64Common.cpp [58/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/InputSection.cpp.o -MF ELF/CMakeFiles/lldELF.dir/InputSection.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/InputSection.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.cpp FAILED: ELF/CMakeFiles/lldELF.dir/InputSection.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/InputSection.cpp.o -MF ELF/CMakeFiles/lldELF.dir/InputSection.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/InputSection.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.cpp:9: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.cpp:16: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.cpp:17: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.cpp:305:44: error: use of undeclared identifier 'utohexstr' 305 | return (filename + ":(" + name + "+0x" + utohexstr(off) + ")" + archive) | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.cpp:1309:18: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 1309 | splitStrings(toStringRef(contentMaybeDecompress()), entsize); | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ 5 errors generated. [59/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/MachO -I/builddir/build/BUILD/lld-16.0.6.src/MachO -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/share/llvm/src/../libunwind/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT MachO/CMakeFiles/lldMachO.dir/ExportTrie.cpp.o -MF MachO/CMakeFiles/lldMachO.dir/ExportTrie.cpp.o.d -o MachO/CMakeFiles/lldMachO.dir/ExportTrie.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/MachO/ExportTrie.cpp [60/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/Symbols.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/Symbols.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/Symbols.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/Symbols.cpp [61/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/DriverUtils.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/DriverUtils.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/DriverUtils.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/DriverUtils.cpp FAILED: COFF/CMakeFiles/lldCOFF.dir/DriverUtils.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/DriverUtils.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/DriverUtils.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/DriverUtils.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/DriverUtils.cpp /builddir/build/BUILD/lld-16.0.6.src/COFF/DriverUtils.cpp:67:19: error: no member named 'join' in namespace 'llvm' 67 | llvm::join(args.begin(), args.end(), " ")); | ~~~~~~^ /builddir/build/BUILD/lld-16.0.6.src/COFF/DriverUtils.cpp:273:12: warning: 'startswith_insensitive' is deprecated: Use starts_with_insensitive instead [-Wdeprecated-declarations] 273 | if (!arg.startswith_insensitive("embed")) | ^~~~~~~~~~~~~~~~~~~~~~ | starts_with_insensitive /usr/include/llvm/ADT/StringRef.h:267:19: note: 'startswith_insensitive' has been explicitly marked deprecated here 267 | [[nodiscard]] LLVM_DEPRECATED( | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /builddir/build/BUILD/lld-16.0.6.src/COFF/DriverUtils.cpp:279:12: warning: 'startswith_insensitive' is deprecated: Use starts_with_insensitive instead [-Wdeprecated-declarations] 279 | if (!arg.startswith_insensitive(",id=")) | ^~~~~~~~~~~~~~~~~~~~~~ | starts_with_insensitive /usr/include/llvm/ADT/StringRef.h:267:19: note: 'startswith_insensitive' has been explicitly marked deprecated here 267 | [[nodiscard]] LLVM_DEPRECATED( | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /builddir/build/BUILD/lld-16.0.6.src/COFF/DriverUtils.cpp:297:13: warning: 'startswith_insensitive' is deprecated: Use starts_with_insensitive instead [-Wdeprecated-declarations] 297 | if (arg.startswith_insensitive("level=")) { | ^~~~~~~~~~~~~~~~~~~~~~ | starts_with_insensitive /usr/include/llvm/ADT/StringRef.h:267:19: note: 'startswith_insensitive' has been explicitly marked deprecated here 267 | [[nodiscard]] LLVM_DEPRECATED( | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /builddir/build/BUILD/lld-16.0.6.src/COFF/DriverUtils.cpp:302:13: warning: 'startswith_insensitive' is deprecated: Use starts_with_insensitive instead [-Wdeprecated-declarations] 302 | if (arg.startswith_insensitive("uiaccess=")) { | ^~~~~~~~~~~~~~~~~~~~~~ | starts_with_insensitive /usr/include/llvm/ADT/StringRef.h:267:19: note: 'startswith_insensitive' has been explicitly marked deprecated here 267 | [[nodiscard]] LLVM_DEPRECATED( | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /builddir/build/BUILD/lld-16.0.6.src/COFF/DriverUtils.cpp:909:13: warning: 'startswith_insensitive' is deprecated: Use starts_with_insensitive instead [-Wdeprecated-declarations] 909 | if (tok.startswith_insensitive("/export:") || | ^~~~~~~~~~~~~~~~~~~~~~ | starts_with_insensitive /usr/include/llvm/ADT/StringRef.h:267:19: note: 'startswith_insensitive' has been explicitly marked deprecated here 267 | [[nodiscard]] LLVM_DEPRECATED( | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /builddir/build/BUILD/lld-16.0.6.src/COFF/DriverUtils.cpp:910:13: warning: 'startswith_insensitive' is deprecated: Use starts_with_insensitive instead [-Wdeprecated-declarations] 910 | tok.startswith_insensitive("-export:")) | ^~~~~~~~~~~~~~~~~~~~~~ | starts_with_insensitive /usr/include/llvm/ADT/StringRef.h:267:19: note: 'startswith_insensitive' has been explicitly marked deprecated here 267 | [[nodiscard]] LLVM_DEPRECATED( | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /builddir/build/BUILD/lld-16.0.6.src/COFF/DriverUtils.cpp:912:18: warning: 'startswith_insensitive' is deprecated: Use starts_with_insensitive instead [-Wdeprecated-declarations] 912 | else if (tok.startswith_insensitive("/include:") || | ^~~~~~~~~~~~~~~~~~~~~~ | starts_with_insensitive /usr/include/llvm/ADT/StringRef.h:267:19: note: 'startswith_insensitive' has been explicitly marked deprecated here 267 | [[nodiscard]] LLVM_DEPRECATED( | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /builddir/build/BUILD/lld-16.0.6.src/COFF/DriverUtils.cpp:913:18: warning: 'startswith_insensitive' is deprecated: Use starts_with_insensitive instead [-Wdeprecated-declarations] 913 | tok.startswith_insensitive("-include:")) | ^~~~~~~~~~~~~~~~~~~~~~ | starts_with_insensitive /usr/include/llvm/ADT/StringRef.h:267:19: note: 'startswith_insensitive' has been explicitly marked deprecated here 267 | [[nodiscard]] LLVM_DEPRECATED( | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /builddir/build/BUILD/lld-16.0.6.src/COFF/DriverUtils.cpp:915:18: warning: 'startswith_insensitive' is deprecated: Use starts_with_insensitive instead [-Wdeprecated-declarations] 915 | else if (tok.startswith_insensitive("/exclude-symbols:") || | ^~~~~~~~~~~~~~~~~~~~~~ | starts_with_insensitive /usr/include/llvm/ADT/StringRef.h:267:19: note: 'startswith_insensitive' has been explicitly marked deprecated here 267 | [[nodiscard]] LLVM_DEPRECATED( | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /builddir/build/BUILD/lld-16.0.6.src/COFF/DriverUtils.cpp:916:18: warning: 'startswith_insensitive' is deprecated: Use starts_with_insensitive instead [-Wdeprecated-declarations] 916 | tok.startswith_insensitive("-exclude-symbols:")) | ^~~~~~~~~~~~~~~~~~~~~~ | starts_with_insensitive /usr/include/llvm/ADT/StringRef.h:267:19: note: 'startswith_insensitive' has been explicitly marked deprecated here 267 | [[nodiscard]] LLVM_DEPRECATED( | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ 10 warnings and 1 error generated. [62/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/COFFLinkerContext.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/COFFLinkerContext.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/COFFLinkerContext.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/COFFLinkerContext.cpp [63/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/MachO -I/builddir/build/BUILD/lld-16.0.6.src/MachO -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/share/llvm/src/../libunwind/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT MachO/CMakeFiles/lldMachO.dir/Arch/ARM64.cpp.o -MF MachO/CMakeFiles/lldMachO.dir/Arch/ARM64.cpp.o.d -o MachO/CMakeFiles/lldMachO.dir/Arch/ARM64.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/MachO/Arch/ARM64.cpp [64/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/ICF.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/ICF.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/ICF.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/ICF.cpp [65/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/CallGraphSort.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/CallGraphSort.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/CallGraphSort.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/CallGraphSort.cpp [66/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Relocations.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Relocations.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Relocations.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Relocations.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Relocations.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Relocations.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Relocations.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Relocations.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Relocations.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Relocations.cpp:47: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.h:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Relocations.cpp:50: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Relocations.cpp:51: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ /builddir/build/BUILD/lld-16.0.6.src/ELF/Relocations.cpp:1547:10: error: no member named 'execute' in 'llvm::parallel::TaskGroup' 1547 | tg.execute(fn); | ~~ ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/Relocations.cpp:1553:6: error: no member named 'execute' in 'llvm::parallel::TaskGroup' 1553 | tg.execute([] { | ~~ ^ 5 errors generated. [67/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/Driver.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/Driver.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/Driver.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/Driver.cpp FAILED: COFF/CMakeFiles/lldCOFF.dir/Driver.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/Driver.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/Driver.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/Driver.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/Driver.cpp /builddir/build/BUILD/lld-16.0.6.src/COFF/Driver.cpp:28:10: fatal error: 'llvm/ADT/Triple.h' file not found 28 | #include "llvm/ADT/Triple.h" | ^~~~~~~~~~~~~~~~~~~ 1 error generated. [68/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/MinGW.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/MinGW.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/MinGW.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/MinGW.cpp [69/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/LLDMapFile.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/LLDMapFile.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/LLDMapFile.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/LLDMapFile.cpp [70/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/DebugTypes.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/DebugTypes.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/DebugTypes.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/DebugTypes.cpp FAILED: COFF/CMakeFiles/lldCOFF.dir/DebugTypes.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/DebugTypes.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/DebugTypes.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/DebugTypes.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/DebugTypes.cpp /builddir/build/BUILD/lld-16.0.6.src/COFF/DebugTypes.cpp:243:15: error: use of undeclared identifier 'utohexstr' 243 | utohexstr(kind) + " in " + fname + " with bad " + | ^ /builddir/build/BUILD/lld-16.0.6.src/COFF/DebugTypes.cpp:245:29: error: use of undeclared identifier 'utohexstr' 245 | " index 0x" + utohexstr(ti.getIndex())); | ^ /builddir/build/BUILD/lld-16.0.6.src/COFF/DebugTypes.cpp:675:48: error: use of undeclared identifier 'utohexstr' 675 | warn("corrupt LF_[M]FUNC_ID record 0x" + utohexstr(curIndex.getIndex()) + | ^ /builddir/build/BUILD/lld-16.0.6.src/COFF/DebugTypes.cpp:1024:7: error: use of undeclared identifier 'ByteSwap_64' 1024 | ByteSwap_64(*reinterpret_cast(&ghash)) % tableSize; | ^ 4 errors generated. [71/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/InputFiles.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/InputFiles.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/InputFiles.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/InputFiles.cpp FAILED: COFF/CMakeFiles/lldCOFF.dir/InputFiles.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/InputFiles.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/InputFiles.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/InputFiles.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/InputFiles.cpp /builddir/build/BUILD/lld-16.0.6.src/COFF/InputFiles.cpp:20:10: fatal error: 'llvm/ADT/Triple.h' file not found 20 | #include "llvm/ADT/Triple.h" | ^~~~~~~~~~~~~~~~~~~ 1 error generated. [72/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/DWARF.cpp.o -MF ELF/CMakeFiles/lldELF.dir/DWARF.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/DWARF.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/DWARF.cpp [73/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -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 /builddir/build/BUILD/lld-16.0.6.src/COFF/MapFile.cpp [74/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/MachO -I/builddir/build/BUILD/lld-16.0.6.src/MachO -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/share/llvm/src/../libunwind/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT MachO/CMakeFiles/lldMachO.dir/ICF.cpp.o -MF MachO/CMakeFiles/lldMachO.dir/ICF.cpp.o.d -o MachO/CMakeFiles/lldMachO.dir/ICF.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/MachO/ICF.cpp [75/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/MachO -I/builddir/build/BUILD/lld-16.0.6.src/MachO -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/share/llvm/src/../libunwind/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT MachO/CMakeFiles/lldMachO.dir/ConcatOutputSection.cpp.o -MF MachO/CMakeFiles/lldMachO.dir/ConcatOutputSection.cpp.o.d -o MachO/CMakeFiles/lldMachO.dir/ConcatOutputSection.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/MachO/ConcatOutputSection.cpp [76/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/DLL.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/DLL.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/DLL.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/DLL.cpp [77/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Writer.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Writer.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Writer.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Writer.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Writer.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Writer.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Writer.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Writer.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Writer.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Writer.cpp:17: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/OutputSections.h:12: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Writer.cpp:21: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Writer.cpp:22: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ /builddir/build/BUILD/lld-16.0.6.src/ELF/Writer.cpp:1114:16: error: use of undeclared identifier 'countLeadingZeros'; did you mean 'maskLeadingZeros'? 1114 | ? countLeadingZeros(a->sortRank ^ osd->osec.sortRank) | ^~~~~~~~~~~~~~~~~ | maskLeadingZeros /usr/include/llvm/Support/MathExtras.h:86:25: note: 'maskLeadingZeros' declared here 86 | template T maskLeadingZeros(unsigned N) { | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/Writer.cpp:1114:16: error: no matching function for call to 'maskLeadingZeros' 1114 | ? countLeadingZeros(a->sortRank ^ osd->osec.sortRank) | ^~~~~~~~~~~~~~~~~ /usr/include/llvm/Support/MathExtras.h:86:25: note: candidate template ignored: couldn't infer template argument 'T' 86 | template T maskLeadingZeros(unsigned N) { | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/Writer.cpp:2546:18: error: use of undeclared identifier 'utohexstr' 2546 | return "[0x" + utohexstr(addr) + ", 0x" + utohexstr(addr + len - 1) + "]"; | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/Writer.cpp:2546:45: error: use of undeclared identifier 'utohexstr' 2546 | return "[0x" + utohexstr(addr) + ", 0x" + utohexstr(addr + len - 1) + "]"; | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/Writer.cpp:2689:54: error: use of undeclared identifier 'utohexstr' 2689 | errorOrWarn("section " + os->name + " at 0x" + utohexstr(os->addr) + | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/Writer.cpp:2690:35: error: use of undeclared identifier 'utohexstr' 2690 | " of size 0x" + utohexstr(os->size) + | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/Writer.cpp:2746:7: error: use of undeclared identifier 'to_integer' 2746 | if (to_integer(config->entry, addr)) | ^ 10 errors generated. [78/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/Common -I/builddir/build/BUILD/lld-16.0.6.src/Common -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT Common/CMakeFiles/lldCommon.dir/ErrorHandler.cpp.o -MF Common/CMakeFiles/lldCommon.dir/ErrorHandler.cpp.o.d -o Common/CMakeFiles/lldCommon.dir/ErrorHandler.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/Common/ErrorHandler.cpp [79/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/SyntheticSections.cpp.o -MF ELF/CMakeFiles/lldELF.dir/SyntheticSections.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/SyntheticSections.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.cpp FAILED: ELF/CMakeFiles/lldELF.dir/SyntheticSections.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/SyntheticSections.cpp.o -MF ELF/CMakeFiles/lldELF.dir/SyntheticSections.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/SyntheticSections.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.cpp:16: In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:24: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.cpp:16: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.cpp:2780:7: error: use of undeclared identifier 'PowerOf2Floor' 2780 | PowerOf2Floor(std::min(config->threadCount, numShards)); | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.cpp:2785:23: error: use of undeclared identifier 'countTrailingZeros'; did you mean 'maskTrailingZeros'? 2785 | size_t shift = 32 - countTrailingZeros(numShards); | ^~~~~~~~~~~~~~~~~~ | maskTrailingZeros /usr/include/llvm/Support/MathExtras.h:80:25: note: 'maskTrailingZeros' declared here 80 | template T maskTrailingZeros(unsigned N) { | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.cpp:2785:23: error: no matching function for call to 'maskTrailingZeros' 2785 | size_t shift = 32 - countTrailingZeros(numShards); | ^~~~~~~~~~~~~~~~~~ /usr/include/llvm/Support/MathExtras.h:80:25: note: candidate template ignored: couldn't infer template argument 'T' 80 | template T maskTrailingZeros(unsigned N) { | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.cpp:3268:7: error: use of undeclared identifier 'PowerOf2Floor' 3268 | PowerOf2Floor(std::min(config->threadCount, numShards)); | ^ 6 errors generated. [80/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/LTO.cpp.o -MF ELF/CMakeFiles/lldELF.dir/LTO.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/LTO.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/LTO.cpp FAILED: ELF/CMakeFiles/lldELF.dir/LTO.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/LTO.cpp.o -MF ELF/CMakeFiles/lldELF.dir/LTO.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/LTO.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/LTO.cpp /builddir/build/BUILD/lld-16.0.6.src/ELF/LTO.cpp:168:5: error: no member named 'OpaquePointers' in 'llvm::lto::Config' 168 | c.OpaquePointers = config->opaquePointers; | ~ ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/LTO.cpp:203:71: error: too few arguments to function call, expected 6, have 5 200 | backend = lto::createWriteIndexesThinBackend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 201 | std::string(config->thinLTOPrefixReplace.first), 202 | std::string(config->thinLTOPrefixReplace.second), 203 | config->thinLTOEmitImportsFiles, indexFile.get(), onIndexWrite); | ^ /usr/include/llvm/LTO/LTO.h:231:13: note: 'createWriteIndexesThinBackend' declared here 231 | ThinBackend createWriteIndexesThinBackend(std::string OldPrefix, | ^ ~~~~~~~~~~~~~~~~~~~~~~ 232 | std::string NewPrefix, | ~~~~~~~~~~~~~~~~~~~~~~ 233 | std::string NativeObjectPrefix, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | bool ShouldEmitImportsFiles, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | raw_fd_ostream *LinkedObjectsFile, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | IndexWriteCallback OnWrite); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. [81/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/PDB.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/PDB.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/PDB.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/PDB.cpp [82/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/LTO.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/LTO.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/LTO.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/LTO.cpp FAILED: COFF/CMakeFiles/lldCOFF.dir/LTO.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/LTO.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/LTO.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/LTO.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/LTO.cpp /builddir/build/BUILD/lld-16.0.6.src/COFF/LTO.cpp:116:74: error: too few arguments to function call, expected 6, have 5 113 | backend = lto::createWriteIndexesThinBackend( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 114 | std::string(ctx.config.thinLTOPrefixReplace.first), 115 | std::string(ctx.config.thinLTOPrefixReplace.second), 116 | ctx.config.thinLTOEmitImportsFiles, indexFile.get(), OnIndexWrite); | ^ /usr/include/llvm/LTO/LTO.h:231:13: note: 'createWriteIndexesThinBackend' declared here 231 | ThinBackend createWriteIndexesThinBackend(std::string OldPrefix, | ^ ~~~~~~~~~~~~~~~~~~~~~~ 232 | std::string NewPrefix, | ~~~~~~~~~~~~~~~~~~~~~~ 233 | std::string NativeObjectPrefix, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 234 | bool ShouldEmitImportsFiles, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 235 | raw_fd_ostream *LinkedObjectsFile, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 236 | IndexWriteCallback OnWrite); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. [83/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/Writer.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/Writer.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/Writer.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/Writer.cpp [84/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Driver.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Driver.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Driver.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Driver.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Driver.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/Driver.cpp.o -MF ELF/CMakeFiles/lldELF.dir/Driver.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/Driver.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/Driver.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Driver.cpp:29: /builddir/build/BUILD/lld-16.0.6.src/ELF/InputSection.h:297:13: error: use of undeclared identifier 'toStringRef'; did you mean 'StringRef'? 297 | return {toStringRef(content().slice(begin, end - begin)), pieces[i].hash}; | ^ /builddir/build/BUILD/lld-16.0.6.src/include/lld/Common/LLVM.h:82:13: note: 'StringRef' declared here 82 | using llvm::StringRef; | ^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Driver.cpp:37: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/Driver.cpp:38: /builddir/build/BUILD/lld-16.0.6.src/ELF/Target.h:259:52: error: no member named 'utohexstr' in namespace 'llvm' 259 | lld::toString(rel.type) + ": 0x" + llvm::utohexstr(v) + | ~~~~~~^ 3 errors generated. [85/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/MachO -I/builddir/build/BUILD/lld-16.0.6.src/MachO -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/share/llvm/src/../libunwind/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT MachO/CMakeFiles/lldMachO.dir/DriverUtils.cpp.o -MF MachO/CMakeFiles/lldMachO.dir/DriverUtils.cpp.o.d -o MachO/CMakeFiles/lldMachO.dir/DriverUtils.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/MachO/DriverUtils.cpp [86/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/InputFiles.cpp.o -MF ELF/CMakeFiles/lldELF.dir/InputFiles.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/InputFiles.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp FAILED: ELF/CMakeFiles/lldELF.dir/InputFiles.cpp.o /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/ELF -I/builddir/build/BUILD/lld-16.0.6.src/ELF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT ELF/CMakeFiles/lldELF.dir/InputFiles.cpp.o -MF ELF/CMakeFiles/lldELF.dir/InputFiles.cpp.o.d -o ELF/CMakeFiles/lldELF.dir/InputFiles.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp In file included from /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:17: /builddir/build/BUILD/lld-16.0.6.src/ELF/SyntheticSections.h:973:32: error: no member named 'countTrailingZeros' in namespace 'llvm' 973 | return hash >> (31 - llvm::countTrailingZeros(numShards)); | ~~~~~~^ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:1320:19: error: use of undeclared identifier 'countTrailingZeros'; did you mean 'maskTrailingZeros'? 1320 | ret = 1ULL << countTrailingZeros((uint64_t)sym.st_value); | ^~~~~~~~~~~~~~~~~~ | maskTrailingZeros /usr/include/llvm/Support/MathExtras.h:80:25: note: 'maskTrailingZeros' declared here 80 | template T maskTrailingZeros(unsigned N) { | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:1320:19: error: no matching function for call to 'maskTrailingZeros' 1320 | ret = 1ULL << countTrailingZeros((uint64_t)sym.st_value); | ^~~~~~~~~~~~~~~~~~ /usr/include/llvm/Support/MathExtras.h:80:25: note: candidate template ignored: couldn't infer template argument 'T' 80 | template T maskTrailingZeros(unsigned N) { | ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:865:71: error: too few arguments to function call, single argument 'Align' was not specified 865 | if (data.size() < sizeof(Elf_Nhdr) || data.size() < nhdr->getSize()) | ~~~~~~~~~~~~~ ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:964:27: note: in instantiation of function template specialization 'readAndFeatures>' requested here 964 | this->andFeatures = readAndFeatures(InputSection(*this, sec, name)); | ^ /usr/include/llvm/Object/ELFTypes.h:606:10: note: 'getSize' declared here 606 | size_t getSize(size_t Align) const { | ^ ~~~~~~~~~~~~ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:870:39: error: too few arguments to function call, single argument 'Align' was not specified 870 | data = data.slice(nhdr->getSize()); | ~~~~~~~~~~~~~ ^ /usr/include/llvm/Object/ELFTypes.h:606:10: note: 'getSize' declared here 606 | size_t getSize(size_t Align) const { | ^ ~~~~~~~~~~~~ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:879:43: error: too few arguments to function call, single argument 'Align' was not specified 879 | ArrayRef desc = note.getDesc(); | ~~~~~~~~~~~~ ^ /usr/include/llvm/Object/ELFTypes.h:636:21: note: 'getDesc' declared here 636 | ArrayRef getDesc(size_t Align) const { | ^ ~~~~~~~~~~~~ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:904:37: error: too few arguments to function call, single argument 'Align' was not specified 904 | data = data.slice(nhdr->getSize()); | ~~~~~~~~~~~~~ ^ /usr/include/llvm/Object/ELFTypes.h:606:10: note: 'getSize' declared here 606 | size_t getSize(size_t Align) const { | ^ ~~~~~~~~~~~~ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:865:71: error: too few arguments to function call, single argument 'Align' was not specified 865 | if (data.size() < sizeof(Elf_Nhdr) || data.size() < nhdr->getSize()) | ~~~~~~~~~~~~~ ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:964:27: note: in instantiation of function template specialization 'readAndFeatures>' requested here 964 | this->andFeatures = readAndFeatures(InputSection(*this, sec, name)); | ^ /usr/include/llvm/Object/ELFTypes.h:606:10: note: 'getSize' declared here 606 | size_t getSize(size_t Align) const { | ^ ~~~~~~~~~~~~ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:870:39: error: too few arguments to function call, single argument 'Align' was not specified 870 | data = data.slice(nhdr->getSize()); | ~~~~~~~~~~~~~ ^ /usr/include/llvm/Object/ELFTypes.h:606:10: note: 'getSize' declared here 606 | size_t getSize(size_t Align) const { | ^ ~~~~~~~~~~~~ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:879:43: error: too few arguments to function call, single argument 'Align' was not specified 879 | ArrayRef desc = note.getDesc(); | ~~~~~~~~~~~~ ^ /usr/include/llvm/Object/ELFTypes.h:636:21: note: 'getDesc' declared here 636 | ArrayRef getDesc(size_t Align) const { | ^ ~~~~~~~~~~~~ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:904:37: error: too few arguments to function call, single argument 'Align' was not specified 904 | data = data.slice(nhdr->getSize()); | ~~~~~~~~~~~~~ ^ /usr/include/llvm/Object/ELFTypes.h:606:10: note: 'getSize' declared here 606 | size_t getSize(size_t Align) const { | ^ ~~~~~~~~~~~~ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:865:71: error: too few arguments to function call, single argument 'Align' was not specified 865 | if (data.size() < sizeof(Elf_Nhdr) || data.size() < nhdr->getSize()) | ~~~~~~~~~~~~~ ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:964:27: note: in instantiation of function template specialization 'readAndFeatures>' requested here 964 | this->andFeatures = readAndFeatures(InputSection(*this, sec, name)); | ^ /usr/include/llvm/Object/ELFTypes.h:606:10: note: 'getSize' declared here 606 | size_t getSize(size_t Align) const { | ^ ~~~~~~~~~~~~ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:870:39: error: too few arguments to function call, single argument 'Align' was not specified 870 | data = data.slice(nhdr->getSize()); | ~~~~~~~~~~~~~ ^ /usr/include/llvm/Object/ELFTypes.h:606:10: note: 'getSize' declared here 606 | size_t getSize(size_t Align) const { | ^ ~~~~~~~~~~~~ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:879:43: error: too few arguments to function call, single argument 'Align' was not specified 879 | ArrayRef desc = note.getDesc(); | ~~~~~~~~~~~~ ^ /usr/include/llvm/Object/ELFTypes.h:636:21: note: 'getDesc' declared here 636 | ArrayRef getDesc(size_t Align) const { | ^ ~~~~~~~~~~~~ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:904:37: error: too few arguments to function call, single argument 'Align' was not specified 904 | data = data.slice(nhdr->getSize()); | ~~~~~~~~~~~~~ ^ /usr/include/llvm/Object/ELFTypes.h:606:10: note: 'getSize' declared here 606 | size_t getSize(size_t Align) const { | ^ ~~~~~~~~~~~~ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:865:71: error: too few arguments to function call, single argument 'Align' was not specified 865 | if (data.size() < sizeof(Elf_Nhdr) || data.size() < nhdr->getSize()) | ~~~~~~~~~~~~~ ^ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:964:27: note: in instantiation of function template specialization 'readAndFeatures>' requested here 964 | this->andFeatures = readAndFeatures(InputSection(*this, sec, name)); | ^ /usr/include/llvm/Object/ELFTypes.h:606:10: note: 'getSize' declared here 606 | size_t getSize(size_t Align) const { | ^ ~~~~~~~~~~~~ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:870:39: error: too few arguments to function call, single argument 'Align' was not specified 870 | data = data.slice(nhdr->getSize()); | ~~~~~~~~~~~~~ ^ /usr/include/llvm/Object/ELFTypes.h:606:10: note: 'getSize' declared here 606 | size_t getSize(size_t Align) const { | ^ ~~~~~~~~~~~~ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:879:43: error: too few arguments to function call, single argument 'Align' was not specified 879 | ArrayRef desc = note.getDesc(); | ~~~~~~~~~~~~ ^ /usr/include/llvm/Object/ELFTypes.h:636:21: note: 'getDesc' declared here 636 | ArrayRef getDesc(size_t Align) const { | ^ ~~~~~~~~~~~~ /builddir/build/BUILD/lld-16.0.6.src/ELF/InputFiles.cpp:904:37: error: too few arguments to function call, single argument 'Align' was not specified 904 | data = data.slice(nhdr->getSize()); | ~~~~~~~~~~~~~ ^ /usr/include/llvm/Object/ELFTypes.h:606:10: note: 'getSize' declared here 606 | size_t getSize(size_t Align) const { | ^ ~~~~~~~~~~~~ 19 errors generated. [87/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/COFF -I/builddir/build/BUILD/lld-16.0.6.src/COFF -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT COFF/CMakeFiles/lldCOFF.dir/SymbolTable.cpp.o -MF COFF/CMakeFiles/lldCOFF.dir/SymbolTable.cpp.o.d -o COFF/CMakeFiles/lldCOFF.dir/SymbolTable.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/COFF/SymbolTable.cpp [88/132] /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/MachO -I/builddir/build/BUILD/lld-16.0.6.src/MachO -I/builddir/build/BUILD/lld-16.0.6.src/include -I/builddir/build/BUILD/lld-16.0.6.src/anolis-linux-build/include -I/usr/share/llvm/src/../libunwind/include -O2 -flto -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/anolis/anolis-hardened-clang.cfg -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O2 -g -DNDEBUG -std=c++17 -fPIC -fno-exceptions -funwind-tables -MD -MT MachO/CMakeFiles/lldMachO.dir/Driver.cpp.o -MF MachO/CMakeFiles/lldMachO.dir/Driver.cpp.o.d -o MachO/CMakeFiles/lldMachO.dir/Driver.cpp.o -c /builddir/build/BUILD/lld-16.0.6.src/MachO/Driver.cpp ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.yMNDa8 (%build) RPM build warnings: RPM build errors: Macro expanded in comment on line 37: %{version} Macro expanded in comment on line 39: %{version} Macro expanded in comment on line 41: %{version} Bad exit status from /var/tmp/rpm-tmp.yMNDa8 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/lld.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/lld.spec