INFO:2024-11-07T01:46:05Z:root:pulling... From https://github.com/llvm/llvm-project * branch main -> FETCH_HEAD 29a5c054e6d5..30d80009e501 main -> origin/main Your branch is behind 'origin/main' by 1 commit, and can be fast-forwarded. (use "git pull" to update your local branch) Switched to branch 'main' HEAD is now at 30d80009e501 [flang][cuda] Allow SHARED actual to DEVICE dummy (#115215) INFO:2024-11-07T01:46:28Z:root:syncing... Deleted branch merge (was 253bef53e0a1). Switched to a new branch 'merge' Branch 'merge' set up to track remote branch 'main' from 'origin'. [merge 9462c9fbd23e] [gn build] Port cacbe71af7b1 Committer: Nico Weber Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git config --global user.name "Your Name" git config --global user.email you@example.com After doing this, you may fix the identity used for this commit with: git commit --amend --reset-author 2 files changed, 2 insertions(+) [gn build] Port cacbe71af7b1 -- https://github.com/llvm/llvm-project/commit/cacbe71af7b1 INFO:2024-11-07T01:46:37Z:root:building ninja: Entering directory `out/gn' [1/1] Regenerating ninja files [1/3430] 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/3430] 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/3430] 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/3430] CXX obj/llvm/lib/Analysis/Analysis.PtrUseVisitor.obj [5/3430] CXX obj/llvm/lib/Analysis/Analysis.OverflowInstAnalysis.obj [6/3430] CXX obj/llvm/lib/BinaryFormat/BinaryFormat.Dwarf.obj [7/3430] CXX obj/llvm/lib/Analysis/Analysis.ModuleDebugInfoPrinter.obj [8/3430] CXX obj/llvm/lib/Analysis/Analysis.MemoryLocation.obj [9/3430] CXX obj/llvm/lib/Analysis/Analysis.TypeMetadataUtils.obj [10/3430] CXX obj/llvm/lib/CodeGen/CodeGen.EHContGuardCatchret.obj [11/3430] CXX obj/llvm/lib/CodeGen/CodeGen.FaultMaps.obj [12/3430] CXX obj/llvm/lib/CodeGen/CodeGen.CallBrPrepare.obj [13/3430] CXX obj/llvm/lib/CodeGen/CodeGen.CFGuardLongjmp.obj [14/3430] CXX obj/llvm/lib/CodeGen/CodeGen.ExpandReductions.obj [15/3430] CXX obj/llvm/lib/AsmParser/AsmParser.Parser.obj [16/3430] CXX obj/llvm/lib/CodeGen/CodeGen.CodeGenCommonISel.obj [17/3430] CXX obj/llvm/lib/CodeGen/CodeGen.BasicBlockSectionsProfileReader.obj [18/3430] CXX obj/llvm/lib/Analysis/Analysis.StackLifetime.obj [19/3430] CXX obj/llvm/lib/CodeGen/CodeGen.ExpandVectorPredication.obj [20/3430] CXX obj/llvm/lib/CodeGen/CodeGen.CFIInstrInserter.obj [21/3430] CXX obj/llvm/lib/CodeGen/CodeGen.ExpandMemCmp.obj [22/3430] CXX obj/clang/lib/Interpreter/Interpreter.Value.obj [23/3430] CXX obj/llvm/lib/CodeGen/CodeGen.GCRootLowering.obj [24/3430] CXX obj/llvm/lib/CodeGen/CodeGen.HardwareLoops.obj [25/3430] CXX obj/llvm/lib/Bitcode/Writer/Writer.ValueEnumerator.obj [26/3430] CXX obj/llvm/lib/CodeGen/CodeGen.BasicTargetTransformInfo.obj [27/3430] CXX obj/llvm/lib/CodeGen/CodeGen.Analysis.obj [28/3430] CXX obj/llvm/lib/Analysis/Analysis.TargetTransformInfo.obj [29/3430] CXX obj/llvm/lib/CodeGen/CodeGen.DwarfEHPrepare.obj [30/3430] CXX obj/llvm/lib/CodeGen/CodeGen.FixupStatepointCallerSaved.obj [31/3430] CXX obj/clang/lib/Interpreter/Interpreter.IncrementalExecutor.obj [32/3430] CXX obj/llvm/lib/CodeGen/CodeGen.BranchFolding.obj [33/3430] CXX obj/llvm/lib/Analysis/Analysis.VectorUtils.obj [34/3430] CXX obj/llvm/lib/Bitcode/Reader/Reader.MetadataLoader.obj [35/3430] CXX obj/llvm/lib/Analysis/Analysis.StackSafetyAnalysis.obj [36/3430] CXX obj/clang/lib/Interpreter/Interpreter.DeviceOffload.obj [37/3430] CXX obj/llvm/lib/Analysis/Analysis.ModuleSummaryAnalysis.obj [38/3430] CXX obj/llvm/lib/CodeGen/CodeGen.ComplexDeinterleavingPass.obj [39/3430] CXX obj/llvm/lib/Analysis/Analysis.MemorySSA.obj [40/3430] CXX obj/clang/lib/Interpreter/Interpreter.InterpreterUtils.obj [41/3430] CXX obj/clang/lib/Interpreter/Interpreter.InterpreterValuePrinter.obj [42/3430] CXX obj/clang/lib/Interpreter/Interpreter.IncrementalParser.obj [43/3430] CXX obj/llvm/lib/Bitcode/Writer/Writer.BitcodeWriter.obj [44/3430] CXX obj/llvm/lib/Analysis/Analysis.ValueTracking.obj [45/3430] CXX obj/llvm/lib/CodeGen/CodeGen.AssignmentTrackingAnalysis.obj [46/3430] CXX obj/clang/lib/Interpreter/Interpreter.Interpreter.obj [47/3430] CXX obj/llvm/lib/AsmParser/AsmParser.LLParser.obj [48/3430] CXX obj/llvm/lib/Bitcode/Reader/Reader.BitcodeReader.obj [49/3430] CXX obj/llvm/lib/CodeGen/CodeGen.CodeGenPrepare.obj [50/3430] CXX obj/llvm/lib/Analysis/Analysis.ScalarEvolution.obj ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.