ninja: Entering directory `out/gn' [1/3998] LINK ./bin/clang-fuzzer-dictionary.exe [2/3998] 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)) [3/3998] 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)) [4/3998] 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' [5/3998] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.GISelChangeObserver.obj [6/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.AddressPool.obj [7/3998] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.InstructionSelector.obj [8/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.AsmPrinterDwarf.obj [9/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.DwarfStringPool.obj [10/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.WasmException.obj [11/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.ARMException.obj [12/3998] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.GIMatchTableExecutor.obj [13/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.ErlangGCPrinter.obj [14/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.DwarfCFIException.obj [15/3998] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.CSEInfo.obj [16/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.OcamlGCPrinter.obj [17/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.AIXException.obj [18/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.PseudoProbePrinter.obj [19/3998] CXX obj/llvm/lib/CodeGen/CodeGen.XRayInstrumentation.obj [20/3998] CXX obj/llvm/lib/CodeGen/CodeGen.WasmEHPrepare.obj [21/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.WinCFGuard.obj [22/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.EHStreamer.obj [23/3998] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.InlineAsmLowering.obj [24/3998] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.CombinerHelperCompares.obj [25/3998] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.CSEMIRBuilder.obj [26/3998] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.GISelKnownBits.obj [27/3998] CXX obj/llvm/lib/CodeGen/CodeGen.VirtRegMap.obj [28/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.AsmPrinterInlineAsm.obj [29/3998] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.CombinerHelperCasts.obj [30/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.DebugLocStream.obj [31/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.DwarfFile.obj [32/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.DbgEntityHistoryCalculator.obj [33/3998] CXX obj/llvm/lib/CodeGen/CodeGen.WinEHPrepare.obj [34/3998] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.CombinerHelperVectorOps.obj [35/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.DebugHandlerBase.obj [36/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.DIEHash.obj [37/3998] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.Combiner.obj [38/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.DIE.obj [39/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.DwarfExpression.obj [40/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.WinException.obj [41/3998] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.InstructionSelect.obj [42/3998] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.CallLowering.obj [43/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.AccelTable.obj [44/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.DwarfUnit.obj [45/3998] CXX obj/llvm/lib/CodeGen/CodeGen.WindowScheduler.obj [46/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.DwarfCompileUnit.obj [47/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.AsmPrinter.obj [48/3998] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.IRTranslator.obj [49/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.CodeViewDebug.obj [50/3998] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.CombinerHelper.obj [51/3998] CXX obj/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.DwarfDebug.obj ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.