Home | News | Documentation | Download

Internal compiler error: Segmentation fault


_ROOT Version: 6.16.00
_Platform: Ubuntu 16.04.5 LTS (Xenial Xerus) 64-bit
_Compiler: 5.4.0 20160609


I have problems building Root 6.16.00 with the following error:
[ 61%] Building CXX object interpreter/llvm/src/tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaTemplateInstantiate.cpp.o
[ 61%] Building CXX object interpreter/llvm/src/tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaTemplateInstantiateDecl.cpp.o
In file included from /home/lizardo/Software/Root6/root-6.16.00/interpreter/llvm/src/tools/clang/lib/Sema/TreeTransform.h:29:0,
from /home/lizardo/Software/Root6/root-6.16.00/interpreter/llvm/src/tools/clang/lib/Sema/SemaTemplateInstantiate.cpp:14:
/home/lizardo/Software/Root6/root-6.16.00/interpreter/llvm/src/tools/clang/include/clang/AST/StmtOpenMP.h:857:3: internal compiler error: Segmentation fault
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
interpreter/llvm/src/tools/clang/lib/Sema/CMakeFiles/clangSema.dir/build.make:608: recipe for target ‘interpreter/llvm/src/tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaTemplateInstantiate.cpp.o’ failed
make[2]: *** [interpreter/llvm/src/tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaTemplateInstantiate.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs…
CMakeFiles/Makefile2:9724: recipe for target ‘interpreter/llvm/src/tools/clang/lib/Sema/CMakeFiles/clangSema.dir/all’ failed
make[1]: *** [interpreter/llvm/src/tools/clang/lib/Sema/CMakeFiles/clangSema.dir/all] Error 2
Makefile:151: recipe for target ‘all’ failed
make: *** [all] Error 2

It looks like this is a bug in GCC, not ROOT. Note the line See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. in your output… We test on Ubuntu and do not see this failure. I recommend following the instructions in the file GCC mentions above to file a bug if this is reproducible.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.