policheh
(Boris Polishchuk)
1
Hello!
My O2 rebuild on Ubuntu 17.10 has been failed after recipes update in ~/alice/alidist when compiling clang packet:
c++: internal compiler error: Killed (program cc1plus)
tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/build.make:127: recipe for target ‘tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o’ failed
make[2]: *** [tools/clang/lib/AST/CMakeFiles/obj.clangAST.dir/ASTImporter.cpp.o] Error 4
Log file: https://cernbox.cern.ch/index.php/s/elclJSydEyP9k5b
Cheers,
Boris
eulisse
(Giulio Eulisse)
2
How many GB of ram do you have? How many processes are you using for compilation? Can you either increase the former or decrease the latter (with -j).
policheh
(Boris Polishchuk)
3
I have 4Gb and compiled without any -j flags.
I see your point, will try to decrease j. Thanks.
Cheers,
Boris
eulisse
(Giulio Eulisse)
4
Yeah, with 4GB you should use -j1, I am afraid.
policheh
(Boris Polishchuk)
5
Thank you Giulio,
it helps.
Cheers,
Boris