When I do: python3 buildscripts/scons.py mongod --disable-warnings-as-errors
I get the following error:
Compiling build/opt/mongo/db/commands/find_cmd.o
**g++:** **fatal error:** Killed signal terminated program cc1plus
compilation terminated.
scons: *** [build/opt/mongo/db/db.o] Error 1
scons: building terminated because of errors.
build/opt/mongo/db/db.o failed: Error 1
Not sure where to go from here. Would really appreciate a direction on this thanks.
Hi @Oliver_Lockwood - That looks to me like you are running out of memory and the compiler is getting OOM killed. Either build with lower concurrency (smaller argument to -j), or do a cross compile. The latter would be my recommendation, because you can then do the build on a heftier x86 machine. The post you linked to includes cross build instructions.