• c++: fatal error: Killed signal terminated program cc1plus compilation

    From Sarah Amethyst@1:103/705 to GitLab issue in main/sbbs on Thu Jun 22 00:21:56 2023
    open https://gitlab.synchro.net/main/sbbs/-/issues/575

    Unable to build from souce on debian 12 and freebsd 13The 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.cppgmake[4]: *** [config/rules.mk:1477: jsstr.o] Error 1gmake[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 2gmake[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 2gmake[2]: Leaving directory '/sbbs/repo/3rdp/build'gmake[1]: *** [/sbbs/repo/src/sbbs3/../build/Common.gmake:527: js] Error 2gmake[1]: Leaving directory '/sbbs/repo/src/sbbs3'gmake: *** [GNUmakefile:152: sbbs3] Error 2
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Thu Jun 22 11:22:16 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/575#note_3623

    I've seen this happen with other programs when the system runs out of memory. Maybe monitor your memory/swap while compiling. I'm sure DM will be along with a better answer but in the meantime, it's a place to start.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Fri Jun 23 17:44:22 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/575#note_3626

    The error is in a failure to build libmozjs (aka SpiderMonkey), the Mozilla JavaScript engine - a 3rd party component, not Synchronet itself.Like Nelgin suggested, this is likely an external/environmental problem (disk space, memory?) and nothing to do with Synchronet.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab issue in main/sbbs on Fri Jun 23 17:44:22 2023
    close https://gitlab.synchro.net/main/sbbs/-/issues/575
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)