O2 rebuild failed in Clang

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

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).

I have 4Gb and compiled without any -j flags.
I see your point, will try to decrease j. Thanks.

Cheers,
Boris

Yeah, with 4GB you should use -j1, I am afraid.

Thank you Giulio,
it helps.

Cheers,
Boris