ninja: Entering directory `out/gn' [1/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUTargetObjectFile.obj [2/3739] 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. [3/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUUnifyMetadata.obj [4/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPURewriteUndefForPHI.obj [5/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUUnifyDivergentExitNodes.obj [6/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNILPSched.obj [7/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600FrameLowering.obj [8/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNMinRegStrategy.obj [9/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600ExpandSpecialInstrs.obj [10/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600ClauseMergePass.obj [11/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600EmitClauseMarkers.obj [12/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPURewriteOutArguments.obj [13/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600AsmPrinter.obj [14/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPURegBankSelect.obj [15/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNRewritePartialRegUses.obj [16/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600ControlFlowFinalizer.obj [17/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPURemoveIncompatibleFunctions.obj [18/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNVOPDUtils.obj [19/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNCreateVOPD.obj [20/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUSetWavePriority.obj [21/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNDPPCombine.obj [22/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNPreRAOptimizations.obj [23/3739] CXX obj/clang/lib/Serialization/Serialization.GeneratePCH.obj [24/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNRegPressure.obj [25/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600InstrInfo.obj [26/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUResourceUsageAnalysis.obj [27/3739] CXX obj/clang/lib/Frontend/Frontend.ChainedIncludesSource.obj [28/3739] CXX obj/clang/lib/Frontend/Frontend.PrecompiledPreamble.obj [29/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUReserveWWMRegs.obj [30/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNNSAReassign.obj [31/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNPreRALongBranchReg.obj [32/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNIterativeScheduler.obj [33/3739] CXX obj/clang/lib/Serialization/Serialization.ASTWriterStmt.obj [34/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNHazardRecognizer.obj [35/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUSubtarget.obj [36/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600ISelLowering.obj [37/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUSwLowerLDS.obj [38/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNSubtarget.obj [39/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUTargetTransformInfo.obj [40/3739] CXX obj/clang/lib/Serialization/Serialization.ASTWriterDecl.obj [41/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUSplitModule.obj [42/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPURegisterBankInfo.obj [43/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.GCNSchedStrategy.obj [44/3739] CXX obj/clang/lib/Frontend/Frontend.ASTUnit.obj [45/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600ISelDAGToDAG.obj [46/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPURegBankCombiner.obj [47/3739] CXX obj/clang/lib/Frontend/Frontend.FrontendActions.obj [48/3739] CXX obj/clang/lib/CodeGen/CodeGen.CodeGenAction.obj [49/3739] CXX obj/clang/lib/Serialization/Serialization.ASTWriter.obj [50/3739] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.AMDGPUTargetMachine.obj [51/3739] CXX obj/clang/lib/Serialization/Serialization.ASTReader.obj ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.