Build Error - internal compiler error

I am unable to build ParaView due to an apparent internal compiler error when building VTK. Build log (using ninja) is attached.

My system:

$ uname -a
Linux tumbleweed 4.20.7-1-default #1 SMP PREEMPT Thu Feb 7 07:16:45 UTC 2019 (730812f) x86_64 x86_64 x86_64 GNU/Linux
$ gcc --version
gcc (SUSE Linux) 8.2.1 20190204 [gcc-8-branch revision 268513]
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ python3 --version
Python 3.7.2

ParaView is built using the following cmake variables:

$ cat /path/to/my/paraview.cmake
SET(CMAKE_INSTALL_PREFIX "/usr/local" CACHE PATH "")
SET(BUILD_EXAMPLES ON CACHE BOOL "")
SET(PARAVIEW_ENABLE_FFMPEG ON CACHE BOOL "")
SET(PARAVIEW_ENABLE_PYTHON ON CACHE BOOL "")
SET(PARAVIEW_USE_MPI ON CACHE BOOL "")
SET(PARAVIEW_BUILD_PLUGIN_StreamLinesRepresentation OFF CACHE BOOL "")
SET(VTK_OPENGL_HAS_EGL ON CACHE BOOL "")
#SET(VTK_USE_SYSTEM_GLEW ON CACHE BOOL "")
SET(CMAKE_BUILD_TYPE "Release" CACHE STRING "")

find_program(CMAKE_C_COMPILER "gcc")
find_program(CMAKE_CXX_COMPILER "g++")
find_program(CMAKE_Fortran_COMPILER "gfortran")
find_program(MPI_C_COMPILER "mpicc")
find_program(MPI_CXX_COMPILER "mpicxx")
find_program(MPI_Fortran_COMPILER "mpifort")
find_program(PYTHON_EXECUTABLE "python3")

find_program(QT_QMAKE_EXECUTABLE "qmake-qt5")
find_program(QT_HELP_GENERATOR "qhelpgenerator-qt5")
find_program(QT_XMLPATTERNS_EXECUTABLE "xmlpatterns-qt5")

I thought it would be better to post here rather than directly to OpenSUSE. If this is not ParaView or VTK’s problem, please let me know, and I’ll take it up with them

cmake.log (915.8 KB)

Hmm, that’s strange. I don’t think we’ve encountered that internal compiler error (ICE) with gcc before. We are regularly building with gcc (GCC) 8.1.1 20180712 (Red Hat 8.1.1-5). Googling it finds some other projects encountering the same ICE, so I don’t suspect a problem with VTK.

Oops, I should have googled more broadly than just ParaView.

Alrighty, seems like a regression in gcc then. I’ll take it up with them.

Thanks again

1 Like