[cfe-dev] Cannot run make check-clang (with gcc version 4.8.4 on ubuntu 14.04)

Seth Goldstein via cfe-dev cfe-dev at lists.llvm.org
Wed Oct 18 10:07:42 PDT 2017


When trying to check clang I get a gcc internal error.
gcc --version reports: gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Suggestions?

prompt> make check-clang
........
[ 95%] Building CXX object
tools/clang/unittests/Basic/CMakeFiles/BasicTests.dir/FileManagerTest.cpp.o
In file included from
/home/seth/research/uli/src/compiler/llvm/utils/unittest/googletest/include/gtest/gtest-param-test.h:193:0,
                 from
/home/seth/research/uli/src/compiler/llvm/utils/unittest/googletest/include/gtest/gtest.h:62,
                 from
/home/seth/research/uli/src/compiler/llvm/tools/clang/unittests/Basic/FileManagerTest.cpp:17:
/home/seth/research/uli/src/compiler/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util-generated.h:1442:9:
internal compiler error: Segmentation fault
   const T26 v26_;
         ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: ***
[tools/clang/unittests/Basic/CMakeFiles/BasicTests.dir/FileManagerTest.cpp.o]
Error 1
make[2]: *** [tools/clang/unittests/Basic/CMakeFiles/BasicTests.dir/all]
Error 2
make[1]: *** [tools/clang/test/CMakeFiles/check-clang.dir/rule] Error 2
make: *** [check-clang] Error 2


--------------
Seth Copen Goldstein
Carnegie Mellon University
Computer Science Dept
7111 GHC
412-268-3828
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20171018/279ffe6d/attachment.html>


More information about the cfe-dev mailing list