ninja: Entering directory `out/gn' [0/1] Regenerating ninja files [1/393] COPY ../../libcxxabi/include/__cxxabi_config.h include/c++/v1/__cxxabi_config.h [2/393] COPY ../../libcxxabi/include/cxxabi.h include/c++/v1/cxxabi.h [3/393] ACTION //clang/tools/driver:clangxx(//llvm/utils/gn/build/toolchain:unix) [4/393] ACTION //clang/tools/driver:clang-cl(//llvm/utils/gn/build/toolchain:unix) [5/393] ACTION //clang/tools/driver:clang-cpp(//llvm/utils/gn/build/toolchain:unix) [6/393] ACTION //llvm/include/llvm/Config:AsmParsers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [7/393] ACTION //compiler-rt/test/hwasan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [8/393] ACTION //llvm/include/llvm/Config:AsmPrinters.def(//llvm/utils/gn/build/toolchain:stage2_unix) [9/393] ACTION //llvm/include/llvm/Config:TargetMCAs.def(//llvm/utils/gn/build/toolchain:stage2_unix) [10/393] ACTION //llvm/include/llvm/Config:Disassemblers.def(//llvm/utils/gn/build/toolchain:stage2_unix) [11/393] ACTION //llvm/include/llvm/Support:write_extension_def(//llvm/utils/gn/build/toolchain:stage2_unix) [12/393] ACTION //compiler-rt/test:lit_common_configured(//llvm/utils/gn/build/toolchain:stage2_unix) [13/393] ACTION //compiler-rt/test/lsan:asan_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [14/393] ACTION //llvm/include/llvm/Config:TargetExegesis.def(//llvm/utils/gn/build/toolchain:stage2_unix) [15/393] ACTION //compiler-rt/test/asan:lit_site_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [16/393] ACTION //llvm/include/llvm/Config:Targets(//llvm/utils/gn/build/toolchain:stage2_unix) [17/393] ACTION //llvm/include/llvm/Config:Targets.def(//llvm/utils/gn/build/toolchain:stage2_unix) [18/393] ACTION //llvm/include/llvm/Config:llvm-config(//llvm/utils/gn/build/toolchain:stage2_unix) [19/348] ACTION //llvm/include/llvm/Support:write_vcsrevision(//llvm/utils/gn/build/toolchain:stage2_unix) [20/348] ACTION //compiler-rt/test/builtins:builtins_mode_cfg(//llvm/utils/gn/build/toolchain:stage2_unix) [21/348] ACTION //llvm/include/llvm/Config:abi-breaking(//llvm/utils/gn/build/toolchain:stage2_unix) [22/265] ACTION //llvm/include/llvm/Config:config(//llvm/utils/gn/build/toolchain:stage2_unix) [23/242] 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) [24/242] ACTION //libcxx/include:copy_headers(//llvm/utils/gn/build/toolchain:unix) [25/242] ACTION //compiler-rt/lib/ubsan:ubsan_loop_detect_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [26/242] ACTION //compiler-rt/lib/ubsan:ubsan_static_cxx_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [27/242] ACTION //compiler-rt/lib/ubsan:ubsan_static_dynamic_list(//llvm/utils/gn/build/toolchain:stage2_unix) [28/242] ACTION //compiler-rt/lib/ubsan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [29/242] ACTION //compiler-rt/lib/hwasan:version_script(//llvm/utils/gn/build/toolchain:stage2_unix) [30/242] CC stage2_unix/obj/compiler-rt/lib/profile/profile.InstrProfilingFile.o [31/242] CXX stage2_unix/obj/llvm/lib/Support/Support.SuffixTreeNode.o [32/242] CXX stage2_unix/obj/llvm/lib/Support/Support.StringSaver.o [33/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.size_class_map_test.o [34/242] CXX stage2_unix/obj/llvm/lib/Support/Support.Debug.o [35/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoCUnitTest.scudo_unit_test_main.o [36/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.condition_variable_test.o [37/242] CXX stage2_unix/obj/llvm/lib/Support/Support.WithColor.o [38/242] CXX stage2_unix/obj/llvm/lib/Support/Support.SuffixTree.o [39/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoHooksUnitTest.scudo_unit_test_main.o [40/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.strings_test.o [41/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoCxxUnitTest.scudo_unit_test_main.o [42/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.scudo_unit_test_main.o [43/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.bytemap_test.o [44/242] CXX stage2_unix/obj/llvm/lib/Support/Support.RandomNumberGenerator.o [45/242] CXX stage2_unix/obj/llvm/lib/Support/Support.Program.o [46/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.common_test.o [47/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.report_test.o [48/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.checksum_test.o [49/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.stats_test.o [50/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.mutex_test.o [51/242] CXX stage2_unix/obj/llvm/lib/Support/Support.DebugCounter.o [52/242] CXX stage2_unix/obj/llvm/lib/Support/Support.AMDGPUMetadata.o [53/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.chunk_test.o [54/242] CXX stage2_unix/obj/llvm/lib/Support/Support.ELFAttrParserExtended.o [55/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.memtag_test.o [56/242] CXX stage2_unix/obj/llvm/lib/Support/Support.ScopedPrinter.o [57/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.vector_test.o [58/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.flags_test.o [59/242] CXX stage2_unix/obj/llvm/lib/Support/Support.CodeGenCoverage.o [60/242] CXX stage2_unix/obj/llvm/lib/Support/Support.Statistic.o [61/242] CXX stage2_unix/obj/llvm/lib/Support/Support.ELFAttrParserCompact.o [62/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.allocator_config_test.o [63/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.atomic_test.o [64/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.timing_test.o [65/242] CXX stage2_unix/obj/llvm/lib/Support/Support.Timer.o [66/242] CXX stage2_unix/obj/llvm/lib/Support/Support.ARMAttributeParser.o [67/242] CXX stage2_unix/obj/llvm/lib/Support/Support.YAMLTraits.o [68/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.quarantine_test.o [69/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoCUnitTest.wrappers_c_test.o [70/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.list_test.o [71/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.map_test.o [72/242] CXX stage2_unix/obj/llvm/lib/Support/Support.JSON.o [73/242] CXX stage2_unix/obj/llvm/lib/Support/Support.ThreadPool.o [74/242] CXX stage2_unix/obj/llvm/lib/Support/Support.TimeProfiler.o [75/242] CXX stage2_unix/obj/llvm/lib/Support/Support.Signals.o [76/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoCxxUnitTest.wrappers_cpp_test.o [77/242] CXX stage2_unix/obj/llvm/lib/Support/Support.Mustache.o [78/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.tsd_test.o [79/242] CXX stage2_unix/obj/llvm/lib/Support/Support.BalancedPartitioning.o [80/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.error_info_test.o [81/242] CXX stage2_unix/obj/third-party/unittest/googlemock/src/gtest.gmock-all.o [82/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.secondary_test.o [83/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.release_test.o [84/242] CXX stage2_unix/obj/llvm/lib/Support/Support.CommandLine.o [85/242] CXX stage2_unix/obj/llvm/lib/Support/Support.VirtualFileSystem.o [86/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.primary_test.o [87/242] CXX stage2_unix/obj/third-party/unittest/googletest/src/gtest.gtest-all.o [88/242] CXX stage2_unix/obj/compiler-rt/lib/scudo/standalone/tests/ScudoUnitTest.combined_test.o ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.