title: collect2: fatal error: ld terminated with signal 9 [Killed]
body: <p>I'm trying to build <a href="https://github.com/corvette-berkeley/precimonious" rel="noreferrer">precimonious</a> on Ubuntu 16.04.3 x64. I allocated 1GB memory for it. My file structure looks like</p>
  
  <pre><code>~
  |--- llvm/
  |--- precimonious/
  </code></pre>
  
  <p>where the llvm is on version 3.0 as mentioned at <a href="https://github.com/corvette-berkeley/precimonious#requirement" rel="noreferrer">https://github.com/corvette-berkeley/precimonious#requirement</a>. Then I followed the steps on the README but command <code>make</code> ended with</p>
  
  <pre><code>...
  llvm[1]: Linking Debug Shared Library libLLVM-3.0.so
  collect2: fatal error: ld terminated with signal 9 [Killed]
  compilation terminated.
  ...
  </code></pre>
  
  <p>I went through some answers online and they say it might because there's not enough memory to perform the link. But the memory usage is like
  <a href="https://i.stack.imgur.com/ilUOS.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ilUOS.png" alt="enter image description here"></a></p>
  
  <p>The gcc version on my machine is <code>gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)</code> and was installed via <code>apt-get install build-essential</code>. This is a fresh droplet I just created on DigitalOcean btw. Any help is appreciated.</p>