ninja: Entering directory `out/gn' [1/493] AR lib/libclangIncludeCleaner.a [2/493] AR lib/libclangToolingRefactoring.a [3/493] AR lib/libclangApplyReplacements.a [4/493] AR lib/libclangToolingTransformer.a [5/493] AR lib/libclangTidyUtils.a [6/493] AR lib/libclangTidyAbseilModule.a [7/493] AR lib/libclangTidyMiscModule.a [8/493] AR lib/libclangTidyBugproneModule.a [9/493] LINK obj/clang/unittests/Format/FormatTests [10/493] LINK obj/clang-tools-extra/unittests/clang-apply-replacements/ClangApplyReplacementsTests [11/493] LINK ./bin/clang-apply-replacements [12/493] LINK obj/clang/unittests/Serialization/SerializationTests [13/493] LINK ./bin/clang-refactor [14/493] LINK obj/clang/unittests/AST/ByteCode/InterpTests [15/493] LINK obj/clang/unittests/ASTMatchers/Dynamic/DynamicASTMatchersTests [16/493] LINK obj/clang/unittests/Analysis/FlowSensitive/ClangAnalysisFlowSensitiveTests [17/493] LINK obj/clang/unittests/ASTMatchers/ASTMatchersTests [18/493] LINK obj/clang/unittests/Analysis/ClangAnalysisTests [19/493] LINK obj/clang/unittests/Sema/SemaTests [20/493] LINK obj/clang/unittests/Rewrite/RewriteTests [21/493] LINK obj/clang/unittests/AST/ASTTests [22/493] LINK obj/clang/unittests/StaticAnalyzer/StaticAnalysisTests [23/493] LINK obj/clang-tools-extra/unittests/clang-tidy/ClangTidyTests [24/493] 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) [25/493] ACTION //llvm/tools/llvm-exegesis/lib/X86:X86GenExegesis(//llvm/utils/gn/build/toolchain:unix) [26/493] ACTION //llvm/lib/Target/X86:X86GenCallingConv(//llvm/utils/gn/build/toolchain:unix) [27/493] ACTION //llvm/lib/Target/X86:X86GenRegisterBank(//llvm/utils/gn/build/toolchain:unix) [28/493] ACTION //llvm/lib/Target/X86/MCTargetDesc:X86GenRegisterInfo(//llvm/utils/gn/build/toolchain:unix) [29/492] ACTION //llvm/lib/Target/X86/MCTargetDesc:X86GenAsmWriter1(//llvm/utils/gn/build/toolchain:unix) [30/492] ACTION //llvm/lib/Target/X86/MCTargetDesc:X86GenMnemonicTables(//llvm/utils/gn/build/toolchain:unix) [31/492] ACTION //llvm/lib/Target/X86:X86GenInstrMapping(//llvm/utils/gn/build/toolchain:unix) [32/492] ACTION //llvm/lib/Target/X86/MCTargetDesc:X86GenAsmWriter(//llvm/utils/gn/build/toolchain:unix) [33/492] ACTION //llvm/lib/Target/X86:X86GenFoldTables(//llvm/utils/gn/build/toolchain:unix) [34/492] ACTION //llvm/lib/Target/X86/Disassembler:X86GenDisassemblerTables(//llvm/utils/gn/build/toolchain:unix) [35/492] ACTION //llvm/lib/Target/X86/AsmParser:X86GenAsmMatcher(//llvm/utils/gn/build/toolchain:unix) [36/492] ACTION //llvm/lib/Target/X86:X86GenFastISel(//llvm/utils/gn/build/toolchain:unix) [37/492] ACTION //llvm/lib/Target/X86:X86GenGlobalISel(//llvm/utils/gn/build/toolchain:unix) [38/492] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleObjCRuntimeV1.o [39/492] CXX obj/lldb/source/Plugins/Platform/Linux/Linux.PlatformLinux.o [40/492] CXX obj/lldb/source/Plugins/Platform/Windows/Windows.PlatformWindows.o [41/492] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/ObjC.ObjCLanguageRuntime.o [42/492] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleObjCRuntime.o [43/492] CXX obj/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ItaniumABI.ItaniumABILanguageRuntime.o [44/492] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleObjCTrampolineHandler.o [45/492] ACTION //llvm/lib/Target/X86:X86GenDAGISel(//llvm/utils/gn/build/toolchain:unix) [46/492] CXX obj/lldb/source/Plugins/Platform/POSIX/POSIX.PlatformPOSIX.o [47/492] ACTION //llvm/lib/Target/X86/MCTargetDesc:X86GenSubtargetInfo(//llvm/utils/gn/build/toolchain:unix) [48/492] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleObjCRuntimeV2.o [49/492] CXX obj/lldb/source/Plugins/SymbolFile/PDB/PDB.PDBASTParser.o [50/492] CXX obj/lldb/source/Plugins/SymbolFile/NativePDB/NativePDB.UdtRecordCompleter.o [51/492] ACTION //llvm/lib/Target/X86/MCTargetDesc:X86GenInstrInfo(//llvm/utils/gn/build/toolchain:unix) [52/307] CXX obj/lldb/source/Plugins/SymbolFile/NativePDB/NativePDB.PdbAstBuilder.o [53/307] CXX obj/lldb/source/Plugins/SymbolFile/PDB/PDB.SymbolFilePDB.o [54/307] CXX obj/lldb/source/Plugins/SymbolFile/DWARF/DWARF.DWARFASTParserClang.o [55/307] CXX obj/lldb/source/Plugins/SymbolFile/NativePDB/NativePDB.SymbolFileNativePDB.o [56/307] CXX obj/lldb/source/Plugins/SymbolFile/DWARF/DWARF.SymbolFileDWARF.o [57/307] 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.