<div dir="ltr"><div><div><div><div>Hi,<br><br></div>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:<br><br>[ 89%] Linking CXX shared library ../../lib/libLTO.so<br><br>collect2: fatal error: ld terminated with signal 9 [Killed]<br>compilation terminated.<br>tools/lto/CMakeFiles/LTO.dir/build.make:269: recipe for target 'lib/libLTO.so.4.0.1'<br>failed<br>make[2]: *** [lib/libLTO.so.4.0.1] Error 1<br>make[2]: *** Deleting file 'lib/libLTO.so.4.0.1'<br>CMakeFiles/Makefile2:13932: recipe for target 'tools/lto/CMakeFiles/LTO.dir/all'<br>failed<br>make[1]: *** [tools/lto/CMakeFiles/LTO.dir/all] Error 2<br>Makefile:149: recipe for target 'all' failed<br>make: *** [all] Error 2<br><br></div>Can anyone help me with this problem?<br><br></div>Thank you in advance for your time!<br></div>Adrian Crisciu<br></div>