ninja: Entering directory `out/gn' [1/513] LINK obj/clang/unittests/Frontend/FrontendTests FAILED: obj/clang/unittests/Frontend/FrontendTests ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang++ -Wl,--color-diagnostics -fuse-ld=lld -o obj/clang/unittests/Frontend/FrontendTests -Wl,--start-group obj/clang/unittests/Frontend/FrontendTests.ASTUnitTest.o obj/clang/unittests/Frontend/FrontendTests.CodeGenActionTest.o obj/clang/unittests/Frontend/FrontendTests.CompilerInstanceTest.o obj/clang/unittests/Frontend/FrontendTests.CompilerInvocationTest.o obj/clang/unittests/Frontend/FrontendTests.FixedPointString.o obj/clang/unittests/Frontend/FrontendTests.FrontendActionTest.o obj/clang/unittests/Frontend/FrontendTests.NoAlterCodeGenActionTest.o obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o obj/clang/unittests/Frontend/FrontendTests.PCHPreambleTest.o obj/clang/unittests/Frontend/FrontendTests.ParsedSourceLocationTest.o obj/clang/unittests/Frontend/FrontendTests.ReparseWorkingDirTest.o obj/clang/unittests/Frontend/FrontendTests.TextDiagnosticTest.o obj/clang/unittests/Frontend/FrontendTests.UtilsTest.o obj/third-party/unittest/UnitTestMain/UnitTestMain.TestMain.o lib/libclangAST.a lib/libclangBasic.a lib/libclangCodeGen.a lib/libclangFrontend.a lib/libclangFrontendTool.a lib/libclangLex.a lib/libclangSema.a lib/libclangTooling.a lib/libLLVMSupport.a lib/libLLVMTargetParser.a lib/libLLVMOption.a lib/libLLVMSupportBlake3.a lib/libLLVMDemangle.a lib/libLLVMBinaryFormat.a lib/libLLVMFrontendOpenMP.a lib/libLLVMAnalysis.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMProfileData.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMMC.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMObject.a lib/libLLVMBitReader.a lib/libLLVMIRReader.a lib/libLLVMAsmParser.a lib/libLLVMMCParser.a lib/libLLVMTextAPI.a lib/libLLVMSymbolize.a lib/libLLVMDebugInfoBTF.a lib/libLLVMDebugInfoPDB.a lib/libLLVMFrontendAtomic.a lib/libLLVMFrontendOffloading.a lib/libLLVMObjectYAML.a lib/libLLVMTransformUtils.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libclangAnalysis.a lib/libclangASTMatchers.a lib/libclangAPINotes.a lib/libclangDriver.a lib/libLLVMWindowsDriver.a lib/libclangEdit.a lib/libclangParse.a lib/libclangSupport.a lib/libLLVMFrontendOpenACC.a lib/libclangSerialization.a lib/libLLVMCodeGen.a lib/libLLVMBitWriter.a lib/libLLVMCGData.a lib/libLLVMCodeGenTypes.a lib/libLLVMTarget.a lib/libLLVMObjCARCOpts.a lib/libLLVMFrontendDriver.a lib/libLLVMFrontendHLSL.a lib/libLLVMIRPrinter.a lib/libLLVMLTO.a lib/libLLVMExtensions.a lib/libLLVMLinker.a lib/libLLVMPasses.a lib/libLLVMCFGuard.a lib/libLLVMCoroutines.a lib/libLLVMipo.a lib/libLLVMInstrumentation.a lib/libLLVMVectorize.a lib/libLLVMSandboxIR.a lib/libLLVMHipStdPar.a lib/libLLVMCoverage.a lib/libclangExtractAPI.a lib/libclangIndex.a lib/libclangFormat.a lib/libclangToolingCore.a lib/libclangRewrite.a lib/libclangToolingInclusions.a lib/libclangInstallAPI.a lib/libclangRewriteFrontend.a lib/libclangStaticAnalyzerFrontend.a lib/libclangCrossTU.a lib/libclangStaticAnalyzerCheckers.a lib/libclangStaticAnalyzerCore.a lib/libgtest.a -Wl,--end-group -ldl -lpthread -lz ld.lld: error: undefined symbol: LLVMInitializeAArch64TargetMC >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestOutputStream_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamShared_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamOwned_Test::TestBody()) ld.lld: error: undefined symbol: LLVMInitializeAMDGPUTargetMC >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestOutputStream_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamShared_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamOwned_Test::TestBody()) ld.lld: error: undefined symbol: LLVMInitializeARMTargetMC >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestOutputStream_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamShared_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamOwned_Test::TestBody()) ld.lld: error: undefined symbol: LLVMInitializeAVRTargetMC >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestOutputStream_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamShared_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamOwned_Test::TestBody()) ld.lld: error: undefined symbol: LLVMInitializeBPFTargetMC >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestOutputStream_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamShared_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamOwned_Test::TestBody()) ld.lld: error: undefined symbol: LLVMInitializeHexagonTargetMC >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestOutputStream_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamShared_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamOwned_Test::TestBody()) ld.lld: error: undefined symbol: LLVMInitializeLanaiTargetMC >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestOutputStream_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamShared_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamOwned_Test::TestBody()) ld.lld: error: undefined symbol: LLVMInitializeLoongArchTargetMC >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestOutputStream_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamShared_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamOwned_Test::TestBody()) ld.lld: error: undefined symbol: LLVMInitializeMipsTargetMC >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestOutputStream_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamShared_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamOwned_Test::TestBody()) ld.lld: error: undefined symbol: LLVMInitializeNVPTXTargetMC >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestOutputStream_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamShared_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamOwned_Test::TestBody()) ld.lld: error: undefined symbol: LLVMInitializePowerPCTargetMC >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestOutputStream_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamShared_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamOwned_Test::TestBody()) ld.lld: error: undefined symbol: LLVMInitializeRISCVTargetMC >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestOutputStream_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamShared_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamOwned_Test::TestBody()) ld.lld: error: undefined symbol: LLVMInitializeSparcTargetMC >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestOutputStream_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamShared_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamOwned_Test::TestBody()) ld.lld: error: undefined symbol: LLVMInitializeSystemZTargetMC >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestOutputStream_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamShared_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamOwned_Test::TestBody()) ld.lld: error: undefined symbol: LLVMInitializeWebAssemblyTargetMC >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestOutputStream_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamShared_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamOwned_Test::TestBody()) ld.lld: error: undefined symbol: LLVMInitializeX86TargetMC >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestOutputStream_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamShared_Test::TestBody()) >>> referenced by OutputStreamTest.cpp >>> obj/clang/unittests/Frontend/FrontendTests.OutputStreamTest.o:((anonymous namespace)::FrontendOutputTests_TestVerboseOutputStreamOwned_Test::TestBody()) clang++: error: linker command failed with exit code 1 (use -v to see invocation) [2/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.RegisterContextPOSIX_loongarch64.o [3/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.RegisterContextPOSIX_arm.o [4/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.RegisterContextPOSIX_ppc64le.o [5/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.RegisterContextPOSIX_arm64.o [6/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.RegisterContextPOSIX_riscv64.o [7/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.RegisterContextPOSIX_x86.o [8/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.RegisterContextPOSIX_mips64.o [9/513] CXX obj/lldb/source/Plugins/Process/gdb-remote/gdb-remote.ProcessGDBRemoteLog.o [10/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.RegisterContextPOSIX_s390x.o [11/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.RegisterContextPOSIX_powerpc.o [12/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.RegisterContextThreadMemory.o [13/513] CXX obj/lldb/source/Symbol/Symbol.ObjectContainer.o [14/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.HistoryUnwind.o [15/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.HistoryThread.o [16/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.RegisterContextMemory.o [17/513] CXX obj/lldb/source/Target/Target.InstrumentationRuntime.o [18/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.ThreadMemory.o [19/513] CXX obj/lldb/source/Symbol/Symbol.SaveCoreOptions.o [20/513] CXX obj/lldb/source/Target/Target.InstrumentationRuntimeStopInfo.o [21/513] CXX obj/lldb/source/Plugins/UnwindAssembly/x86/x86.UnwindAssembly-x86.o [22/513] CXX obj/lldb/source/Plugins/Process/mach-core/mach-core.ThreadMachCore.o [23/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.RegisterContextHistory.o [24/513] CXX obj/lldb/source/Target/Target.JITLoader.o [25/513] CXX obj/lldb/source/Symbol/Symbol.LineEntry.o [26/513] CXX obj/lldb/source/Plugins/Process/gdb-remote/gdb-remote.GDBRemoteRegisterContext.o [27/513] CXX obj/lldb/source/Target/Target.ABI.o [28/513] CXX obj/lldb/source/Target/Target.ExecutionContext.o [29/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.InferiorCallPOSIX.o [30/513] CXX obj/lldb/source/Plugins/REPL/Clang/Clang.ClangREPL.o [31/513] CXX obj/lldb/source/Plugins/Process/elf-core/elf-core.RegisterContextPOSIXCore_arm64.o [32/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.RegisterContextDarwin_arm64.o [33/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.StopInfoMachException.o [34/513] CXX obj/lldb/source/Plugins/Process/Utility/Utility.RegisterContextDummy.o [35/513] CXX obj/lldb/source/Symbol/Symbol.CompactUnwindInfo.o [36/513] CXX obj/lldb/source/Plugins/Process/gdb-remote/gdb-remote.ThreadGDBRemote.o [37/513] CXX obj/lldb/source/Plugins/Process/minidump/minidump.ThreadMinidump.o [38/513] CXX obj/lldb/source/Plugins/UnwindAssembly/InstEmulation/InstEmulation.UnwindAssemblyInstEmulation.o [39/513] CXX obj/lldb/source/Target/Target.AssertFrameRecognizer.o [40/513] CXX obj/lldb/source/Symbol/Symbol.FuncUnwinders.o [41/513] CXX obj/lldb/source/Plugins/Process/elf-core/elf-core.ThreadElfCore.o [42/513] CXX obj/lldb/source/Symbol/Symbol.ObjectFile.o [43/513] CXX obj/lldb/source/Plugins/SymbolFile/DWARF/DWARF.UniqueDWARFASTType.o [44/513] CXX obj/lldb/source/Symbol/Symbol.Symbol.o [45/513] CXX obj/lldb/source/Target/Target.LanguageRuntime.o [46/513] CXX obj/lldb/source/Symbol/Symbol.CompileUnit.o [47/513] CXX obj/lldb/source/Plugins/Process/mach-core/mach-core.ProcessMachCore.o [48/513] CXX obj/lldb/source/Plugins/SymbolFile/DWARF/DWARF.DWARFIndex.o [49/513] CXX obj/lldb/source/Target/Target.Language.o [50/513] CXX obj/lldb/source/Plugins/Platform/gdb-server/gdb-server.PlatformRemoteGDBServer.o [51/513] CXX obj/lldb/source/Target/Target.DynamicRegisterInfo.o [52/513] CXX obj/lldb/source/Symbol/Symbol.CompilerType.o [53/513] CXX obj/lldb/source/Plugins/Process/elf-core/elf-core.ProcessElfCore.o [54/513] CXX obj/lldb/source/Symbol/Symbol.Function.o [55/513] CXX obj/lldb/source/Plugins/Process/minidump/minidump.ProcessMinidump.o [56/513] CXX obj/lldb/source/Plugins/SymbolFile/DWARF/DWARF.ManualDWARFIndex.o [57/513] CXX obj/lldb/source/Plugins/Platform/POSIX/POSIX.PlatformPOSIX.o [58/513] CXX obj/lldb/source/Plugins/Process/gdb-remote/gdb-remote.GDBRemoteCommunicationServerLLGS.o [59/513] CXX obj/lldb/source/Plugins/SymbolFile/PDB/PDB.PDBASTParser.o [60/513] CXX obj/lldb/source/Plugins/SymbolFile/NativePDB/NativePDB.UdtRecordCompleter.o [61/513] CXX obj/lldb/source/Plugins/SymbolFile/NativePDB/NativePDB.PdbAstBuilder.o [62/513] CXX obj/lldb/source/Plugins/SymbolFile/PDB/PDB.SymbolFilePDB.o [63/513] CXX obj/lldb/source/Plugins/SymbolFile/DWARF/DWARF.DWARFASTParserClang.o [64/513] CXX obj/lldb/source/Plugins/SymbolFile/NativePDB/NativePDB.SymbolFileNativePDB.o [65/513] CXX obj/lldb/source/Plugins/SymbolFile/DWARF/DWARF.SymbolFileDWARF.o [66/513] CXX obj/lldb/source/Plugins/TypeSystem/Clang/Clang.TypeSystemClang.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.