ninja: Entering directory `out/gn' [1/3467] STAMP obj/lldb/source/Plugins/Process/Utility/Utility.inputdeps.stamp [2/3467] STAMP obj/lldb/source/Plugins/Process/Windows/Common/Common.inputdeps.stamp [3/3467] STAMP obj/lldb/source/Plugins/Process/elf-core/elf-core.inputdeps.stamp [4/3467] STAMP obj/lldb/source/Plugins/Process/gdb-remote/gdb-remote.inputdeps.stamp [5/3467] STAMP obj/lldb/source/Plugins/Process/mach-core/mach-core.inputdeps.stamp [6/3467] STAMP obj/lldb/source/Plugins/Process/minidump/minidump.inputdeps.stamp [7/3467] STAMP obj/lldb/source/Plugins/SymbolFile/DWARF/DWARF.inputdeps.stamp [8/3467] STAMP obj/lldb/source/Plugins/SymbolFile/NativePDB/NativePDB.inputdeps.stamp [9/3467] STAMP obj/lldb/source/Plugins/SymbolFile/PDB/PDB.inputdeps.stamp [10/3467] STAMP obj/lldb/source/Plugins/UnwindAssembly/x86/x86.inputdeps.stamp [11/3467] STAMP obj/lldb/source/Symbol/Symbol.inputdeps.stamp [12/3467] STAMP obj/lldb/source/Target/Target.inputdeps.stamp [13/3467] STAMP obj/lldb/tools/lldb-server/lldb-server.inputdeps.stamp [14/3467] 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)) [15/3467] 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)) [16/3467] ACTION //lldb/test:lit_api_site_cfg(//llvm/utils/gn/build/toolchain:win) FAILED: gen/lldb/test/API/lit.site.cfg.py python3 ../../llvm/utils/gn/build/write_cmake_config.py -o gen/lldb/test/API/lit.site.cfg.py ../../lldb/test/API/lit.site.cfg.py.in "LIT_SITE_CFG_IN_HEADER=## Autogenerated from //lldb/test/API/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 DEFAULT_SYSROOT= LIBCXX_LIBRARY_DIR=C:/src/llvm-project/out/gn/lib LIBCXX_GENERATED_INCLUDE_DIR=C:/src/llvm-project/out/gn/include/c++/v1 LIBCXX_GENERATED_INCLUDE_TARGET_DIR= LLDB_BUILD_INTEL_PT=0 LLDB_TEST_COMMON_ARGS= LLDB_TEST_USER_ARGS= LLDB_ENABLE_PYTHON=0 LLDB_HAS_LIBCXX=False LLDB_LIBS_DIR= LLDB_TEST_ARCH=x64 LLDB_TEST_COMPILER=C:/src/llvm-project/out/gn/bin/clang LLDB_TEST_BUILD_DIRECTORY=C:/src/llvm-project/out/gn/gen/lldb/test/test_build LLDB_TEST_DSYMUTIL=C:/src/llvm-project/out/gn/bin/dsymutil LLDB_TEST_EXECUTABLE=C:/src/llvm-project/out/gn/bin/lldb LLDB_TEST_MAKE=make LLDB_TEST_MODULE_CACHE_CLANG=C:/src/llvm-project/out/gn/gen/lldb/test/lldb-test-build.noindex/module-cache-clang LLDB_TEST_MODULE_CACHE_LLDB=C:/src/llvm-project/out/gn/gen/lldb/test/lldb-test-build.noindex/module-cache-lldb LLDB_TEST_PLATFORM_URL= LLDB_TEST_PLATFORM_WORKING_DIR= LLDB_TEST_SYSROOT= LLVM_BUILD_MODE=. LLVM_ENABLE_SHARED_LIBS=0 LLVM_HOST_TRIPLE=x86_64-pc-windows-msvc LLVM_INCLUDE_DIR=C:/src/llvm-project/out/gn/include LLVM_USE_SANITIZER= Lua_EXECUTABLE= LLDB_FRAMEWORK_DIR=XXX_framework_dir CMAKE_CXX_COMPILER=c++ HOST_OS=win SHLIBDIR=../../../../bin 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: 'LUA_EXECUTABLE' [17/3467] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.LegalizeMutations.obj [18/3467] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.LegalityPredicates.obj [19/3467] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.LegacyLegalizerInfo.obj [20/3467] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.LegalizerInfo.obj [21/3467] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.CombinerHelperCompares.obj [22/3467] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.CombinerHelperVectorOps.obj [23/3467] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.CombinerHelperCasts.obj [24/3467] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64CondBrTuning.obj [25/3467] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64DeadRegisterDefinitionsPass.obj [26/3467] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64A53Fix835769.obj [27/3467] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64CallingConvention.obj [28/3467] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleObjCTypeEncodingParser.obj [29/3467] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.RegBankSelect.obj [30/3467] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64CleanupLocalDynamicTLSPass.obj [31/3467] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.InstructionSelect.obj [32/3467] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleObjCRuntimeV1.obj [33/3467] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64CompressJumpTables.obj [34/3467] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64CollectLOH.obj [35/3467] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.LoadStoreOpt.obj [36/3467] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleObjCRuntime.obj [37/3467] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleObjCDeclVendor.obj [38/3467] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64A57FPLoadBalancing.obj [39/3467] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64BranchTargets.obj [40/3467] CXX obj/lldb/source/Plugins/Language/ObjC/ObjC.NSSet.obj [41/3467] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleObjCTrampolineHandler.obj [42/3467] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64FalkorHWPFFix.obj [43/3467] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64ExpandPseudoInsts.obj [44/3467] CXX obj/lldb/source/Plugins/Language/ObjC/ObjC.ObjCLanguage.obj [45/3467] CXX obj/lldb/source/Plugins/Platform/Windows/Windows.PlatformWindows.obj [46/3467] CXX obj/lldb/source/Plugins/Platform/POSIX/POSIX.PlatformPOSIX.obj [47/3467] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.Legalizer.obj [48/3467] CXX obj/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntime.AppleObjCRuntimeV2.obj [49/3467] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64AsmPrinter.obj [50/3467] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64FrameLowering.obj [51/3467] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.LegalizerHelper.obj [52/3467] CXX obj/lldb/source/Plugins/SymbolFile/PDB/PDB.PDBASTParser.obj [53/3467] CXX obj/lldb/source/Plugins/SymbolFile/NativePDB/NativePDB.UdtRecordCompleter.obj [54/3467] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64FastISel.obj [55/3467] CXX obj/lldb/source/Plugins/SymbolFile/NativePDB/NativePDB.PdbAstBuilder.obj [56/3467] CXX obj/lldb/source/Plugins/SymbolFile/PDB/PDB.SymbolFilePDB.obj [57/3467] CXX obj/llvm/lib/CodeGen/GlobalISel/GlobalISel.CombinerHelper.obj [58/3467] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64ISelDAGToDAG.obj [59/3467] CXX obj/lldb/source/Plugins/SymbolFile/DWARF/DWARF.DWARFASTParserClang.obj [60/3467] CXX obj/lldb/source/Plugins/SymbolFile/NativePDB/NativePDB.SymbolFileNativePDB.obj [61/3467] CXX obj/lldb/source/Plugins/SymbolFile/DWARF/DWARF.SymbolFileDWARF.obj [62/3467] CXX obj/lldb/source/Plugins/TypeSystem/Clang/Clang.TypeSystemClang.obj [63/3467] CXX obj/llvm/lib/Target/AArch64/LLVMAArch64CodeGen.AArch64ISelLowering.obj ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.