[llvm-dev] clang: error: linker command failed due to signal (use -v to see invocation)
Neil Nelson via llvm-dev
llvm-dev at lists.llvm.org
Wed Jun 5 21:37:54 PDT 2019
~/Documents/llvm-project/build$ ninja
After over 2,000 files compiled.
[25/1074] Linking CXX executable bin/llvm-lto
FAILED: bin/llvm-lto
: && /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 && :
clang: error: unable to execute command: Killed
clang: error: linker command failed due to signal (use -v to see invocation)
---------------
clang version 8.0.0-3 (tags/RELEASE_800/final) - installed from Ubuntu
repository
Ubuntu 19.04
From https://llvm.org/docs/GettingStarted.html
git clone https://github.com/llvm/llvm-project.git - obtained yesterday
afternoon
Neil Nelson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190605/a8271f9b/attachment.html>
More information about the llvm-dev
mailing list