ninja: Entering directory `out/gn' [1/1] Regenerating ninja files [1/6309] LIB lib/LLVMTextAPI.lib [2/6309] STAMP obj/llvm/lib/Transforms/InstCombine/InstCombine.inputdeps.stamp [3/6309] STAMP obj/llvm/lib/Transforms/Instrumentation/Instrumentation.inputdeps.stamp [4/6309] STAMP obj/llvm/lib/Transforms/ObjCARC/ObjCARC.inputdeps.stamp [5/6309] STAMP obj/llvm/lib/Transforms/Scalar/Scalar.inputdeps.stamp [6/6309] STAMP obj/llvm/lib/Transforms/Utils/Utils.inputdeps.stamp [7/6309] STAMP obj/llvm/lib/Transforms/Vectorize/Vectorize.inputdeps.stamp [8/6309] STAMP obj/llvm/lib/XRay/XRay.inputdeps.stamp [9/6309] STAMP obj/llvm/tools/llvm-cfi-verify/lib/lib.inputdeps.stamp [10/6309] STAMP obj/llvm/tools/llvm-cov/llvm-cov.inputdeps.stamp [11/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.IPO.obj [12/6309] 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)) [13/6309] 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)) [14/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.StripDeadPrototypes.obj [15/6309] CXX obj/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.llvm-bcanalyzer.obj [16/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.ExtractGV.obj [17/6309] CXX obj/llvm/tools/llvm-ctxprof-util/llvm-ctxprof-util.llvm-ctxprof-util.obj [18/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.ForceFunctionAttrs.obj [19/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.InferFunctionAttrs.obj [20/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.GlobalSplit.obj [21/6309] CXX obj/llvm/lib/IR/IR.Intrinsics.obj FAILED: obj/llvm/lib/IR/IR.Intrinsics.obj ../../../chrome/src/third_party/llvm-build/Release+Asserts/bin/clang-cl /nologo /showIncludes /Foobj/llvm/lib/IR/IR.Intrinsics.obj /c ../../llvm/lib/IR/Intrinsics.cpp -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_HAS_EXCEPTIONS=0 -D_UNICODE -DUNICODE -I../../llvm/include -Igen/llvm/include -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR -Igen/llvm/include/llvm/IR /O2 /Gw /Zc:inline /EHs-c- /W4 -Wno-unused-parameter -Wdelete-non-virtual-dtor -Wstring-conversion -no-canonical-prefixes -Werror=date-time -fmsc-version=1926 /Brepro -fdebug-compilation-dir=. /winsysroot../../sysroot-3bda71a11e -Wcovered-switch-default /std:c++17 /GR- In file included from ../../llvm/lib/IR/Intrinsics.cpp:13: In file included from ../../llvm/include\llvm/IR/Intrinsics.h:18: In file included from ../../llvm/include\llvm/ADT/ArrayRef.h:13: ../../llvm/include\llvm/ADT/SmallVector.h(563,5): error: reference to 'memcpy' is ambiguous 563 | memcpy(reinterpret_cast(this->end()), EltPtr, sizeof(T)); | ^ ../../sysroot-3bda71a11e\VC\Tools\MSVC\14.26.28801\include\vcruntime_string.h(43,15): note: candidate found by name lookup is 'memcpy' 43 | void* __cdecl memcpy( | ^ gen/llvm/include\llvm/IR/IntrinsicEnums.inc(245,5): note: candidate found by name lookup is 'llvm::Intrinsic::memcpy' 245 | memcpy, // llvm.memcpy | ^ In file included from ../../llvm/lib/IR/Intrinsics.cpp:13: In file included from ../../llvm/include\llvm/IR/Intrinsics.h:18: In file included from ../../llvm/include\llvm/ADT/ArrayRef.h:13: ../../llvm/include\llvm/ADT/SmallVector.h(562,14): warning: unused variable 'EltPtr' [-Wunused-variable] 562 | const T *EltPtr = reserveForParamAndGetAddress(Elt); | ^~~~~~ ../../llvm/include\llvm/IR/DataLayout.h(346,20): note: in instantiation of member function 'llvm::SmallVectorTemplateBase::push_back' requested here 346 | AddrSpaces.push_back(PS.AddrSpace); | ^ In file included from ../../llvm/lib/IR/Intrinsics.cpp:13: In file included from ../../llvm/include\llvm/IR/Intrinsics.h:18: In file included from ../../llvm/include\llvm/ADT/ArrayRef.h:13: ../../llvm/include\llvm/ADT/SmallVector.h(520,7): error: reference to 'memcpy' is ambiguous 520 | memcpy(reinterpret_cast(Dest), I, (E - I) * sizeof(T)); | ^ ../../llvm/include\llvm/ADT/SmallVector.h(1097,9): note: in instantiation of function template specialization 'llvm::SmallVectorTemplateBase::uninitialized_move' requested here 1097 | this->uninitialized_move(RHS.begin()+CurSize, RHS.end(), | ^ ../../llvm/include\llvm/ADT/SmallVector.h(1248,27): note: in instantiation of member function 'llvm::SmallVectorImpl::operator=' requested here 1248 | SmallVectorImpl::operator=(::std::move(RHS)); | ^ ../../llvm/include\llvm/IR/DataLayout.h(348,12): note: in instantiation of member function 'llvm::SmallVector::SmallVector' requested here 348 | return AddrSpaces; | ^ ../../sysroot-3bda71a11e\VC\Tools\MSVC\14.26.28801\include\vcruntime_string.h(43,15): note: candidate found by name lookup is 'memcpy' 43 | void* __cdecl memcpy( | ^ gen/llvm/include\llvm/IR/IntrinsicEnums.inc(245,5): note: candidate found by name lookup is 'llvm::Intrinsic::memcpy' 245 | memcpy, // llvm.memcpy | ^ In file included from ../../llvm/lib/IR/Intrinsics.cpp:13: In file included from ../../llvm/include\llvm/IR/Intrinsics.h:18: In file included from ../../llvm/include\llvm/ADT/ArrayRef.h:13: ../../llvm/include\llvm/ADT/SmallVector.h(562,14): warning: unused variable 'EltPtr' [-Wunused-variable] 562 | const T *EltPtr = reserveForParamAndGetAddress(Elt); | ^~~~~~ ../../llvm/lib/IR/Intrinsics.cpp(212,17): note: in instantiation of member function 'llvm::SmallVectorTemplateBase::push_back' requested here 212 | OutputTable.push_back(IITDescriptor::get(IITDescriptor::Void, 0)); | ^ In file included from ../../llvm/lib/IR/Intrinsics.cpp:13: In file included from ../../llvm/include\llvm/IR/Intrinsics.h:18: In file included from ../../llvm/include\llvm/ADT/ArrayRef.h:13: ../../llvm/include\llvm/ADT/SmallVector.h(562,14): warning: unused variable 'EltPtr' [-Wunused-variable] 562 | const T *EltPtr = reserveForParamAndGetAddress(Elt); | ^~~~~~ ../../llvm/lib/IR/Intrinsics.cpp(468,17): note: in instantiation of member function 'llvm::SmallVectorTemplateBase::push_back' requested here 468 | IITValues.push_back(TableVal & 0xF); | ^ In file included from ../../llvm/lib/IR/Intrinsics.cpp:13: In file included from ../../llvm/include\llvm/IR/Intrinsics.h:18: In file included from ../../llvm/include\llvm/ADT/ArrayRef.h:13: ../../llvm/include\llvm/ADT/SmallVector.h(562,14): warning: unused variable 'EltPtr' [-Wunused-variable] 562 | const T *EltPtr = reserveForParamAndGetAddress(Elt); | ^~~~~~ ../../llvm/lib/IR/Intrinsics.cpp(525,12): note: in instantiation of member function 'llvm::SmallVectorTemplateBase::push_back' requested here 525 | Elts.push_back(DecodeFixedType(Infos, Tys, Context)); | ^ In file included from ../../llvm/lib/IR/Intrinsics.cpp:13: In file included from ../../llvm/include\llvm/IR/Intrinsics.h:18: In file included from ../../llvm/include\llvm/ADT/ArrayRef.h:13: ../../llvm/include\llvm/ADT/SmallVector.h(562,14): warning: unused variable 'EltPtr' [-Wunused-variable] 562 | const T *EltPtr = reserveForParamAndGetAddress(Elt); | ^~~~~~ ../../llvm/include\llvm/ADT/SmallVector.h(556,5): note: in instantiation of member function 'llvm::SmallVectorTemplateBase>>::push_back' requested here 556 | push_back(T(std::forward(Args)...)); | ^ ../../llvm/include\llvm/ADT/SmallVector.h(939,20): note: in instantiation of function template specialization 'llvm::SmallVectorTemplateBase>>::growAndEmplaceBack &>' requested here 939 | return this->growAndEmplaceBack(std::forward(Args)...); | ^ ../../llvm/lib/IR/Intrinsics.cpp(773,20): note: in instantiation of function template specialization 'llvm::SmallVectorImpl>>::emplace_back &>' requested here 773 | DeferredChecks.emplace_back(T, InfosRef); | ^ 5 warnings and 2 errors generated. [22/6309] CXX obj/llvm/tools/llvm-config/llvm-config.llvm-config.obj [23/6309] CXX obj/llvm/lib/WindowsDriver/WindowsDriver.MSVCPaths.obj [24/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.LoopExtractor.obj [25/6309] CXX obj/llvm/tools/llvm-cat/llvm-cat.llvm-cat.obj [26/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.Internalize.obj [27/6309] CXX obj/llvm/tools/llvm-as/llvm-as.llvm-as.obj [28/6309] CXX obj/llvm/lib/Transforms/InstCombine/InstCombine.InstCombineAtomicRMW.obj [29/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.GlobalDCE.obj [30/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.StripSymbols.obj [31/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.ExpandVariadics.obj [32/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.ModuleInliner.obj [33/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.SCCP.obj [34/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.HotColdSplitting.obj [35/6309] CXX obj/llvm/lib/Transforms/InstCombine/InstCombine.InstCombineNegator.obj [36/6309] CXX obj/llvm/lib/Transforms/InstCombine/InstCombine.InstCombineLoadStoreAlloca.obj [37/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.SampleContextTracker.obj [38/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.Inliner.obj [39/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.MergeFunctions.obj [40/6309] CXX obj/llvm/lib/Transforms/InstCombine/InstCombine.InstCombineCasts.obj [41/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.SampleProfileProbe.obj [42/6309] CXX obj/llvm/lib/Transforms/InstCombine/InstCombine.InstCombinePHI.obj [43/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.ThinLTOBitcodeWriter.obj [44/6309] CXX obj/llvm/lib/Transforms/InstCombine/InstCombine.InstCombineMulDivRem.obj [45/6309] CXX obj/llvm/lib/Transforms/InstCombine/InstCombine.InstCombineAddSub.obj [46/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.FunctionSpecialization.obj [47/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.FunctionAttrs.obj [48/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.FunctionImport.obj [49/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.GlobalOpt.obj [50/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.PartialInlining.obj [51/6309] CXX obj/llvm/lib/Transforms/InstCombine/InstCombine.InstCombineAndOrXor.obj [52/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.SampleProfileMatcher.obj [53/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.IROutliner.obj [54/6309] CXX obj/llvm/lib/Transforms/InstCombine/InstCombine.InstCombineCalls.obj [55/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.LowerTypeTests.obj [56/6309] CXX obj/llvm/lib/Transforms/InstCombine/InstCombine.InstCombineCompares.obj [57/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.WholeProgramDevirt.obj [58/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.SampleProfile.obj [59/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.OpenMPOpt.obj [60/6309] CXX obj/llvm/lib/Transforms/IPO/IPO.MemProfContextDisambiguation.obj [61/6309] CXX obj/clang/lib/Sema/Sema.SemaDecl.obj ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.