Git Product home page Git Product logo

Comments (3)

bmenant avatar bmenant commented on May 24, 2024

Similar errors occurred, trying nave use <version> on my old GNU/Debian server.
Issues could be different, but… I don't know.

% g++ -v
Using built-in specs.
Target: i486-linux-gnu   
Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-
suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include
/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=
i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.5 (Debian 4.4.5-8)
% nave use latest
[…]
'configure' finished successfully (1.584s)
[…]
DEST_OS: linux
DEST_CPU: ia32
Parallel Jobs: 8
[…]
/usr/bin/g++ -o obj/release/ia32/cpu-ia32.o -c -fno-rtti -fno-exceptions -Wall -Werror -W -Wno-unused-parameter -Wnon-virtual-dtor -pedantic -m32 -O3 -fomit-frame-pointer -fdata-sections -ffunction-
sections -ansi -DV8_TARGET_ARCH_IA32 -DV8_FAST_TLS -DENABLE_DEBUGGER_SUPPORT -DENABLE_VMSTATE_TRACKING -DENABLE_LOGGING_AND_PROFILING -I/home/bmenant/.nave/src/0.5.1/deps/v8/src /home/bmenant/.nave/
src/0.5.1/deps/v8/src/ia32/cpu-ia32.cc
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make: *** [program] Processus arrêté
Failed to make 0.5.1
fail
scons: *** [obj/debug/compiler.o] Error 1
zsh: exit 1     nave use latest

Same fail with stable release.

Reading the output, I saw that 8 parallel jobs (defined by nave) was used for build process.
I thought that was too hard for my poor old lowclocked monocore CPU.
So, I tried this:

% export JOBS=2
% nave use stable # Has worked for latest too

And the install process successfully done (for me)!

from nave.

mdesantis avatar mdesantis commented on May 24, 2024

This worked for me too: 8 JOBS easily fill my 2 GB of memory. I suggest to make a --jobs=n option to fot the task that imply compilation.

from nave.

isaacs avatar isaacs commented on May 24, 2024

Jobs reduced to a default of 2, and set by whatever the env says if it's set.

from nave.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.