INFO:2024-11-06T18:29:57Z:root:pulling... From https://github.com/llvm/llvm-project * branch main -> FETCH_HEAD 5a6cc509215b..aae5a38e4e51 main -> origin/main Your branch is behind 'origin/main' by 2 commits, and can be fast-forwarded. (use "git pull" to update your local branch) Switched to branch 'main' HEAD is now at aae5a38e4e51 [libc][bazel] Mark socket functions weak (#115088) INFO:2024-11-06T18:30:20Z:root:syncing... Deleted branch merge (was 5a6cc509215b). Switched to a new branch 'merge' Branch 'merge' set up to track remote branch 'main' from 'origin'. INFO:2024-11-06T18:30:24Z:root:building ninja: Entering directory `out/gn' [1/3947] 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)) [2/3947] 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/3947] 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/3947] CXX obj/llvm/lib/CodeGen/CodeGen.LowLevelTypeUtils.obj [5/3947] CXX obj/llvm/lib/CodeGen/CodeGen.LoopTraversal.obj [6/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MBFIWrapper.obj [7/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MIRNamerPass.obj [8/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineFunctionPrinterPass.obj [9/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineBranchProbabilityInfo.obj [10/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineDominanceFrontier.obj [11/3947] CXX obj/llvm/lib/CodeGen/CodeGen.LiveStacks.obj [12/3947] CXX obj/llvm/lib/CodeGen/CodeGen.LowerEmuTLS.obj [13/3947] CXX obj/llvm/lib/CodeGen/CodeGen.LiveRegUnits.obj [14/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MIRYamlMapping.obj [15/3947] CXX obj/llvm/lib/CodeGen/CodeGen.LiveRegMatrix.obj [16/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineDomTreeUpdater.obj [17/3947] CXX obj/llvm/lib/CodeGen/CodeGen.LivePhysRegs.obj [18/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineFunctionAnalysis.obj [19/3947] CXX obj/llvm/lib/CodeGen/CodeGen.LocalStackSlotAllocation.obj [20/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MIRVRegNamerUtils.obj [21/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MIRPrintingPass.obj [22/3947] CXX obj/llvm/lib/CodeGen/CodeGen.LiveRangeCalc.obj [23/3947] CXX obj/llvm/lib/CodeGen/CodeGen.LiveRangeShrink.obj [24/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineFrameInfo.obj [25/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineCFGPrinter.obj [26/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MIRCanonicalizerPass.obj [27/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineCheckDebugify.obj [28/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MLRegAllocPriorityAdvisor.obj [29/3947] CXX obj/llvm/lib/CodeGen/CodeGen.LiveRangeEdit.obj [30/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineCombiner.obj [31/3947] CXX obj/llvm/lib/CodeGen/CodeGen.LiveVariables.obj [32/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MIRFSDiscriminator.obj [33/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineFunctionSplitter.obj [34/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineConvergenceVerifier.obj [35/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MLRegAllocEvictAdvisor.obj [36/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineFunctionPass.obj [37/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineCSE.obj [38/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineCycleAnalysis.obj [39/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineBlockFrequencyInfo.obj [40/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineDebugify.obj [41/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineCopyPropagation.obj [42/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineDominators.obj [43/3947] CXX obj/llvm/lib/CodeGen/CodeGen.LiveIntervals.obj [44/3947] CXX obj/clang/lib/Sema/Sema.HLSLExternalSemaSource.obj [45/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineInstr.obj [46/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MIRSampleProfile.obj [47/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineBasicBlock.obj [48/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MIRPrinter.obj [49/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineFunction.obj [50/3947] CXX obj/llvm/lib/CodeGen/CodeGen.MachineBlockPlacement.obj ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.