On Thu, 20 Oct 2022 at 11:32:52 +0100, Andrej Shadura wrote: > > g++: fatal error: Killed signal terminated program cc1plus ... > make[5]: *** Deleting file 'Unified_cpp_js_src_jit4.o'
SIGKILL while compiling C++ looks like the OOM-killer to me: 0ad contains a bundled copy of mozjs, which is a large and compile-time-memory-hungry C++ project. How large a machine did you use to build it? (In particular, mozjs uses "unified" compilation where several C++ source files are bundled into one big translation unit, which is a time/space tradeoff that makes it use more memory to compile sooner. The down side is that machines with limited RAM can't compile it at all.) Having a bundled copy of mozjs is obviously not ideal, particularly with mozjs being such a pain to compile, but I seem to remember there's some technical reason why 0ad needs to have it. smcv