ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -


i'm trying build precimonious on ubuntu 16.04.3 x64. allocated 1gb memory it. file structure looks like

~ |--- llvm/ |--- precimonious/ 

where llvm on version 3.0 mentioned @ https://github.com/corvette-berkeley/precimonious#requirement. followed steps on readme command make ended with

... llvm[1]: linking debug shared library libllvm-3.0.so collect2: fatal error: ld terminated signal 9 [killed] compilation terminated. ... 

i went through answers online , might because there's not enough memory perform link. memory usage enter image description here

the gcc version on machine gcc version 5.4.0 20160609 (ubuntu 5.4.0-6ubuntu1~16.04.4) , installed via apt-get install build-essential. fresh droplet created on digitalocean btw. appreciated.

it memory exhaustion. sampling interval memory measurement not small enough covers exact point oom killer kicks in.

depending on container/vm technology, may able set vm.overcommit_memory=2 before build, process not killed (but doing requires more memory , swap space build complete).


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -