ninja: Entering directory `out/gn' [1/3987] STAMP obj/llvm/lib/MCA/MCA.inputdeps.stamp [2/3987] STAMP obj/llvm/lib/ObjCopy/ObjCopy.inputdeps.stamp [3/3987] STAMP obj/llvm/lib/Object/Object.inputdeps.stamp [4/3987] STAMP obj/llvm/lib/ObjectYAML/ObjectYAML.inputdeps.stamp [5/3987] STAMP obj/llvm/lib/Passes/Passes.inputdeps.stamp [6/3987] STAMP obj/llvm/lib/ProfileData/ProfileData.inputdeps.stamp [7/3987] STAMP obj/llvm/lib/ProfileData/Coverage/Coverage.inputdeps.stamp [8/3987] STAMP obj/llvm/lib/SandboxIR/SandboxIR.inputdeps.stamp [9/3987] STAMP obj/llvm/lib/Target/Target.inputdeps.stamp [10/3987] STAMP obj/llvm/lib/Target/AArch64/AArch64GenDAGISel.stamp [11/3987] STAMP obj/llvm/lib/Target/AArch64/AArch64GenGlobalISel.stamp [12/3987] STAMP obj/llvm/lib/Target/AArch64/AsmParser/AArch64GenAsmMatcher.stamp [13/3987] STAMP obj/llvm/lib/Target/AArch64/MCTargetDesc/AArch64GenInstrInfo.stamp [14/3987] STAMP obj/llvm/lib/Target/AArch64/MCTargetDesc/AArch64GenSubtargetInfo.stamp [15/3987] STAMP obj/llvm/lib/Target/AMDGPU/AMDGPUGenAsmMatcher.stamp [16/3987] STAMP obj/llvm/lib/Target/AMDGPU/AMDGPUGenDAGISel.stamp [17/3987] STAMP obj/llvm/lib/Target/AMDGPU/AMDGPUGenGlobalISel.stamp [18/3987] STAMP obj/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUGenAsmMatcher.stamp [19/3987] 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)) [20/3987] 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)) [21/3987] CXX obj/llvm/lib/IR/IR.RuntimeLibcalls.obj [22/3987] CXX obj/llvm/lib/IR/IR.SSAContext.obj [23/3987] CXX obj/llvm/lib/IR/IR.ProfileSummary.obj [24/3987] CXX obj/llvm/lib/IR/IR.ProfDataUtils.obj [25/3987] CXX obj/llvm/lib/MC/MCParser/MCParser.COFFAsmParser.obj [26/3987] CXX obj/llvm/lib/Object/Object.COFFImportFile.obj [27/3987] CXX obj/llvm/lib/IR/IR.ReplaceConstant.obj [28/3987] CXX obj/llvm/lib/MC/MCDisassembler/MCDisassembler.Disassembler.obj [29/3987] CXX obj/llvm/lib/IR/IR.Statepoint.obj [30/3987] CXX obj/llvm/lib/IR/IR.VFABIDemangler.obj [31/3987] CXX obj/llvm/lib/SandboxIR/SandboxIR.Module.obj [32/3987] CXX obj/llvm/lib/SandboxIR/SandboxIR.Function.obj [33/3987] CXX obj/llvm/lib/IR/IR.User.obj [34/3987] CXX obj/llvm/lib/IR/IR.Operator.obj [35/3987] CXX obj/llvm/lib/IR/IR.VectorBuilder.obj [36/3987] CXX obj/llvm/lib/MC/MC.MachObjectWriter.obj [37/3987] CXX obj/llvm/lib/MC/MC.WinCOFFObjectWriter.obj [38/3987] CXX obj/llvm/lib/IR/IR.TypedPointerType.obj [39/3987] CXX obj/llvm/lib/IR/IR.PseudoProbe.obj [40/3987] CXX obj/llvm/lib/IR/IR.TypeFinder.obj [41/3987] CXX obj/llvm/lib/IR/IR.StructuralHash.obj [42/3987] CXX obj/llvm/lib/SandboxIR/SandboxIR.Constant.obj [43/3987] CXX obj/llvm/lib/SandboxIR/SandboxIR.Region.obj [44/3987] CXX obj/llvm/lib/SandboxIR/SandboxIR.BasicBlock.obj [45/3987] CXX obj/llvm/lib/Object/Object.OffloadBinary.obj [46/3987] CXX obj/llvm/lib/IR/IR.ModuleSummaryIndex.obj [47/3987] CXX obj/llvm/lib/IR/IR.Type.obj [48/3987] CXX obj/llvm/lib/IR/IR.Module.obj [49/3987] CXX obj/llvm/lib/IR/IR.SafepointIRVerifier.obj [50/3987] CXX obj/llvm/lib/IR/IR.Value.obj [51/3987] CXX obj/llvm/lib/LTO/LTO.UpdateCompilerUsed.obj [52/3987] CXX obj/llvm/lib/ProfileData/ProfileData.SampleProf.obj [53/3987] CXX obj/llvm/lib/SandboxIR/SandboxIR.Context.obj [54/3987] CXX obj/llvm/lib/ProfileData/ProfileData.InstrProf.obj [55/3987] CXX obj/llvm/lib/Linker/Linker.IRMover.obj [56/3987] CXX obj/llvm/lib/SandboxIR/SandboxIR.Instruction.obj [57/3987] CXX obj/llvm/lib/Passes/Passes.CodeGenPassBuilder.obj [58/3987] CXX obj/llvm/lib/Passes/Passes.PassBuilderBindings.obj [59/3987] CXX obj/llvm/lib/LTO/LTO.LTOModule.obj [60/3987] CXX obj/llvm/lib/LTO/LTO.LTOCodeGenerator.obj [61/3987] CXX obj/llvm/lib/IR/IR.Metadata.obj [62/3987] CXX obj/llvm/lib/LTO/LTO.LTOBackend.obj [63/3987] CXX obj/llvm/lib/LTO/LTO.ThinLTOCodeGenerator.obj [64/3987] CXX obj/llvm/lib/IR/IR.Verifier.obj [65/3987] CXX obj/llvm/lib/Passes/Passes.StandardInstrumentations.obj [66/3987] CXX obj/llvm/lib/LTO/LTO.LTO.obj [67/3987] CXX obj/llvm/lib/Passes/Passes.PassBuilderPipelines.obj [68/3987] CXX obj/llvm/lib/Passes/Passes.PassBuilder.obj In file included from ../../llvm/lib/Passes/PassBuilder.cpp:338: In file included from ../../llvm/include\llvm/Transforms/Vectorize/SandboxVectorizer/SandboxVectorizer.h:16: ../../llvm/include\llvm/SandboxIR/Context.h(51,16): warning: unqualified friend declaration referring to type outside of the nearest enclosing namespace is a Microsoft extension; add a nested name specifier [-Wmicrosoft-unqualified-friend] 51 | friend class Region; // For LLVMCtx. | ^ | ::llvm:: 1 warning generated. ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.