Skip to content
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.

Non-zero code:2 on build #51

Open
FMCumhaill opened this issue Jul 26, 2019 · 1 comment
Open

Non-zero code:2 on build #51

FMCumhaill opened this issue Jul 26, 2019 · 1 comment

Comments

@FMCumhaill
Copy link

I'm hitting the following error while building inside a docker container while running Ubuntu 18.04 LTS.

This was running fine a couple of days ago, has there been any update to anything recently?

Scanning dependencies of target onmt [ 45%] Building CXX object CMakeFiles/onmt.dir/src/th/Env.cc.o [ 47%] Building CXX object CMakeFiles/onmt.dir/src/th/Obj.cc.o [ 50%] Building CXX object CMakeFiles/onmt.dir/src/th/Utils.cc.o [ 52%] Building CXX object CMakeFiles/onmt.dir/src/Dictionary.cc.o [ 55%] Building CXX object CMakeFiles/onmt.dir/src/SubDict.cc.o [ 57%] Building CXX object CMakeFiles/onmt.dir/src/PhraseTable.cc.o [ 60%] Building CXX object CMakeFiles/onmt.dir/src/Profiler.cc.o [ 62%] Building CXX object CMakeFiles/onmt.dir/src/ITranslator.cc.o [ 65%] Building CXX object CMakeFiles/onmt.dir/src/TranslatorFactory.cc.o CMakeFiles/onmt.dir/build.make:254: recipe for target 'CMakeFiles/onmt.dir/src/TranslatorFactory.cc.o' failed CMakeFiles/Makefile2:68: recipe for target 'CMakeFiles/onmt.dir/all' failed Makefile:127: recipe for target 'all' failed c++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. make[2]: *** [CMakeFiles/onmt.dir/src/TranslatorFactory.cc.o] Error 4 make[1]: *** [CMakeFiles/onmt.dir/all] Error 2 make: *** [all] Error 2 The command '/bin/sh -c make' returned a non-zero code: 2

@guillaumekln
Copy link
Collaborator

has there been any update to anything recently?

No.

Most likely you are running out of memory, can you check?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants