ninja: Entering directory `out/gn' [1/2165] LINK obj/clang/unittests/Basic/BasicTests.exe FAILED: obj/clang/unittests/Basic/BasicTests.exe ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/lld-link /nologo /OPT:REF /OPT:ICF /STACK:10000000 /pdbaltpath:%_PDB% /Brepro /winsysroot:../../sysroot-3bda71a11e /machine:x64 /out:obj/clang/unittests/Basic/BasicTests.exe /pdb:obj/clang/unittests/Basic/BasicTests.pdb obj/clang/unittests/Basic/BasicTests.CharInfoTest.obj obj/clang/unittests/Basic/BasicTests.DarwinSDKInfoTest.obj obj/clang/unittests/Basic/BasicTests.DiagnosticTest.obj obj/clang/unittests/Basic/BasicTests.FileEntryTest.obj obj/clang/unittests/Basic/BasicTests.FileManagerTest.obj obj/clang/unittests/Basic/BasicTests.LineOffsetMappingTest.obj obj/clang/unittests/Basic/BasicTests.SanitizersTest.obj obj/clang/unittests/Basic/BasicTests.SarifTest.obj obj/clang/unittests/Basic/BasicTests.SourceManagerTest.obj obj/third-party/unittest/UnitTestMain/UnitTestMain.TestMain.obj lib/clangBasic.lib lib/clangLex.lib lib/LLVMSupport.lib lib/LLVMTestingSupport.lib lib/LLVMOption.lib lib/LLVMSupportBlake3.lib lib/LLVMDemangle.lib lib/LLVMTargetParser.lib lib/gtest.lib ntdll.lib ws2_32.lib delayimp.lib lld-link: error: undefined symbol: __declspec(dllimport) public: static class llvm::iterator_range::iterator> __cdecl llvm::Registry::entries(void) >>> referenced by clangLex.lib(Lex.Pragma.obj):(private: void __cdecl clang::Preprocessor::RegisterBuiltinPragmas(void)) lld-link: error: undefined symbol: __declspec(dllimport) public: static class llvm::iterator_range::iterator> __cdecl llvm::Registry::entries(void) >>> referenced by clangBasic.lib(Basic.ParsedAttrInfo.obj):(class std::list>, class std::allocator>>> const & __cdecl clang::getAttributePluginInstances(void)) [2/2165] LINK ./bin/clang-format.exe FAILED: bin/clang-format.exe ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/lld-link /nologo /OPT:REF /OPT:ICF /STACK:10000000 /pdbaltpath:%_PDB% /Brepro /winsysroot:../../sysroot-3bda71a11e /machine:x64 /out:./bin/clang-format.exe /pdb:./bin/clang-format.pdb obj/clang/tools/clang-format/clang-format.ClangFormat.obj lib/clangBasic.lib lib/clangFormat.lib lib/clangRewrite.lib lib/clangToolingCore.lib lib/LLVMSupport.lib lib/LLVMOption.lib lib/LLVMSupportBlake3.lib lib/LLVMDemangle.lib lib/LLVMTargetParser.lib lib/clangLex.lib lib/clangToolingInclusions.lib ntdll.lib ws2_32.lib delayimp.lib lld-link: error: undefined symbol: __declspec(dllimport) public: static class llvm::iterator_range::iterator> __cdecl llvm::Registry::entries(void) >>> referenced by clangLex.lib(Lex.Pragma.obj):(private: void __cdecl clang::Preprocessor::RegisterBuiltinPragmas(void)) lld-link: error: undefined symbol: __declspec(dllimport) public: static class llvm::iterator_range::iterator> __cdecl llvm::Registry::entries(void) >>> referenced by clangBasic.lib(Basic.ParsedAttrInfo.obj):(class std::list>, class std::allocator>>> const & __cdecl clang::getAttributePluginInstances(void)) [3/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMMachineFunctionInfo.obj [4/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMBlockPlacement.obj [5/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMHazardRecognizer.obj [6/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMFixCortexA57AES1742098Pass.obj [7/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMMacroFusion.obj [8/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMRegisterBankInfo.obj [9/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMInstrInfo.obj [10/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMCallingConv.obj [11/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMCallLowering.obj [12/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMBaseRegisterInfo.obj [13/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMLegalizerInfo.obj [14/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMLatencyMutations.obj [15/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.A15SDOptimizer.obj [16/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMMCInstLower.obj [17/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMSLSHardening.obj [18/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMSelectionDAGInfo.obj [19/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMSubtarget.obj [20/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMExpandPseudoInsts.obj [21/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMAsmPrinter.obj [22/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMLowOverheadLoops.obj [23/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMParallelDSP.obj [24/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMConstantIslandPass.obj [25/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMFrameLowering.obj [26/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMLoadStoreOptimizer.obj [27/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMFastISel.obj [28/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMTargetMachine.obj [29/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMInstructionSelector.obj [30/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMISelDAGToDAG.obj [31/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMBaseInstrInfo.obj [32/2165] CXX obj/llvm/lib/Target/ARM/LLVMARMCodeGen.ARMISelLowering.obj [33/2165] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenMCPseudoLowering(//llvm/utils/gn/build/toolchain:win) [34/2164] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenCallingConv(//llvm/utils/gn/build/toolchain:win) [35/2163] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenPreLegalizeGICombiner(//llvm/utils/gn/build/toolchain:win) [36/2162] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenRegBankGICombiner(//llvm/utils/gn/build/toolchain:win) [37/2161] ACTION //llvm/lib/Target/AMDGPU/MCTargetDesc:AMDGPUGenSubtargetInfo(//llvm/utils/gn/build/toolchain:win) [38/2160] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenPostLegalizeGICombiner(//llvm/utils/gn/build/toolchain:win) [39/2159] ACTION //llvm/lib/Target/AMDGPU/Utils:AMDGPUGenSearchableTables(//llvm/utils/gn/build/toolchain:win) [40/2132] ACTION //llvm/lib/Target/AMDGPU/MCTargetDesc:AMDGPUGenMCCodeEmitter(//llvm/utils/gn/build/toolchain:win) [41/2131] ACTION //llvm/lib/Target/AMDGPU:InstCombineTables(//llvm/utils/gn/build/toolchain:win) [42/2130] ACTION //llvm/lib/Target/AMDGPU/Disassembler:AMDGPUGenDisassemblerTables(//llvm/utils/gn/build/toolchain:win) [43/2129] ACTION //llvm/lib/Target/AMDGPU/MCTargetDesc:AMDGPUGenAsmWriter(//llvm/utils/gn/build/toolchain:win) [44/2128] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenGlobalISel(//llvm/utils/gn/build/toolchain:win) [45/2128] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenAsmMatcher(//llvm/utils/gn/build/toolchain:win) [46/2127] ACTION //llvm/lib/Target/AMDGPU/AsmParser:AMDGPUGenAsmMatcher(//llvm/utils/gn/build/toolchain:win) [47/2126] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenDAGISel(//llvm/utils/gn/build/toolchain:win) [48/2126] ACTION //llvm/lib/Target/AMDGPU/MCTargetDesc:AMDGPUGenInstrInfo(//llvm/utils/gn/build/toolchain:win) [49/2125] ACTION //llvm/lib/Target/AMDGPU:AMDGPUGenRegisterBank(//llvm/utils/gn/build/toolchain:win) [50/2124] ACTION //llvm/lib/Target/AMDGPU/MCTargetDesc:AMDGPUGenRegisterInfo(//llvm/utils/gn/build/toolchain:win) ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.