[llvm-dev] LLVM-4.0.1 build problem on Linux

Adrian Victor Crisciu via llvm-dev llvm-dev at lists.llvm.org
Fri Aug 11 09:14:11 PDT 2017


Hi,

I tried to build LLVM 4.0.1 on a Slackware Linux box with 3 GB of RAM using
gcc-7.1.0. Near the end of the build process, I hit the following error:

[ 89%] Linking CXX shared library ../../lib/libLTO.so

collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
tools/lto/CMakeFiles/LTO.dir/build.make:269: recipe for target
'lib/libLTO.so.4.0.1'
failed
make[2]: *** [lib/libLTO.so.4.0.1] Error 1
make[2]: *** Deleting file 'lib/libLTO.so.4.0.1'
CMakeFiles/Makefile2:13932: recipe for target
'tools/lto/CMakeFiles/LTO.dir/all'
failed
make[1]: *** [tools/lto/CMakeFiles/LTO.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

Can anyone help me with this problem?

Thank you in advance for your time!
Adrian Crisciu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170811/15177b58/attachment.html>


More information about the llvm-dev mailing list