ninja: Entering directory `out/gn' [1/3594] 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/3594] 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/3594] CXX obj/llvm/lib/IR/IR.Statepoint.obj [4/3594] CXX obj/llvm/lib/IR/IR.User.obj [5/3594] CXX obj/llvm/lib/IR/IR.VectorBuilder.obj [6/3594] CXX obj/llvm/lib/IR/IR.FPEnv.obj [7/3594] CXX obj/llvm/lib/IR/IR.DebugLoc.obj [8/3594] CXX obj/llvm/lib/IR/IR.PseudoProbe.obj [9/3594] CXX obj/llvm/lib/IR/IR.TypedPointerType.obj [10/3594] CXX obj/llvm/lib/Transforms/Coroutines/Coroutines.CoroConditionalWrapper.obj [11/3594] CXX obj/llvm/lib/IR/IR.TypeFinder.obj [12/3594] CXX obj/llvm/lib/IR/IR.DebugProgramInstruction.obj [13/3594] CXX obj/llvm/lib/IR/IR.StructuralHash.obj [14/3594] CXX obj/llvm/lib/SandboxIR/SandboxIR.BasicBlock.obj [15/3594] CXX obj/llvm/lib/IR/IR.IntrinsicInst.obj [16/3594] CXX obj/llvm/lib/IR/IR.LLVMContext.obj [17/3594] CXX obj/llvm/lib/Transforms/Coroutines/Coroutines.CoroCleanup.obj [18/3594] CXX obj/llvm/lib/IR/IR.DiagnosticInfo.obj [19/3594] CXX obj/llvm/lib/IR/IR.Globals.obj [20/3594] CXX obj/llvm/lib/IR/IR.Function.obj [21/3594] CXX obj/llvm/lib/SandboxIR/SandboxIR.Region.obj [22/3594] CXX obj/llvm/lib/IR/IR.InlineAsm.obj [23/3594] CXX obj/llvm/lib/SandboxIR/SandboxIR.Tracker.obj [24/3594] CXX obj/llvm/lib/Transforms/Coroutines/Coroutines.CoroEarly.obj [25/3594] CXX obj/llvm/lib/IR/IR.Instruction.obj [26/3594] CXX obj/llvm/lib/IR/IR.IRBuilder.obj [27/3594] CXX obj/llvm/lib/IR/IR.Type.obj [28/3594] CXX obj/llvm/lib/IR/IR.Module.obj [29/3594] CXX obj/llvm/lib/Transforms/Coroutines/Coroutines.CoroElide.obj [30/3594] CXX obj/llvm/lib/IR/IR.Value.obj [31/3594] CXX obj/llvm/lib/IR/IR.SafepointIRVerifier.obj [32/3594] CXX obj/llvm/lib/ProfileData/ProfileData.SampleProf.obj [33/3594] CXX obj/llvm/lib/SandboxIR/SandboxIR.Context.obj [34/3594] CXX obj/llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.AggressiveInstCombine.obj [35/3594] CXX obj/llvm/lib/Linker/Linker.IRMover.obj [36/3594] CXX obj/llvm/lib/IR/IR.Instructions.obj [37/3594] CXX obj/llvm/lib/SandboxIR/SandboxIR.Instruction.obj [38/3594] CXX obj/llvm/lib/IR/IR.LLVMContextImpl.obj [39/3594] CXX obj/llvm/lib/Passes/Passes.CodeGenPassBuilder.obj [40/3594] CXX obj/llvm/lib/Passes/Passes.PassBuilderBindings.obj [41/3594] CXX obj/llvm/lib/LTO/LTO.LTOModule.obj [42/3594] CXX obj/llvm/lib/LTO/LTO.LTOCodeGenerator.obj [43/3594] CXX obj/llvm/lib/IR/IR.Metadata.obj [44/3594] CXX obj/llvm/lib/LTO/LTO.LTOBackend.obj [45/3594] CXX obj/llvm/lib/LTO/LTO.ThinLTOCodeGenerator.obj [46/3594] CXX obj/llvm/lib/IR/IR.Verifier.obj [47/3594] CXX obj/llvm/lib/Passes/Passes.StandardInstrumentations.obj [48/3594] CXX obj/llvm/lib/LTO/LTO.LTO.obj [49/3594] CXX obj/llvm/lib/Passes/Passes.PassBuilderPipelines.obj [50/3594] CXX obj/llvm/lib/Passes/Passes.PassBuilder.obj In file included from ../../llvm/lib/Passes/PassBuilder.cpp:334: 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.