c++: fatal error: Killed signal terminated program cc1plus compilation terminated. In the directory /sbbs/repo/3rdp/src/mozjs/js-1.8.5/js/src
Unable to build from souce on debian 12 and freebsd 13
The following command failed to execute properly: c++ -o jsstr.o -c -fvisibility=hidden -DOSTYPE="Linux6.1" -DOSARCH=Linux -DEXPORT_JS_API -D__STDC_LIMIT_MACROS -DJS_HAS_CTYPES -DDLL_PREFIX="lib" -DDLL_SUFFIX=".so" -Ictypes/libffi/include -I. -I. -I. -I./dist/include -I./dist/include/nsprpub -I/usr/include/nspr -I. -I./assembler -I./yarr -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -pedantic -Wno-long-long -std=gnu++98 -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -O3 -w -DUSE_SYSTEM_MALLOC=1 -DENABLE_ASSEMBLER=1 -DENABLE_JIT=1 -DMOZILLA_CLIENT -include ./js-confdefs.h -MD -MF .deps/jsstr.pp jsstr.cpp gmake[4]: *** [config/rules.mk:1477: jsstr.o] Error 1 gmake[4]: *** Deleting file 'jsstr.o' gmake[4]: Leaving directory '/sbbs/repo/3rdp/src/mozjs/js-1.8.5/js/src' gmake[3]: *** [config/rules.mk:754: default] Error 2 gmake[3]: Leaving directory '/sbbs/repo/3rdp/src/mozjs/js-1.8.5/js/src' gmake[2]: *** [GNUmakefile:79: ../build/../../src/../3rdp/gcc.linux.x64.release/mozjs/lib/libmozjs185-1.0.a] Error 2 gmake[2]: Leaving directory '/sbbs/repo/3rdp/build' gmake[1]: *** [/sbbs/repo/src/sbbs3/../build/Common.gmake:527: js] Error 2 gmake[1]: Leaving directory '/sbbs/repo/src/sbbs3' gmake: *** [GNUmakefile:152: sbbs3] Error 2