Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/lld.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-158712-58478/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/lld-13.0.1-2.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/lld.spec'], chrootPath='/var/lib/mock/dist-an8.6-build-158712-58478/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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 Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7mjVp2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lld-13.0.1.src + /usr/bin/xz -dc /builddir/build/SOURCES/lld-13.0.1.src.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lld-13.0.1.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-PATCH-lld-CMake-Check-for-gtest-headers-even-if-lit..patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /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 + /usr/bin/cat /builddir/build/SOURCES/0001-Support-LoongArch.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.c46isT + umask 022 + cd /builddir/build/BUILD + cd lld-13.0.1.src + mkdir -p x86_64-redhat-linux-gnu + cd x86_64-redhat-linux-gnu + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -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_PREFIX:PATH=/usr -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 -DLLVM_LINK_LLVM_DYLIB:BOOL=ON -DLLVM_DYLIB_COMPONENTS=all -DCMAKE_SKIP_RPATH:BOOL=ON -DPYTHON_EXECUTABLE=/usr/libexec/platform-python -DLLVM_INCLUDE_TESTS=ON -DLLVM_MAIN_SRC_DIR=/usr/share/llvm/src -DLLVM_EXTERNAL_LIT=/usr/bin/lit '-DLLVM_LIT_ARGS=-sv --path /usr/lib64/llvm' -DLLVM_LIBDIR_SUFFIX=64 -- The C compiler identification is GNU 8.5.0 -- The CXX compiler identification is GNU 8.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Linker detection: GNU ld -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test C_SUPPORTS_WERROR_DATE_TIME -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Failed -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Failed -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Success -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG -- Performing Test CXX_SUPPORTS_REDUNDANT_MOVE_FLAG - Failed -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG -- Performing Test CXX_SUPPORTS_PESSIMIZING_MOVE_FLAG - Failed -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test C_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - Failed -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG -- Performing Test CXX_SUPPORTS_DELETE_NON_VIRTUAL_DTOR_FLAG - 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 - Failed -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Failed -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Failed -- Performing Test 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 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.6 (found suitable version "3.6.8", minimum required is "3.6") found components: Interpreter -- LLD version: 13.0.1 -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Configuring done CMake Warning (dev) at /usr/lib64/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): lib/Driver/CMakeLists.txt:2 (tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): COFF/CMakeLists.txt:2 (tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): ELF/CMakeLists.txt:2 (tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): MachO/CMakeLists.txt:2 (tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): MinGW/CMakeLists.txt:2 (tablegen) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /usr/lib64/cmake/llvm/TableGen.cmake:95 (add_custom_command): Policy CMP0116 is not set: Ninja generators transform DEPFILEs from add_custom_command(). Run "cmake --help-policy CMP0116" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): wasm/CMakeLists.txt:2 (tablegen) This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE 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-13.0.1.src/x86_64-redhat-linux-gnu + /usr/bin/cmake --build . -j64 --verbose [1/175] cd /builddir/build/BUILD/lld-13.0.1.src/x86_64-redhat-linux-gnu && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/lld-13.0.1.src/lib/Driver -I/builddir/build/BUILD/lld-13.0.1.src/include -I/builddir/build/BUILD/lld-13.0.1.src/x86_64-redhat-linux-gnu/include -I/usr/include -I/usr/include /builddir/build/BUILD/lld-13.0.1.src/lib/Driver/DarwinLdOptions.td --write-if-changed -o lib/Driver/DarwinLdOptions.inc -d lib/Driver/DarwinLdOptions.inc.d [2/175] cd /builddir/build/BUILD/lld-13.0.1.src/x86_64-redhat-linux-gnu && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/lld-13.0.1.src/COFF -I/builddir/build/BUILD/lld-13.0.1.src/include -I/builddir/build/BUILD/lld-13.0.1.src/x86_64-redhat-linux-gnu/include -I/usr/include -I/usr/include /builddir/build/BUILD/lld-13.0.1.src/COFF/Options.td --write-if-changed -o COFF/Options.inc -d COFF/Options.inc.d [3/175] cd /builddir/build/BUILD/lld-13.0.1.src/x86_64-redhat-linux-gnu && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/lld-13.0.1.src/MinGW -I/builddir/build/BUILD/lld-13.0.1.src/include -I/builddir/build/BUILD/lld-13.0.1.src/x86_64-redhat-linux-gnu/include -I/usr/include -I/usr/include /builddir/build/BUILD/lld-13.0.1.src/MinGW/Options.td --write-if-changed -o MinGW/Options.inc -d MinGW/Options.inc.d [4/175] cd /builddir/build/BUILD/lld-13.0.1.src/x86_64-redhat-linux-gnu && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/lld-13.0.1.src/wasm -I/builddir/build/BUILD/lld-13.0.1.src/include -I/builddir/build/BUILD/lld-13.0.1.src/x86_64-redhat-linux-gnu/include -I/usr/include -I/usr/include /builddir/build/BUILD/lld-13.0.1.src/wasm/Options.td --write-if-changed -o wasm/Options.inc -d wasm/Options.inc.d [5/175] cd /builddir/build/BUILD/lld-13.0.1.src/x86_64-redhat-linux-gnu && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/lld-13.0.1.src/ELF -I/builddir/build/BUILD/lld-13.0.1.src/include -I/builddir/build/BUILD/lld-13.0.1.src/x86_64-redhat-linux-gnu/include -I/usr/include -I/usr/include /builddir/build/BUILD/lld-13.0.1.src/ELF/Options.td --write-if-changed -o ELF/Options.inc -d ELF/Options.inc.d [6/175] cd /builddir/build/BUILD/lld-13.0.1.src/x86_64-redhat-linux-gnu && /usr/bin/llvm-tblgen -gen-opt-parser-defs -I /builddir/build/BUILD/lld-13.0.1.src/MachO -I/builddir/build/BUILD/lld-13.0.1.src/include -I/builddir/build/BUILD/lld-13.0.1.src/x86_64-redhat-linux-gnu/include -I/usr/include -I/usr/include /builddir/build/BUILD/lld-13.0.1.src/MachO/Options.td --write-if-changed -o MachO/Options.inc -d MachO/Options.inc.d [7/175] cd /builddir/build/BUILD/lld-13.0.1.src/x86_64-redhat-linux-gnu/Common && /usr/bin/cmake -DNAMES=LLD -DLLD_SOURCE_DIR= -DHEADER_FILE=/builddir/build/BUILD/lld-13.0.1.src/x86_64-redhat-linux-gnu/Common/VCSVersion.inc -P /usr/lib64/cmake/llvm/GenerateVersionFromVCS.cmake [8/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICommon -I../Common -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../Common/Version.cpp [9/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Core -I../lib/Core -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/Core/CMakeFiles/lldCore.dir/DefinedAtom.cpp.o -MF lib/Core/CMakeFiles/lldCore.dir/DefinedAtom.cpp.o.d -o lib/Core/CMakeFiles/lldCore.dir/DefinedAtom.cpp.o -c ../lib/Core/DefinedAtom.cpp [10/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICommon -I../Common -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../Common/Memory.cpp [11/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Core -I../lib/Core -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/Core/CMakeFiles/lldCore.dir/File.cpp.o -MF lib/Core/CMakeFiles/lldCore.dir/File.cpp.o.d -o lib/Core/CMakeFiles/lldCore.dir/File.cpp.o -c ../lib/Core/File.cpp [12/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Core -I../lib/Core -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/Core/CMakeFiles/lldCore.dir/Writer.cpp.o -MF lib/Core/CMakeFiles/lldCore.dir/Writer.cpp.o.d -o lib/Core/CMakeFiles/lldCore.dir/Writer.cpp.o -c ../lib/Core/Writer.cpp [13/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Core -I../lib/Core -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/Core/CMakeFiles/lldCore.dir/Error.cpp.o -MF lib/Core/CMakeFiles/lldCore.dir/Error.cpp.o.d -o lib/Core/CMakeFiles/lldCore.dir/Error.cpp.o -c ../lib/Core/Error.cpp [14/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICommon -I../Common -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../Common/Timer.cpp [15/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICommon -I../Common -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../Common/Filesystem.cpp [16/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICommon -I../Common -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../Common/Reproduce.cpp [17/175] /usr/bin/c++ -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iutils/unittest/UnitTestMain -I/usr/share/llvm/src/utils/unittest/UnitTestMain -I/usr/share/llvm/src/utils/unittest/googletest/include -I/usr/share/llvm/src/utils/unittest/googlemock/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -Wno-suggest-override -fno-exceptions -Wno-suggest-override -MD -MT utils/unittest/UnitTestMain/CMakeFiles/gtest_main.dir/TestMain.cpp.o -MF utils/unittest/UnitTestMain/CMakeFiles/gtest_main.dir/TestMain.cpp.o.d -o utils/unittest/UnitTestMain/CMakeFiles/gtest_main.dir/TestMain.cpp.o -c /usr/share/llvm/src/utils/unittest/UnitTestMain/TestMain.cpp [18/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICommon -I../Common -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../Common/Args.cpp [19/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Core -I../lib/Core -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/Core/CMakeFiles/lldCore.dir/Reader.cpp.o -MF lib/Core/CMakeFiles/lldCore.dir/Reader.cpp.o.d -o lib/Core/CMakeFiles/lldCore.dir/Reader.cpp.o -c ../lib/Core/Reader.cpp [20/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICommon -I../Common -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../Common/TargetOptionsCommandFlags.cpp [21/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/lld -I../tools/lld -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fno-exceptions -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 ../tools/lld/lld.cpp [22/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Core -I../lib/Core -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/Core/CMakeFiles/lldCore.dir/LinkingContext.cpp.o -MF lib/Core/CMakeFiles/lldCore.dir/LinkingContext.cpp.o.d -o lib/Core/CMakeFiles/lldCore.dir/LinkingContext.cpp.o -c ../lib/Core/LinkingContext.cpp [23/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/MarkLive.cpp [24/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICommon -I../Common -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../Common/Strings.cpp [25/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ArchHandler.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ArchHandler.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ArchHandler.cpp.o -c ../lib/ReaderWriter/MachO/ArchHandler.cpp [26/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter -I../lib/ReaderWriter -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/CMakeFiles/lldReaderWriter.dir/FileArchive.cpp.o -MF lib/ReaderWriter/CMakeFiles/lldReaderWriter.dir/FileArchive.cpp.o.d -o lib/ReaderWriter/CMakeFiles/lldReaderWriter.dir/FileArchive.cpp.o -c ../lib/ReaderWriter/FileArchive.cpp [27/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/ICF.cpp [28/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Core -I../lib/Core -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/Core/CMakeFiles/lldCore.dir/SymbolTable.cpp.o -MF lib/Core/CMakeFiles/lldCore.dir/SymbolTable.cpp.o.d -o lib/Core/CMakeFiles/lldCore.dir/SymbolTable.cpp.o -c ../lib/Core/SymbolTable.cpp [29/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ArchHandler_x86_64.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ArchHandler_x86_64.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ArchHandler_x86_64.cpp.o -c ../lib/ReaderWriter/MachO/ArchHandler_x86_64.cpp [30/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ArchHandler_x86.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ArchHandler_x86.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ArchHandler_x86.cpp.o -c ../lib/ReaderWriter/MachO/ArchHandler_x86.cpp [31/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Arch/AMDGPU.cpp [32/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ArchHandler_arm64.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ArchHandler_arm64.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ArchHandler_arm64.cpp.o -c ../lib/ReaderWriter/MachO/ArchHandler_arm64.cpp [33/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/Symbols.cpp [34/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/CallGraphSort.cpp [35/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Arch/MSP430.cpp [36/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/LLDMapFile.cpp [37/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Arch/AVR.cpp [38/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ArchHandler_arm.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ArchHandler_arm.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ArchHandler_arm.cpp.o -c ../lib/ReaderWriter/MachO/ArchHandler_arm.cpp ../lib/ReaderWriter/MachO/ArchHandler_arm.cpp: In member function 'virtual llvm::Error lld::mach_o::ArchHandler_arm::getPairReferenceInfo(const lld::mach_o::normalized::Relocation&, const lld::mach_o::normalized::Relocation&, const lld::DefinedAtom*, uint32_t, uint64_t, bool, bool, lld::mach_o::ArchHandler::FindAtomBySectionAndAddress, lld::mach_o::ArchHandler::FindAtomBySymbolIndex, lld::Reference::KindValue*, const lld::Atom**, lld::Reference::Addend*)': ../lib/ReaderWriter/MachO/ArchHandler_arm.cpp:824:5: warning: 'thumbReloc' may be used uninitialized in this function [-Wmaybe-uninitialized] if (thumbReloc) { ^~ ../lib/ReaderWriter/MachO/ArchHandler_arm.cpp:846:5: warning: 'top' may be used uninitialized in this function [-Wmaybe-uninitialized] if (top) ^~ [39/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/WriterMachO.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/WriterMachO.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/WriterMachO.cpp.o -c ../lib/ReaderWriter/MachO/WriterMachO.cpp [40/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICommon -I../Common -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../Common/DWARF.cpp [41/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Core -I../lib/Core -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/Core/CMakeFiles/lldCore.dir/Resolver.cpp.o -MF lib/Core/CMakeFiles/lldCore.dir/Resolver.cpp.o.d -o lib/Core/CMakeFiles/lldCore.dir/Resolver.cpp.o -c ../lib/Core/Resolver.cpp [42/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ObjCPass.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ObjCPass.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ObjCPass.cpp.o -c ../lib/ReaderWriter/MachO/ObjCPass.cpp [43/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/EhFrame.cpp [44/175] /usr/bin/c++ -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iutils/unittest -I/usr/share/llvm/src/utils/unittest -I/usr/share/llvm/src/utils/unittest/googletest/include -I/usr/share/llvm/src/utils/unittest/googlemock/include -I/usr/share/llvm/src/utils/unittest/googletest -I/usr/share/llvm/src/utils/unittest/googlemock -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -Wno-suggest-override -fno-exceptions -MD -MT utils/unittest/CMakeFiles/gtest.dir/googlemock/src/gmock-all.cc.o -MF utils/unittest/CMakeFiles/gtest.dir/googlemock/src/gmock-all.cc.o.d -o utils/unittest/CMakeFiles/gtest.dir/googlemock/src/gmock-all.cc.o -c /usr/share/llvm/src/utils/unittest/googlemock/src/gmock-all.cc [45/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ShimPass.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ShimPass.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/ShimPass.cpp.o -c ../lib/ReaderWriter/MachO/ShimPass.cpp [46/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/GOTPass.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/GOTPass.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/GOTPass.cpp.o -c ../lib/ReaderWriter/MachO/GOTPass.cpp [47/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachONormalizedFileBinaryWriter.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachONormalizedFileBinaryWriter.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachONormalizedFileBinaryWriter.cpp.o -c ../lib/ReaderWriter/MachO/MachONormalizedFileBinaryWriter.cpp [48/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/MinGW.cpp [49/175] : && /usr/bin/c++ -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/lld-13.0.1.src/x86_64-redhat-linux-gnu/./lib64 -Wl,-O3 -Wl,--gc-sections -shared -Wl,-soname,liblldCore.so.13 -o lib64/liblldCore.so.13 lib/Core/CMakeFiles/lldCore.dir/DefinedAtom.cpp.o lib/Core/CMakeFiles/lldCore.dir/Error.cpp.o lib/Core/CMakeFiles/lldCore.dir/File.cpp.o lib/Core/CMakeFiles/lldCore.dir/LinkingContext.cpp.o lib/Core/CMakeFiles/lldCore.dir/Reader.cpp.o lib/Core/CMakeFiles/lldCore.dir/Resolver.cpp.o lib/Core/CMakeFiles/lldCore.dir/SymbolTable.cpp.o lib/Core/CMakeFiles/lldCore.dir/Writer.cpp.o -lpthread /usr/lib64/libLLVM-13.so && : [50/175] /usr/bin/cmake -E cmake_symlink_library lib64/liblldCore.so.13 lib64/liblldCore.so.13 lib64/liblldCore.so && : [51/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Arch/AArch64.cpp [52/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Arch/LoongArch.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Arch/LoongArch.cpp.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Arch/LoongArch.cpp ../ELF/Arch/LoongArch.cpp: In constructor '{anonymous}::LoongArch::LoongArch()': ../ELF/Arch/LoongArch.cpp:84:13: error: 'R_LARCH_COPY' was not declared in this scope copyRel = R_LARCH_COPY; ^~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:85:12: error: 'R_LARCH_JUMP_SLOT' was not declared in this scope pltRel = R_LARCH_JUMP_SLOT; ^~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:86:17: error: 'R_LARCH_RELATIVE' was not declared in this scope relativeRel = R_LARCH_RELATIVE; ^~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:86:17: note: suggested alternative: 'CLOCK_REALTIME' relativeRel = R_LARCH_RELATIVE; ^~~~~~~~~~~~~~~~ CLOCK_REALTIME ../ELF/Arch/LoongArch.cpp:91:19: error: 'R_LARCH_64' was not declared in this scope symbolicRel = R_LARCH_64; ^~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:92:17: error: 'R_LARCH_TLS_TPREL64' was not declared in this scope tlsGotRel = R_LARCH_TLS_TPREL64; ^~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:93:25: error: 'R_LARCH_TLS_DTPMOD64' was not declared in this scope tlsModuleIndexRel = R_LARCH_TLS_DTPMOD64; ^~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:94:20: error: 'R_LARCH_TLS_DTPREL64' was not declared in this scope tlsOffsetRel = R_LARCH_TLS_DTPREL64; ^~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:97:19: error: 'R_LARCH_32' was not declared in this scope symbolicRel = R_LARCH_32; ^~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:98:17: error: 'R_LARCH_TLS_TPREL32' was not declared in this scope tlsGotRel = R_LARCH_TLS_TPREL32; ^~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:99:25: error: 'R_LARCH_TLS_DTPMOD32' was not declared in this scope tlsModuleIndexRel = R_LARCH_TLS_DTPMOD32; ^~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:100:20: error: 'R_LARCH_TLS_DTPREL32' was not declared in this scope tlsOffsetRel = R_LARCH_TLS_DTPREL32; ^~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp: In member function 'lld::elf::RelExpr {anonymous}::LoongArch::getRelExpr(lld::elf::RelType, const lld::elf::Symbol&, const uint8_t*) const': ../ELF/Arch/LoongArch.cpp:117:8: error: 'R_LARCH_64' was not declared in this scope case R_LARCH_64: ^~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:118:8: error: 'R_LARCH_32' was not declared in this scope case R_LARCH_32: ^~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:120:8: error: 'R_LARCH_SOP_PUSH_PCREL' was not declared in this scope case R_LARCH_SOP_PUSH_PCREL: ^~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:122:8: error: 'R_LARCH_SOP_PUSH_TLS_GOT' was not declared in this scope case R_LARCH_SOP_PUSH_TLS_GOT: ^~~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:124:8: error: 'R_LARCH_SOP_PUSH_TLS_GD' was not declared in this scope case R_LARCH_SOP_PUSH_TLS_GD: ^~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:126:8: error: 'R_LARCH_SOP_PUSH_TLS_TPREL' was not declared in this scope case R_LARCH_SOP_PUSH_TLS_TPREL: ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:128:8: error: 'R_LARCH_SOP_PUSH_GPREL' was not declared in this scope case R_LARCH_SOP_PUSH_GPREL: ^~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:130:8: error: 'R_LARCH_SOP_PUSH_PLT_PCREL' was not declared in this scope case R_LARCH_SOP_PUSH_PLT_PCREL: ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:132:8: error: 'R_LARCH_ADD8' was not declared in this scope case R_LARCH_ADD8: ^~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:133:8: error: 'R_LARCH_ADD16' was not declared in this scope case R_LARCH_ADD16: ^~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:134:8: error: 'R_LARCH_ADD32' was not declared in this scope case R_LARCH_ADD32: ^~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:135:8: error: 'R_LARCH_ADD64' was not declared in this scope case R_LARCH_ADD64: ^~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp: In function 'llvm::Twine getAbiName(uint32_t)': ../ELF/Arch/LoongArch.cpp:148:8: error: 'EF_LARCH_ABI_LP64' was not declared in this scope case EF_LARCH_ABI_LP64: ^~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:150:8: error: 'EF_LARCH_ABI_LP32' was not declared in this scope case EF_LARCH_ABI_LP32: ^~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:152:8: error: 'EF_LARCH_ABI_LPX32' was not declared in this scope case EF_LARCH_ABI_LPX32: ^~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp: In member function 'uint32_t {anonymous}::LoongArch::calcEFlags() const': ../ELF/Arch/LoongArch.cpp:166:19: error: 'EF_LARCH_ABI_LP64' was not declared in this scope if (eflags != EF_LARCH_ABI_LP64 && eflags != EF_LARCH_ABI_LP32 && ^~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:166:50: error: 'EF_LARCH_ABI_LP32' was not declared in this scope if (eflags != EF_LARCH_ABI_LP64 && eflags != EF_LARCH_ABI_LP32 && ^~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:167:19: error: 'EF_LARCH_ABI_LPX32' was not declared in this scope eflags != EF_LARCH_ABI_LPX32) ^~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp: In member function 'lld::elf::RelType {anonymous}::LoongArch::getDynRel(lld::elf::RelType) const': ../ELF/Arch/LoongArch.cpp:178:15: error: 'R_LARCH_32' was not declared in this scope if (type == R_LARCH_32 || type == R_LARCH_64) ^~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:178:37: error: 'R_LARCH_64' was not declared in this scope if (type == R_LARCH_32 || type == R_LARCH_64) ^~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:180:10: error: 'R_LARCH_NONE' was not declared in this scope return R_LARCH_NONE; ^~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp: In member function 'void {anonymous}::LoongArch::relocate(uint8_t*, const lld::elf::Relocation&, uint64_t) const': ../ELF/Arch/LoongArch.cpp:274:8: error: 'R_LARCH_32' was not declared in this scope case R_LARCH_32: ^~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:277:8: error: 'R_LARCH_TLS_DTPREL32' was not declared in this scope case R_LARCH_TLS_DTPREL32: ^~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:280:8: error: 'R_LARCH_64' was not declared in this scope case R_LARCH_64: ^~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:283:8: error: 'R_LARCH_TLS_DTPREL64' was not declared in this scope case R_LARCH_TLS_DTPREL64: ^~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:286:8: error: 'R_LARCH_TLS_DTPMOD32' was not declared in this scope case R_LARCH_TLS_DTPMOD32: ^~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:289:8: error: 'R_LARCH_TLS_DTPMOD64' was not declared in this scope case R_LARCH_TLS_DTPMOD64: ^~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:292:8: error: 'R_LARCH_MARK_LA' was not declared in this scope case R_LARCH_MARK_LA: ^~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:293:8: error: 'R_LARCH_MARK_PCREL' was not declared in this scope case R_LARCH_MARK_PCREL: ^~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:294:8: error: 'R_LARCH_NONE' was not declared in this scope case R_LARCH_NONE: ^~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:296:8: error: 'R_LARCH_SOP_PUSH_PCREL' was not declared in this scope case R_LARCH_SOP_PUSH_PCREL: ^~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:297:8: error: 'R_LARCH_SOP_PUSH_ABSOLUTE' was not declared in this scope case R_LARCH_SOP_PUSH_ABSOLUTE: ^~~~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:298:8: error: 'R_LARCH_SOP_PUSH_GPREL' was not declared in this scope case R_LARCH_SOP_PUSH_GPREL: ^~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:299:8: error: 'R_LARCH_SOP_PUSH_TLS_TPREL' was not declared in this scope case R_LARCH_SOP_PUSH_TLS_TPREL: ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:300:8: error: 'R_LARCH_SOP_PUSH_TLS_GOT' was not declared in this scope case R_LARCH_SOP_PUSH_TLS_GOT: ^~~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:301:8: error: 'R_LARCH_SOP_PUSH_TLS_GD' was not declared in this scope case R_LARCH_SOP_PUSH_TLS_GD: ^~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:302:8: error: 'R_LARCH_SOP_PUSH_PLT_PCREL' was not declared in this scope case R_LARCH_SOP_PUSH_PLT_PCREL: ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:305:8: error: 'R_LARCH_SOP_PUSH_DUP' was not declared in this scope case R_LARCH_SOP_PUSH_DUP: { ^~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:310:8: error: 'R_LARCH_SOP_ASSERT' was not declared in this scope case R_LARCH_SOP_ASSERT: { ^~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:314:8: error: 'R_LARCH_SOP_NOT' was not declared in this scope case R_LARCH_SOP_NOT: { ^~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:318:8: error: 'R_LARCH_SOP_SUB' was not declared in this scope case R_LARCH_SOP_SUB: { ^~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:323:8: error: 'R_LARCH_SOP_SL' was not declared in this scope case R_LARCH_SOP_SL: { ^~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:328:8: error: 'R_LARCH_SOP_SR' was not declared in this scope case R_LARCH_SOP_SR: { ^~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:333:8: error: 'R_LARCH_SOP_ADD' was not declared in this scope case R_LARCH_SOP_ADD: { ^~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:338:8: error: 'R_LARCH_SOP_AND' was not declared in this scope case R_LARCH_SOP_AND: { ^~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:343:8: error: 'R_LARCH_SOP_IF_ELSE' was not declared in this scope case R_LARCH_SOP_IF_ELSE: { ^~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:349:8: error: 'R_LARCH_SOP_POP_32_S_10_5' was not declared in this scope case R_LARCH_SOP_POP_32_S_10_5: { ^~~~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:356:8: error: 'R_LARCH_SOP_POP_32_S_10_12' was not declared in this scope case R_LARCH_SOP_POP_32_S_10_12: { ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:363:8: error: 'R_LARCH_SOP_POP_32_S_10_16' was not declared in this scope case R_LARCH_SOP_POP_32_S_10_16: { ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:370:8: error: 'R_LARCH_SOP_POP_32_S_10_16_S2' was not declared in this scope case R_LARCH_SOP_POP_32_S_10_16_S2: { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:378:8: error: 'R_LARCH_SOP_POP_32_U_10_12' was not declared in this scope case R_LARCH_SOP_POP_32_U_10_12: { ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:385:8: error: 'R_LARCH_SOP_POP_32_S_5_20' was not declared in this scope case R_LARCH_SOP_POP_32_S_5_20: { ^~~~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:392:8: error: 'R_LARCH_SOP_POP_32_S_0_5_10_16_S2' was not declared in this scope case R_LARCH_SOP_POP_32_S_0_5_10_16_S2: { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:402:8: error: 'R_LARCH_SOP_POP_32_S_0_10_10_16_S2' was not declared in this scope case R_LARCH_SOP_POP_32_S_0_10_10_16_S2: { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:411:8: error: 'R_LARCH_SOP_POP_32_U' was not declared in this scope case R_LARCH_SOP_POP_32_U: { ^~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:416:8: error: 'R_LARCH_ADD8' was not declared in this scope case R_LARCH_ADD8: ^~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:419:8: error: 'R_LARCH_ADD16' was not declared in this scope case R_LARCH_ADD16: ^~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:422:8: error: 'R_LARCH_ADD24' was not declared in this scope case R_LARCH_ADD24: ^~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:425:8: error: 'R_LARCH_ADD32' was not declared in this scope case R_LARCH_ADD32: ^~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:428:8: error: 'R_LARCH_ADD64' was not declared in this scope case R_LARCH_ADD64: ^~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:431:8: error: 'R_LARCH_SUB8' was not declared in this scope case R_LARCH_SUB8: ^~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:434:8: error: 'R_LARCH_SUB16' was not declared in this scope case R_LARCH_SUB16: ^~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:437:8: error: 'R_LARCH_SUB24' was not declared in this scope case R_LARCH_SUB24: ^~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:440:8: error: 'R_LARCH_SUB32' was not declared in this scope case R_LARCH_SUB32: ^~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:443:8: error: 'R_LARCH_SUB64' was not declared in this scope case R_LARCH_SUB64: ^~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:447:8: error: 'R_LARCH_GNU_VTINHERIT' was not declared in this scope case R_LARCH_GNU_VTINHERIT: ^~~~~~~~~~~~~~~~~~~~~ ../ELF/Arch/LoongArch.cpp:449:8: error: 'R_LARCH_GNU_VTENTRY' was not declared in this scope case R_LARCH_GNU_VTENTRY: ^~~~~~~~~~~~~~~~~~~ [53/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/Chunks.cpp [54/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/TLVPass.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/TLVPass.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/TLVPass.cpp.o -c ../lib/ReaderWriter/MachO/TLVPass.cpp [55/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/MapFile.cpp [56/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachONormalizedFileYAML.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachONormalizedFileYAML.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachONormalizedFileYAML.cpp.o -c ../lib/ReaderWriter/MachO/MachONormalizedFileYAML.cpp [57/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/ScriptLexer.cpp [58/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/LayoutPass.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/LayoutPass.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/LayoutPass.cpp.o -c ../lib/ReaderWriter/MachO/LayoutPass.cpp [59/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Arch/MipsArchTree.cpp [60/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/StubsPass.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/StubsPass.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/StubsPass.cpp.o -c ../lib/ReaderWriter/MachO/StubsPass.cpp [61/175] : && /usr/bin/c++ -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/builddir/build/BUILD/lld-13.0.1.src/x86_64-redhat-linux-gnu/./lib64 -Wl,-O3 -Wl,--gc-sections -shared -Wl,-soname,liblldReaderWriter.so.13 -o lib64/liblldReaderWriter.so.13 lib/ReaderWriter/CMakeFiles/lldReaderWriter.dir/FileArchive.cpp.o lib64/liblldCore.so.13 /usr/lib64/libLLVM-13.so && : [62/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/DLL.cpp [63/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/YAML -I../lib/ReaderWriter/YAML -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/YAML/CMakeFiles/lldYAML.dir/ReaderWriterYAML.cpp.o -MF lib/ReaderWriter/YAML/CMakeFiles/lldYAML.dir/ReaderWriterYAML.cpp.o.d -o lib/ReaderWriter/YAML/CMakeFiles/lldYAML.dir/ReaderWriterYAML.cpp.o -c ../lib/ReaderWriter/YAML/ReaderWriterYAML.cpp [64/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/CompactUnwindPass.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/CompactUnwindPass.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/CompactUnwindPass.cpp.o -c ../lib/ReaderWriter/MachO/CompactUnwindPass.cpp [65/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Arch/Hexagon.cpp [66/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Arch/ARM.cpp [67/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/DriverUtils.cpp [68/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/CallGraphSort.cpp [69/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Arch/SPARCV9.cpp [70/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Arch/X86.cpp [71/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachONormalizedFileBinaryReader.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachONormalizedFileBinaryReader.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachONormalizedFileBinaryReader.cpp.o -c ../lib/ReaderWriter/MachO/MachONormalizedFileBinaryReader.cpp [72/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Arch/PPC.cpp [73/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/ScriptParser.cpp FAILED: ELF/CMakeFiles/lldELF.dir/ScriptParser.cpp.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/ScriptParser.cpp ../ELF/ScriptParser.cpp: In function 'std::pair parseBfdName(llvm::StringRef)': ../ELF/ScriptParser.cpp:435:46: error: 'EM_LOONGARCH' was not declared in this scope .Case("elf64-loongarch", {ELF64LEKind, EM_LOONGARCH}) ^~~~~~~~~~~~ ../ELF/ScriptParser.cpp:435:59: error: no matching function for call to 'llvm::StringSwitch >::Case(const char [16], )' .Case("elf64-loongarch", {ELF64LEKind, EM_LOONGARCH}) ^ In file included from /usr/include/llvm/Support/FormatProviders.h:19, from /usr/include/llvm/Support/Chrono.h:13, from /usr/include/llvm/Object/Archive.h:21, from ../ELF/InputFiles.h:20, from ../ELF/SymbolTable.h:12, from ../ELF/Driver.h:13, from ../ELF/ScriptParser.cpp:16: /usr/include/llvm/ADT/StringSwitch.h:67:17: note: candidate: 'llvm::StringSwitch& llvm::StringSwitch::Case(llvm::StringLiteral, T) [with T = std::pair; R = std::pair]' StringSwitch &Case(StringLiteral S, T Value) { ^~~~ /usr/include/llvm/ADT/StringSwitch.h:67:17: note: no known conversion for argument 2 from '' to 'std::pair' [74/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachOLinkingContext.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachOLinkingContext.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachOLinkingContext.cpp.o -c ../lib/ReaderWriter/MachO/MachOLinkingContext.cpp [75/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/Driver -I../lib/Driver -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/Driver/CMakeFiles/lldDriver.dir/DarwinLdDriver.cpp.o -MF lib/Driver/CMakeFiles/lldDriver.dir/DarwinLdDriver.cpp.o.d -o lib/Driver/CMakeFiles/lldDriver.dir/DarwinLdDriver.cpp.o -c ../lib/Driver/DarwinLdDriver.cpp [76/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/AArch64ErrataFix.cpp ../ELF/AArch64ErrataFix.cpp: In member function 'void lld::elf::AArch64Err843419Patcher::insertPatches(lld::elf::InputSectionDescription&, std::vector&)': ../ELF/AArch64ErrataFix.cpp:509:27: warning: 'isecLimit' may be used uninitialized in this function [-Wmaybe-uninitialized] (*patchIt)->outSecOff = isecLimit; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ [77/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/DriverUtils.cpp [78/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Arch/X86_64.cpp [79/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Arch/RISCV.cpp [80/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachONormalizedFileToAtoms.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachONormalizedFileToAtoms.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachONormalizedFileToAtoms.cpp.o -c ../lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp ../lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp: In function 'llvm::Error lld::mach_o::{anonymous}::processSection(lld::DefinedAtom::ContentType, const lld::mach_o::normalized::Section&, bool, const lld::mach_o::normalized::NormalizedFile&, lld::mach_o::MachOFile&, bool, bool)': ../lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp:481:43: warning: 'size' may be used uninitialized in this function [-Wmaybe-uninitialized] file.addDefinedAtomInCustomSection(StringRef(), scope, atomType, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ merge, false, false, offset, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ size, segSectName, true, §ion); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [81/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ReaderWriter/MachO -I../lib/ReaderWriter/MachO -I../include -Iinclude -I../lib/ReaderWriter/MachO/. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachONormalizedFileFromAtoms.cpp.o -MF lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachONormalizedFileFromAtoms.cpp.o.d -o lib/ReaderWriter/MachO/CMakeFiles/lldMachO.dir/MachONormalizedFileFromAtoms.cpp.o -c ../lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp [82/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICommon -I../Common -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../Common/ErrorHandler.cpp [83/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IMachO -I../MachO -I../include -Iinclude -I/usr/share/llvm/src/../libunwind/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT MachO/CMakeFiles/lldMachO2.dir/Arch/X86_64.cpp.o -MF MachO/CMakeFiles/lldMachO2.dir/Arch/X86_64.cpp.o.d -o MachO/CMakeFiles/lldMachO2.dir/Arch/X86_64.cpp.o -c ../MachO/Arch/X86_64.cpp [84/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Arch/Mips.cpp [85/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/ARMErrataFix.cpp ../ELF/ARMErrataFix.cpp: In member function 'void lld::elf::ARMErr657417Patcher::insertPatches(lld::elf::InputSectionDescription&, std::vector&)': ../ELF/ARMErrataFix.cpp:393:27: warning: 'isecLimit' may be used uninitialized in this function [-Wmaybe-uninitialized] (*patchIt)->outSecOff = isecLimit; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ [86/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IMachO -I../MachO -I../include -Iinclude -I/usr/share/llvm/src/../libunwind/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT MachO/CMakeFiles/lldMachO2.dir/Arch/ARM64Common.cpp.o -MF MachO/CMakeFiles/lldMachO2.dir/Arch/ARM64Common.cpp.o.d -o MachO/CMakeFiles/lldMachO2.dir/Arch/ARM64Common.cpp.o -c ../MachO/Arch/ARM64Common.cpp [87/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IMachO -I../MachO -I../include -Iinclude -I/usr/share/llvm/src/../libunwind/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT MachO/CMakeFiles/lldMachO2.dir/Arch/ARM.cpp.o -MF MachO/CMakeFiles/lldMachO2.dir/Arch/ARM.cpp.o.d -o MachO/CMakeFiles/lldMachO2.dir/Arch/ARM.cpp.o -c ../MachO/Arch/ARM.cpp [88/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Target.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Target.cpp.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Target.cpp ../ELF/Target.cpp: In function 'lld::elf::TargetInfo* lld::elf::getTarget()': ../ELF/Target.cpp:65:8: error: 'EM_LOONGARCH' was not declared in this scope case EM_LOONGARCH: ^~~~~~~~~~~~ [89/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/InputSection.cpp FAILED: ELF/CMakeFiles/lldELF.dir/InputSection.cpp.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/InputSection.cpp ../ELF/InputSection.cpp: In function 'int64_t getTlsTpOffset(const lld::elf::Symbol&)': ../ELF/InputSection.cpp:664:8: error: 'EM_LOONGARCH' was not declared in this scope case EM_LOONGARCH: ^~~~~~~~~~~~ [90/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/DebugTypes.cpp [91/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Arch/PPC64.cpp ../ELF/Arch/PPC64.cpp: In function 'void writeSequence(llvm::MutableArrayRef, const char*, int, uint32_t, llvm::ArrayRef)': ../ELF/Arch/PPC64.cpp:239:36: warning: 'first' may be used uninitialized in this function [-Wmaybe-uninitialized] 4 * (buf.size() - first)), ~~~~~~~~~~~~^~~~~~~~ [92/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IMachO -I../MachO -I../include -Iinclude -I/usr/share/llvm/src/../libunwind/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT MachO/CMakeFiles/lldMachO2.dir/Arch/ARM64.cpp.o -MF MachO/CMakeFiles/lldMachO2.dir/Arch/ARM64.cpp.o.d -o MachO/CMakeFiles/lldMachO2.dir/Arch/ARM64.cpp.o -c ../MachO/Arch/ARM64.cpp [93/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IMachO -I../MachO -I../include -Iinclude -I/usr/share/llvm/src/../libunwind/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -MD -MT MachO/CMakeFiles/lldMachO2.dir/Arch/ARM64_32.cpp.o -MF MachO/CMakeFiles/lldMachO2.dir/Arch/ARM64_32.cpp.o.d -o MachO/CMakeFiles/lldMachO2.dir/Arch/ARM64_32.cpp.o -c ../MachO/Arch/ARM64_32.cpp [94/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/DWARF.cpp [95/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/PDB.cpp ../COFF/PDB.cpp: In function 'llvm::Optional > lld::coff::getFileLineCodeView(const lld::coff::SectionChunk*, uint32_t)': ../COFF/PDB.cpp:1796:7: warning: 'offsetInLinetable' may be used uninitialized in this function [-Wmaybe-uninitialized] if (ln.Offset > offsetInLinetable) { ^~ [96/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/LTO.cpp [97/175] /usr/bin/c++ -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iutils/unittest -I/usr/share/llvm/src/utils/unittest -I/usr/share/llvm/src/utils/unittest/googletest/include -I/usr/share/llvm/src/utils/unittest/googlemock/include -I/usr/share/llvm/src/utils/unittest/googletest -I/usr/share/llvm/src/utils/unittest/googlemock -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -Wno-suggest-override -fno-exceptions -MD -MT utils/unittest/CMakeFiles/gtest.dir/googletest/src/gtest-all.cc.o -MF utils/unittest/CMakeFiles/gtest.dir/googletest/src/gtest-all.cc.o.d -o utils/unittest/CMakeFiles/gtest.dir/googletest/src/gtest-all.cc.o -c /usr/share/llvm/src/utils/unittest/googletest/src/gtest-all.cc [98/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/SymbolTable.cpp [99/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Relocations.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Relocations.cpp.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Relocations.cpp ../ELF/Relocations.cpp: In function 'unsigned int handleTlsRelocation(lld::elf::RelType, lld::elf::Symbol&, lld::elf::InputSectionBase&, typename ELFT::uint, int64_t, lld::elf::RelExpr)': ../ELF/Relocations.cpp:207:61: error: 'EM_LOONGARCH' was not declared in this scope config->emachine != EM_HEXAGON && config->emachine != EM_LOONGARCH && ^~~~~~~~~~~~ ../ELF/Relocations.cpp: In function 'void processRelocAux(lld::elf::InputSectionBase&, lld::elf::RelExpr, lld::elf::RelType, uint64_t, lld::elf::Symbol&, const RelTy&, int64_t)': ../ELF/Relocations.cpp:1277:27: error: 'EM_LOONGARCH' was not declared in this scope if (config->emachine == EM_LOONGARCH && ^~~~~~~~~~~~ ../ELF/Relocations.cpp:1278:16: error: 'R_LARCH_32' was not declared in this scope (type == R_LARCH_32 || type == R_LARCH_64)) ^~~~~~~~~~ ../ELF/Relocations.cpp:1278:38: error: 'R_LARCH_64' was not declared in this scope (type == R_LARCH_32 || type == R_LARCH_64)) ^~~~~~~~~~ ../ELF/Relocations.cpp:1282:29: error: 'EM_LOONGARCH' was not declared in this scope if (config->emachine == EM_LOONGARCH && oneof(expr)) { ^~~~~~~~~~~~ [100/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Symbols.cpp [101/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/Writer.cpp [102/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/MarkLive.cpp [103/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/ICF.cpp [104/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/SymbolTable.cpp [105/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Thunks.cpp [106/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/MapFile.cpp [107/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/LinkerScript.cpp [108/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Driver.cpp FAILED: ELF/CMakeFiles/lldELF.dir/Driver.cpp.o /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Driver.cpp ../ELF/Driver.cpp: In function 'std::tuple parseEmulation(llvm::StringRef)': ../ELF/Driver.cpp:166:49: error: 'EM_LOONGARCH' was not declared in this scope .Case("elf64loongarch", {ELF64LEKind, EM_LOONGARCH}) ^~~~~~~~~~~~ ../ELF/Driver.cpp:166:62: error: no matching function for call to 'llvm::StringSwitch >::Case(const char [15], )' .Case("elf64loongarch", {ELF64LEKind, EM_LOONGARCH}) ^ In file included from /usr/include/llvm/Support/FormatProviders.h:19, from /usr/include/llvm/Support/Chrono.h:13, from /usr/include/llvm/Object/Archive.h:21, from ../ELF/InputFiles.h:20, from ../ELF/SymbolTable.h:12, from ../ELF/Driver.h:13, from ../ELF/Driver.cpp:25: /usr/include/llvm/ADT/StringSwitch.h:67:17: note: candidate: 'llvm::StringSwitch& llvm::StringSwitch::Case(llvm::StringLiteral, T) [with T = std::pair; R = std::pair]' StringSwitch &Case(StringLiteral S, T Value) { ^~~~ /usr/include/llvm/ADT/StringSwitch.h:67:17: note: no known conversion for argument 2 from '' to 'std::pair' ../ELF/Driver.cpp: In function 'bool getIsRela(llvm::opt::InputArgList&)': ../ELF/Driver.cpp:983:67: error: 'EM_LOONGARCH' was not declared in this scope m == EM_PPC64 || m == EM_RISCV || m == EM_X86_64 || m == EM_LOONGARCH; ^~~~~~~~~~~~ [109/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/LTO.cpp [110/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/OutputSections.cpp [111/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/InputFiles.cpp [112/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -ICOFF -I../COFF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../COFF/Driver.cpp [113/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/Writer.cpp [114/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/InputFiles.cpp ../ELF/InputFiles.cpp: In function 'void handleSectionGroup(llvm::ArrayRef, llvm::ArrayRef) [with ELFT = llvm::object::ELFType<(llvm::support::endianness)1, false>]': ../ELF/InputFiles.cpp:560:5: warning: 'head' may be used uninitialized in this function [-Wmaybe-uninitialized] prev->nextInSectionGroup = head; ^~~~ ../ELF/InputFiles.cpp: In function 'void handleSectionGroup(llvm::ArrayRef, llvm::ArrayRef) [with ELFT = llvm::object::ELFType<(llvm::support::endianness)0, false>]': ../ELF/InputFiles.cpp:560:5: warning: 'head' may be used uninitialized in this function [-Wmaybe-uninitialized] prev->nextInSectionGroup = head; ^~~~ [115/175] /usr/bin/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IELF -I../ELF -I../include -Iinclude -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -Wimplicit-fallthrough -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -fPIC -fno-exceptions -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 ../ELF/SyntheticSections.cpp ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.c46isT (%build) Bad exit status from /var/tmp/rpm-tmp.c46isT (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 --target x86_64 --nodeps /builddir/build/SPECS/lld.spec