ninja: Entering directory `out/gn' [1/1] Regenerating ninja files [1/3074] STAMP obj/llvm/lib/Target/AMDGPU/MCTargetDesc/MCTargetDesc.inputdeps.stamp [2/3074] STAMP obj/llvm/lib/Target/AMDGPU/MCTargetDesc/tablegen.stamp [3/3074] 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. [4/3074] CXX obj/llvm/lib/Target/AMDGPU/MCTargetDesc/MCTargetDesc.AMDGPUELFObjectWriter.obj [5/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600OpenCLImageTypeLoweringPass.obj [6/3074] CXX obj/llvm/lib/Target/AMDGPU/MCA/MCA.AMDGPUCustomBehaviour.obj [7/3074] CXX obj/llvm/lib/Target/AMDGPU/MCTargetDesc/MCTargetDesc.AMDGPUAsmBackend.obj [8/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600MachineFunctionInfo.obj [9/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600RegisterInfo.obj [10/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600Subtarget.obj [11/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIProgramInfo.obj [12/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600MachineScheduler.obj [13/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600Packetizer.obj [14/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIModeRegisterDefaults.obj [15/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIFixVGPRCopies.obj [16/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIInsertHardClauses.obj [17/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600OptimizeVectorRegisters.obj [18/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIPostRABundler.obj [19/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIModeRegister.obj [20/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIPreEmitPeephole.obj [21/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIShrinkInstructions.obj [22/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600InstrInfo.obj [23/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIOptimizeExecMasking.obj [24/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIPeepholeSDWA.obj [25/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600MachineCFGStructurizer.obj [26/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIOptimizeExecMaskingPreRA.obj [27/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SILowerI1Copies.obj [28/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SILowerControlFlow.obj [29/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SILoadStoreOptimizer.obj [30/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIMemoryLegalizer.obj [31/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIFixSGPRCopies.obj [32/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIMachineScheduler.obj [33/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIWholeQuadMode.obj [34/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIAnnotateControlFlow.obj [35/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600TargetTransformInfo.obj [36/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600MCInstLower.obj [37/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SILowerWWMCopies.obj [38/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIPreAllocateWWMRegs.obj [39/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIFormMemoryClauses.obj [40/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIFrameLowering.obj [41/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIMachineFunctionInfo.obj [42/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SILowerSGPRSpills.obj [43/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SILateBranchLowering.obj [44/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIFoldOperands.obj [45/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIOptimizeVGPRLiveRange.obj [46/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIInsertWaitcnts.obj [47/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIRegisterInfo.obj [48/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIInstrInfo.obj [49/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.R600TargetMachine.obj [50/3074] CXX obj/llvm/lib/Target/AMDGPU/LLVMAMDGPUCodeGen.SIISelLowering.obj [51/3074] CXX obj/llvm/lib/Target/AMDGPU/Disassembler/Disassembler.AMDGPUDisassembler.obj [52/3074] CXX obj/llvm/lib/Target/AMDGPU/AsmParser/AsmParser.AMDGPUAsmParser.obj ninja: build stopped: subcommand failed. Command '['ninja', '-C', 'out/gn']' returned non-zero exit status 1.