ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/819] COPY ../../libcxxabi/include/__cxxabi_config.h include/c++/v1/__cxxabi_config.h [2/819] COPY ../../libcxxabi/include/cxxabi.h include/c++/v1/cxxabi.h [3/819] ACTION //lld/tools/lld:lld-link(//llvm/utils/gn/build/toolchain:unix) [4/819] ACTION //lld/tools/lld:ld64.lld(//llvm/utils/gn/build/toolchain:unix) [5/819] ACTION //lld/tools/lld:ld.lld(//llvm/utils/gn/build/toolchain:unix) [6/819] LINK obj/clang/unittests/libclang/CrashTests/libclangCrashTests [7/819] LINK obj/clang/unittests/libclang/libclangTests [8/819] ACTION //lld/tools/lld:wasm-ld(//llvm/utils/gn/build/toolchain:unix) [9/819] LINK obj/bolt/unittests/Profile/ProfileTests FAILED: obj/bolt/unittests/Profile/ProfileTests ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang++ -Wl,--color-diagnostics -fuse-ld=lld -o obj/bolt/unittests/Profile/ProfileTests -Wl,--start-group obj/bolt/unittests/Profile/ProfileTests.DataAggregator.o obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o obj/bolt/unittests/Profile/ProfileTests.PerfSpeEvents.o obj/third-party/unittest/UnitTestMain/UnitTestMain.TestMain.o lib/libLLVMBOLTProfile.a lib/libLLVMBOLTCore.a lib/libLLVMBOLTUtils.a lib/libLLVMSupport.a lib/libLLVMSupportBlake3.a lib/libLLVMDemangle.a lib/libLLVMBinaryFormat.a lib/libLLVMTargetParser.a lib/libLLVMAsmPrinter.a lib/libLLVMAnalysis.a lib/libLLVMFrontendHLSL.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMProfileData.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMDebugInfoDWARFLowLevel.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/libLLVMDebugInfoGSYM.a lib/libLLVMDebugInfoPDB.a lib/libLLVMCodeGen.a lib/libLLVMBitWriter.a lib/libLLVMTransformUtils.a lib/libLLVMCGData.a lib/libLLVMCodeGenTypes.a lib/libLLVMTarget.a lib/libLLVMObjCARCOpts.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMMCDisassembler.a lib/libLLVMBOLTPasses.a lib/libgtest.a -Wl,--end-group -lpthread -ldl -lz ld.lld: error: undefined symbol: llvm::detail::TakeError(llvm::Error) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::parseAndCheckPerfScriptProfile(std::__cxx11::basic_string, std::allocator> const&, int, unsigned long)) ld.lld: error: undefined symbol: LLVMInitializeAArch64TargetInfo >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::InitializeAllTargets()) ld.lld: error: undefined symbol: LLVMInitializeAMDGPUTargetInfo >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::InitializeAllTargets()) ld.lld: error: undefined symbol: LLVMInitializeARMTargetInfo >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::InitializeAllTargets()) ld.lld: error: undefined symbol: LLVMInitializeAVRTargetInfo >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::InitializeAllTargets()) ld.lld: error: undefined symbol: LLVMInitializeBPFTargetInfo >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::InitializeAllTargets()) ld.lld: error: undefined symbol: LLVMInitializeHexagonTargetInfo >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::InitializeAllTargets()) ld.lld: error: undefined symbol: LLVMInitializeLanaiTargetInfo >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::InitializeAllTargets()) ld.lld: error: undefined symbol: LLVMInitializeLoongArchTargetInfo >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::InitializeAllTargets()) ld.lld: error: undefined symbol: LLVMInitializeMipsTargetInfo >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::InitializeAllTargets()) ld.lld: error: undefined symbol: LLVMInitializeNVPTXTargetInfo >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::InitializeAllTargets()) ld.lld: error: undefined symbol: LLVMInitializePowerPCTargetInfo >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::InitializeAllTargets()) ld.lld: error: undefined symbol: LLVMInitializeRISCVTargetInfo >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::InitializeAllTargets()) ld.lld: error: undefined symbol: LLVMInitializeSparcTargetInfo >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::InitializeAllTargets()) ld.lld: error: undefined symbol: LLVMInitializeSystemZTargetInfo >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::InitializeAllTargets()) ld.lld: error: undefined symbol: LLVMInitializeWebAssemblyTargetInfo >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::InitializeAllTargets()) ld.lld: error: undefined symbol: LLVMInitializeX86TargetInfo >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::InitializeAllTargets()) ld.lld: error: undefined symbol: LLVMInitializeAArch64TargetMC >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) ld.lld: error: undefined symbol: LLVMInitializeAMDGPUTargetMC >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) ld.lld: error: undefined symbol: LLVMInitializeARMTargetMC >>> referenced by PerfScripts.cpp >>> obj/bolt/unittests/Profile/ProfileTests.PerfScripts.o:(llvm::bolt::PerfScriptTestHelper::initalizeLLVM()) ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) clang++: error: linker command failed with exit code 1 (use -v to see invocation) [10/819] ACTION //libcxx/include:copy_headers(//llvm/utils/gn/build/toolchain:unix) [11/819] LINK ./bin/c-index-test [12/819] LINK ./bin/clang [13/819] CXX obj/lldb/source/Breakpoint/Breakpoint.WatchpointList.o [14/819] CXX obj/lldb/source/Breakpoint/Breakpoint.ScriptedBreakpointOverrideResolver.o [15/819] CXX obj/lldb/source/Breakpoint/Breakpoint.BreakpointList.o [16/819] CXX obj/lldb/source/Core/Core.AddressRange.o [17/819] CXX obj/lldb/source/Breakpoint/Breakpoint.BreakpointResolverFileLine.o [18/819] CXX obj/lldb/source/Breakpoint/Breakpoint.BreakpointLocationList.o [19/819] CXX obj/lldb/source/Plugins/ObjectContainer/BSD-Archive/BSD-Archive.ObjectContainerBSDArchive.o [20/819] CXX obj/lldb/source/Breakpoint/Breakpoint.WatchpointOptions.o [21/819] CXX obj/lldb/source/Commands/Commands.CommandObjectLanguage.o [22/819] CXX obj/lldb/source/Breakpoint/Breakpoint.WatchpointAlgorithms.o [23/819] CXX obj/lldb/source/Breakpoint/Breakpoint.BreakpointResolverFileRegex.o [24/819] CXX obj/lldb/source/Core/Core.EmulateInstruction.o [25/819] CXX obj/lldb/source/Breakpoint/Breakpoint.BreakpointIDList.o [26/819] CXX obj/lldb/source/Commands/Commands.CommandObjectQuit.o [27/819] CXX obj/lldb/source/Commands/Commands.CommandObjectMemoryTag.o [28/819] CXX obj/lldb/source/Breakpoint/Breakpoint.BreakpointResolverAddress.o [29/819] CXX obj/lldb/source/Commands/Commands.CommandObjectGUI.o [30/819] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleThreadPlanStepThroughObjCTrampoline.o [31/819] CXX obj/lldb/source/Commands/Commands.CommandObjectApropos.o [32/819] CXX obj/lldb/source/Commands/Commands.CommandObjectRegexCommand.o [33/819] CXX obj/lldb/source/Commands/Commands.CommandObjectHelp.o [34/819] CXX obj/lldb/source/Breakpoint/Breakpoint.Watchpoint.o [35/819] CXX obj/lldb/source/Commands/Commands.CommandObjectSession.o [36/819] CXX obj/lldb/source/Breakpoint/Breakpoint.BreakpointResolverScripted.o [37/819] CXX obj/lldb/source/Breakpoint/Breakpoint.BreakpointOptions.o [38/819] CXX obj/lldb/source/DataFormatters/DataFormatters.DataVisualization.o [39/819] CXX obj/lldb/source/Breakpoint/Breakpoint.BreakpointResolverName.o [40/819] CXX obj/lldb/source/Commands/Commands.CommandObjectMultiword.o [41/819] CXX obj/lldb/source/Commands/Commands.CommandObjectRegister.o [42/819] CXX obj/lldb/source/Commands/Commands.CommandObjectLog.o [43/819] CXX obj/lldb/source/Commands/Commands.CommandObjectScripting.o [44/819] CXX obj/lldb/source/Commands/Commands.CommandObjectBreakpointCommand.o [45/819] CXX obj/lldb/source/Plugins/DynamicLoader/Windows-DYLD/Windows-DYLD.DynamicLoaderWindowsDYLD.o [46/819] CXX obj/lldb/source/Commands/Commands.CommandObjectSettings.o [47/819] CXX obj/lldb/source/Commands/Commands.CommandObjectPlugin.o [48/819] CXX obj/lldb/source/Commands/Commands.CommandObjectProtocolServer.o [49/819] CXX obj/lldb/source/Commands/Commands.CommandObjectDisassemble.o [50/819] CXX obj/lldb/source/Commands/Commands.CommandObjectSource.o [51/819] CXX obj/lldb/source/Breakpoint/Breakpoint.BreakpointLocation.o [52/819] CXX obj/lldb/source/Commands/Commands.CommandObjectExpression.o [53/819] CXX obj/lldb/source/Breakpoint/Breakpoint.BreakpointResolver.o [54/819] CXX obj/lldb/source/Commands/Commands.CommandObjectPlatform.o [55/819] CXX obj/lldb/source/Commands/Commands.CommandCompletions.o [56/819] CXX obj/lldb/source/Breakpoint/Breakpoint.Breakpoint.o [57/819] CXX obj/lldb/source/Commands/Commands.CommandObjectFrame.o [58/819] CXX obj/lldb/source/Commands/Commands.CommandObjectCommands.o [59/819] CXX obj/lldb/source/Commands/Commands.CommandObjectProcess.o [60/819] CXX obj/lldb/source/Commands/Commands.CommandObjectMemory.o [61/819] CXX obj/lldb/source/Commands/Commands.CommandObjectDWIMPrint.o [62/819] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleObjCTypeEncodingParser.o [63/819] CXX obj/lldb/source/Commands/Commands.CommandObjectBreakpoint.o [64/819] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleObjCDeclVendor.o [65/819] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleObjCRuntimeV1.o [66/819] CXX obj/lldb/source/Plugins/ObjectFile/Mach-O/Mach-O.ObjectFileMachO.o [67/819] CXX obj/lldb/source/Plugins/Platform/MacOSX/MacOSX.PlatformDarwin.o [68/819] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleObjCRuntime.o [69/819] CXX obj/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/MacOSX-DYLD.DynamicLoaderMacOSXDYLD.o [70/819] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleObjCTrampolineHandler.o [71/819] CXX obj/lldb/source/Plugins/Language/ObjC/ObjC.ObjCLanguage.o [72/819] CXX obj/lldb/source/Plugins/Language/CPlusPlus/CPlusPlus.BlockPointer.o [73/819] CXX obj/lldb/source/Plugins/ExpressionParser/Clang/Clang.ASTStructExtractor.o [74/819] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleObjCRuntimeV2.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.