Post
Topic
Board Altcoin Discussion
Re: [XPM] Primecoin Built-in Miner Sieve Performance Issue
by
tocket
on 11/07/2013, 16:17:38 UTC
I get compilation error.

This is the make file command:

Quote
make CXXFLAGS="-O3 -march=native" -j6 -f makefile.unix

and this is the error.

Quote
g++: internal compiler error: Killed (program cc1plus)

What's the solution?

Not enough memory. Make a swapfile or remove the '-O2' from the makefile
Memory is probably the issue indeed. I think it's the -j6 part that should be removed though (-j6 means it will compile 6 files at a time if I understand it correctly). Each compiler thread uses about 300 MB, so 6 will use around 2 GB.