<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Oct 18, 2017 at 10:07 AM, Seth Goldstein via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">When trying to check clang I get a gcc internal error.  <div>gcc --version reports: gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4<br><div>Suggestions?<div><br></div><div>prompt> make check-clang</div><div>........</div><div><div>[ 95%] Building CXX object tools/clang/unittests/Basic/<wbr>CMakeFiles/BasicTests.dir/<wbr>FileManagerTest.cpp.o</div><div>In file included from /home/seth/research/uli/src/<wbr>compiler/llvm/utils/unittest/<wbr>googletest/include/gtest/<wbr>gtest-param-test.h:193:0,</div><div>                 from /home/seth/research/uli/src/<wbr>compiler/llvm/utils/unittest/<wbr>googletest/include/gtest/<wbr>gtest.h:62,</div><div>                 from /home/seth/research/uli/src/<wbr>compiler/llvm/tools/clang/<wbr>unittests/Basic/<wbr>FileManagerTest.cpp:17:</div><div>/home/seth/research/uli/src/<wbr>compiler/llvm/utils/unittest/<wbr>googletest/include/gtest/<wbr>internal/gtest-param-util-<wbr>generated.h:1442:9: internal compiler error: Segmentation fault</div><div>   const T26 v26_;</div><div>         ^</div><div>Please submit a full bug report,</div><div>with preprocessed source if appropriate.</div><div>See <file:///usr/share/doc/gcc-4.<wbr>8/README.Bugs> for instructions.</div><div>The bug is not reproducible, so it is likely a hardware or OS problem.</div></div></div></div></div></blockquote><div><br></div><div>The last line above may be relevant.  "<span style="color:rgb(84,84,84);font-family:Roboto,arial,sans-serif">When debian gcc encounters an internal error it tries to run the code through the compilation core again. If it gets the same results every time it assumes it really is a bug in the compiler core. If it doesn't then you get the "</span><span style="font-weight:bold;color:rgb(106,106,106);font-family:Roboto,arial,sans-serif">The bug is not reproducible, so it is likely a hardware or OS problem</span><span style="color:rgb(84,84,84);font-family:Roboto,arial,sans-serif">." message."  Can you reproduce this on a different machine, or run memtest on the problematic one?</span></div><div><br></div><div>-- James</div></div></div></div>