ninja: Entering directory `out/gn' [1/2388] ACTION //llvm/lib/Target/RISCV:RISCVGenMacroFusion(//llvm/utils/gn/build/toolchain:win) [2/2387] ACTION //llvm/include/llvm/TargetParser:RISCVTargetParserDef(//llvm/utils/gn/build/toolchain:win) [3/2139] LIB lib/LLVMMCParser.lib [4/2139] ACTION //llvm/lib/Target/RISCV:RISCVGenCompressInstEmitter(//llvm/utils/gn/build/toolchain:win) [5/2138] ACTION //llvm/lib/Target/RISCV:RISCVGenMCPseudoLowering(//llvm/utils/gn/build/toolchain:win) [6/2137] ACTION //llvm/lib/Target/RISCV:RISCVGenRegisterBank(//llvm/utils/gn/build/toolchain:win) [7/2136] ACTION //llvm/lib/Target/RISCV/MCTargetDesc:RISCVGenRegisterInfo(//llvm/utils/gn/build/toolchain:win) [8/2135] ACTION //llvm/lib/Target/RISCV:RISCVGenPostLegalizeGICombiner(//llvm/utils/gn/build/toolchain:win) [9/2134] LIB lib/LLVMObject.lib [10/2134] ACTION //llvm/lib/Target/RISCV:RISCVGenPreLegalizeGICombiner(//llvm/utils/gn/build/toolchain:win) [11/2133] ACTION //llvm/lib/Target/RISCV:RISCVGenO0PreLegalizeGICombiner(//llvm/utils/gn/build/toolchain:win) [12/2132] 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)) [13/2132] 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)) [14/2132] ACTION //llvm/lib/Target/RISCV/MCTargetDesc:RISCVGenMCCodeEmitter(//llvm/utils/gn/build/toolchain:win) [15/2131] LIB lib/LLVMDebugInfoLogicalView.lib [16/2131] LIB lib/LLVMRuntimeDyld.lib [17/2131] ACTION //llvm/lib/Target/RISCV/Disassembler:RISCVGenDisassemblerTables(//llvm/utils/gn/build/toolchain:win) [18/2130] ACTION //llvm/lib/Target/RISCV/AsmParser:RISCVGenAsmMatcher(//llvm/utils/gn/build/toolchain:win) [19/2129] ACTION //llvm/lib/Target/RISCV/MCTargetDesc:RISCVGenAsmWriter(//llvm/utils/gn/build/toolchain:win) [20/2128] LINK ./bin/clang-sycl-linker.exe [21/2128] ACTION //llvm/lib/Target/RISCV/MCTargetDesc:RISCVGenSearchableTables(//llvm/utils/gn/build/toolchain:win) [22/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUMachineModuleInfo.obj [23/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUMCResourceInfo.obj [24/2127] CXX obj/llvm/unittests/tools/llvm-profgen/LLVMProfgenTests.ContextCompressionTest.obj [25/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUMachineFunction.obj [26/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600AsmPrinter.obj [27/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUImageIntrinsicOptimizer.obj [28/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600MCInstLower.obj [29/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUMCInstLower.obj [30/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUResourceUsageAnalysis.obj [31/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUMIRFormatter.obj [32/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNIterativeScheduler.obj [33/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUSubtarget.obj [34/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUReserveWWMRegs.obj [35/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUTargetTransformInfo.obj [36/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUPerfHintAnalysis.obj [37/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNPreRALongBranchReg.obj [38/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600ISelLowering.obj [39/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPULateCodeGenPrepare.obj [40/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNNSAReassign.obj [41/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNSubtarget.obj [42/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPURegisterBankInfo.obj [43/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNHazardRecognizer.obj [44/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPULowerModuleLDSPass.obj [45/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUSwLowerLDS.obj [46/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUSplitModule.obj [47/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPULowerBufferFatPointers.obj [48/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600ISelDAGToDAG.obj [49/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNSchedStrategy.obj [50/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPURegBankCombiner.obj [51/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUISelLowering.obj [52/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUISelDAGToDAG.obj [53/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUIGroupLP.obj [54/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600TargetMachine.obj [55/2127] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPULegalizerInfo.obj [56/2127] ACTION //llvm/lib/Target/RISCV/MCTargetDesc:RISCVGenInstrInfo(//llvm/utils/gn/build/toolchain:win) [57/2126] ACTION //llvm/lib/Target/RISCV:RISCVGenGlobalISel(//llvm/utils/gn/build/toolchain:win) [58/2126] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUInstructionSelector.obj [59/2126] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUTargetMachine.obj [60/2126] ACTION //llvm/lib/Target/RISCV:RISCVGenDAGISel(//llvm/utils/gn/build/toolchain:win) [61/2126] ACTION //llvm/lib/Target/RISCV/MCTargetDesc:RISCVGenSubtargetInfo(//llvm/utils/gn/build/toolchain:win) ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.