ninja: Entering directory `out/gn' [1/3813] 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/3813] 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/3813] ACTION //lldb/test:lit_unit_site_cfg(//llvm/utils/gn/build/toolchain:win) FAILED: gen/lldb/test/Unit/lit.site.cfg.py python3 ../../llvm/utils/gn/build/write_cmake_config.py -o gen/lldb/test/Unit/lit.site.cfg.py ../../lldb/test/Unit/lit.site.cfg.py.in "LIT_SITE_CFG_IN_HEADER=## Autogenerated from //lldb/test/Unit/lit.site.cfg.py.in, do not edit" LLDB_BINARY_DIR=C:/src/llvm-project/out/gn/obj/lldb LLDB_SOURCE_DIR=C:/src/llvm-project/lldb LLVM_BINARY_DIR=C:/src/llvm-project/out/gn/obj/llvm LLVM_LIBS_DIR= LLVM_LIT_TOOLS_DIR= LLVM_SOURCE_DIR=C:/src/llvm-project/llvm LLVM_TOOLS_DIR=C:/src/llvm-project/out/gn/bin Python3_EXECUTABLE=python3 LLVM_TARGET_TRIPLE=x86_64-pc-windows-msvc LLVM_BUILD_MODE=. Traceback (most recent call last): File "C:\src\llvm-project\llvm\utils\gn\build\write_cmake_config.py", line 122, in sys.exit(main()) File "C:\src\llvm-project\llvm\utils\gn\build\write_cmake_config.py", line 72, in main in_line = var_re.sub(repl, in_line) File "C:\src\llvm-project\llvm\utils\gn\build\write_cmake_config.py", line 70, in repl return values[key] KeyError: 'LLVM_USE_SANITIZER' [4/3813] CXX obj/llvm/lib/IR/IR.BuiltinGCs.obj [5/3813] CXX obj/llvm/lib/IR/IR.Comdat.obj [6/3813] CXX obj/llvm/lib/IR/IR.DiagnosticPrinter.obj [7/3813] CXX obj/llvm/lib/IR/IR.Assumptions.obj [8/3813] CXX obj/llvm/lib/IR/IR.AbstractCallSite.obj [9/3813] CXX obj/llvm/lib/IR/IR.ConstantRangeList.obj [10/3813] CXX obj/llvm/lib/IR/IR.IRPrintingPasses.obj [11/3813] CXX obj/llvm/lib/IR/IR.ConstantFPRange.obj [12/3813] CXX obj/llvm/lib/FuzzMutate/FuzzMutate.OpDescriptor.obj [13/3813] CXX obj/llvm/lib/IR/IR.EHPersonalities.obj [14/3813] CXX obj/llvm/lib/IR/IR.DIExpressionOptimizer.obj [15/3813] CXX obj/llvm/lib/IR/IR.FPEnv.obj [16/3813] CXX obj/llvm/lib/IR/IR.DataLayout.obj [17/3813] CXX obj/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.JITSymbol.obj [18/3813] CXX obj/llvm/lib/IR/IR.DebugLoc.obj [19/3813] CXX obj/llvm/lib/Frontend/Offloading/Offloading.OffloadWrapper.obj [20/3813] CXX obj/llvm/lib/IR/IR.CycleInfo.obj [21/3813] CXX obj/llvm/lib/IR/IR.ConstantFold.obj [22/3813] CXX obj/llvm/lib/IR/IR.DebugProgramInstruction.obj [23/3813] CXX obj/llvm/lib/IR/IR.Globals.obj [24/3813] CXX obj/llvm/lib/IR/IR.Function.obj [25/3813] CXX obj/llvm/lib/IR/IR.DiagnosticInfo.obj [26/3813] CXX obj/llvm/lib/IR/IR.ConvergenceVerifier.obj [27/3813] CXX obj/llvm/lib/FuzzMutate/FuzzMutate.Operations.obj [28/3813] CXX obj/llvm/lib/IR/IR.InlineAsm.obj [29/3813] CXX obj/llvm/lib/IR/IR.ConstantRange.obj [30/3813] CXX obj/llvm/lib/Frontend/Offloading/Offloading.Utility.obj [31/3813] CXX obj/llvm/lib/FuzzMutate/FuzzMutate.RandomIRBuilder.obj [32/3813] CXX obj/llvm/lib/IR/IR.BasicBlock.obj [33/3813] CXX obj/llvm/lib/IR/IR.IRBuilder.obj [34/3813] CXX obj/llvm/lib/Frontend/OpenMP/OpenMP.OMP.obj [35/3813] CXX obj/llvm/lib/ExecutionEngine/Orc/Debugging/Debugging.LLJITUtilsCBindings.obj [36/3813] CXX obj/llvm/lib/ExecutionEngine/Orc/Debugging/Debugging.DebuggerSupport.obj [37/3813] CXX obj/llvm/lib/IR/IR.DIBuilder.obj [38/3813] CXX obj/llvm/lib/ExecutionEngine/Orc/Debugging/Debugging.PerfSupportPlugin.obj [39/3813] CXX obj/llvm/lib/ExecutionEngine/Orc/Debugging/Debugging.DebuggerSupportPlugin.obj [40/3813] CXX obj/llvm/lib/ExecutionEngine/Orc/Debugging/Debugging.VTuneSupportPlugin.obj [41/3813] CXX obj/llvm/lib/FuzzMutate/FuzzMutate.IRMutator.obj [42/3813] CXX obj/llvm/lib/IR/IR.Attributes.obj [43/3813] CXX obj/llvm/lib/IR/IR.DebugInfo.obj [44/3813] CXX obj/llvm/lib/IR/IR.Core.obj [45/3813] CXX obj/llvm/lib/IR/IR.AutoUpgrade.obj [46/3813] CXX obj/llvm/lib/IR/IR.Constants.obj [47/3813] CXX obj/llvm/lib/IR/IR.DebugInfoMetadata.obj [48/3813] CXX obj/llvm/lib/IR/IR.Dominators.obj [49/3813] CXX obj/llvm/lib/IR/IR.AsmWriter.obj [50/3813] CXX obj/llvm/lib/Frontend/OpenMP/OpenMP.OMPIRBuilder.obj ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.