<div dir="ltr">I'd first try to see if it was caused by an out-of-memory error. How much memory does your machine have?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 6, 2019 at 1:38 PM Neil Nelson via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p><font size="-1">~/Documents/llvm-project/build$ ninja</font></p>
<p><font size="-1">After over 2,000 files compiled.<br>
</font></p>
<p><font size="-1">[25/1074] Linking CXX executable bin/llvm-lto<br>
FAILED: bin/llvm-lto <br>
: && /usr/bin/clang++ -fPIC -fvisibility-inlines-hidden
-Werror=date-time -Werror=unguarded-availability-new -std=c++11
-Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wmissing-field-initializers -pedantic -Wno-long-long
-Wimplicit-fallthrough -Wcovered-switch-default
-Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor
-Wstring-conversion -fdiagnostics-color -g
-Wl,-allow-shlib-undefined
-Wl,-rpath-link,/home/nnelson/Documents/llvm-project/build/./lib
tools/llvm-lto/CMakeFiles/llvm-lto.dir/llvm-lto.cpp.o -o
bin/llvm-lto -Wl,-rpath,"\$ORIGIN/../lib"
lib/libLLVMAArch64AsmParser.a lib/libLLVMAMDGPUAsmParser.a
lib/libLLVMARMAsmParser.a lib/libLLVMBPFAsmParser.a
lib/libLLVMHexagonAsmParser.a lib/libLLVMLanaiAsmParser.a
lib/libLLVMMipsAsmParser.a lib/libLLVMMSP430AsmParser.a
lib/libLLVMPowerPCAsmParser.a lib/libLLVMSparcAsmParser.a
lib/libLLVMSystemZAsmParser.a lib/libLLVMWebAssemblyAsmParser.a
lib/libLLVMX86AsmParser.a lib/libLLVMAArch64CodeGen.a
lib/libLLVMAMDGPUCodeGen.a lib/libLLVMARMCodeGen.a
lib/libLLVMBPFCodeGen.a lib/libLLVMHexagonCodeGen.a
lib/libLLVMLanaiCodeGen.a lib/libLLVMMipsCodeGen.a
lib/libLLVMMSP430CodeGen.a lib/libLLVMNVPTXCodeGen.a
lib/libLLVMPowerPCCodeGen.a lib/libLLVMSparcCodeGen.a
lib/libLLVMSystemZCodeGen.a lib/libLLVMWebAssemblyCodeGen.a
lib/libLLVMX86CodeGen.a lib/libLLVMXCoreCodeGen.a
lib/libLLVMAArch64Desc.a lib/libLLVMAMDGPUDesc.a
lib/libLLVMARMDesc.a lib/libLLVMBPFDesc.a
lib/libLLVMHexagonDesc.a lib/libLLVMLanaiDesc.a
lib/libLLVMMipsDesc.a lib/libLLVMMSP430Desc.a
lib/libLLVMNVPTXDesc.a lib/libLLVMPowerPCDesc.a
lib/libLLVMSparcDesc.a lib/libLLVMSystemZDesc.a
lib/libLLVMWebAssemblyDesc.a lib/libLLVMX86Desc.a
lib/libLLVMXCoreDesc.a lib/libLLVMAArch64Info.a
lib/libLLVMAMDGPUInfo.a lib/libLLVMARMInfo.a
lib/libLLVMBPFInfo.a lib/libLLVMHexagonInfo.a
lib/libLLVMLanaiInfo.a lib/libLLVMMipsInfo.a
lib/libLLVMMSP430Info.a lib/libLLVMNVPTXInfo.a
lib/libLLVMPowerPCInfo.a lib/libLLVMSparcInfo.a
lib/libLLVMSystemZInfo.a lib/libLLVMWebAssemblyInfo.a
lib/libLLVMX86Info.a lib/libLLVMXCoreInfo.a
lib/libLLVMBitReader.a lib/libLLVMBitWriter.a lib/libLLVMCore.a
lib/libLLVMIRReader.a lib/libLLVMLTO.a lib/libLLVMMC.a
lib/libLLVMObject.a lib/libLLVMSupport.a lib/libLLVMTarget.a
-lpthread lib/libLLVMAArch64Utils.a lib/libLLVMAMDGPUUtils.a
lib/libLLVMMIRParser.a lib/libLLVMARMUtils.a
lib/libLLVMHexagonAsmParser.a lib/libLLVMHexagonDesc.a
lib/libLLVMHexagonInfo.a lib/libLLVMLanaiAsmParser.a
lib/libLLVMLanaiDesc.a lib/libLLVMLanaiInfo.a
lib/libLLVMMCDisassembler.a lib/libLLVMGlobalISel.a
lib/libLLVMX86Utils.a lib/libLLVMAsmPrinter.a
lib/libLLVMDebugInfoDWARF.a lib/libLLVMSelectionDAG.a
lib/libLLVMObjCARCOpts.a lib/libLLVMPasses.a
lib/libLLVMCodeGen.a lib/libLLVMTarget.a lib/libLLVMipo.a
lib/libLLVMBitWriter.a lib/libLLVMIRReader.a
lib/libLLVMAsmParser.a lib/libLLVMScalarOpts.a
lib/libLLVMVectorize.a lib/libLLVMLinker.a
lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a
lib/libLLVMInstrumentation.a lib/libLLVMTransformUtils.a
lib/libLLVMAnalysis.a lib/libLLVMObject.a lib/libLLVMBitReader.a
lib/libLLVMMCParser.a lib/libLLVMMC.a
lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a
lib/libLLVMProfileData.a lib/libLLVMCore.a
lib/libLLVMBinaryFormat.a lib/libLLVMRemarks.a
lib/libLLVMSupport.a -lz -lrt -ldl -ltinfo -lpthread -lm
lib/libLLVMDemangle.a && :<br>
clang: error: unable to execute command: Killed<br>
clang: error: linker command failed due to signal (use -v to see
invocation)</font></p>
<p><font size="-1">---------------</font></p>
<p><font size="-1">clang version 8.0.0-3 (tags/RELEASE_800/final) -
installed from Ubuntu repository<br>
</font></p>
<p><font size="-1">Ubuntu 19.04</font></p>
<p><font size="-1"><font size="-1">From <a class="gmail-m_-5623106269392682874moz-txt-link-freetext" href="https://llvm.org/docs/GettingStarted.html" target="_blank">https://llvm.org/docs/GettingStarted.html</a><br>
<br>
git clone <a class="gmail-m_-5623106269392682874moz-txt-link-freetext" href="https://github.com/llvm/llvm-project.git" target="_blank">https://github.com/llvm/llvm-project.git</a></font>
- obtained yesterday afternoon</font></p>
<p><font size="-1">Neil Nelson<br>
</font></p>
<p><font size="-1"></font><br>
</p>
</div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>