After some recent changes to our code we observed that g++ fails with ICE when compiled with -fopenmp. The error occurs only with the 4.3.4 compiler, 4.4.1 works. g++-4.3 -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.4-5ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.3.4 (Ubuntu 4.3.4-5ubuntu1) #### Command Line #### /usr/bin/g++-4.3 -DOpenMS_EXPORTS -DQT_DLL -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_TEST_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_DLL -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_TEST_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG -fopenmp -O3 -DNDEBUG -fPIC -I/home/aiche/dev/openms-src/include -I/home/aiche/dev/openms-bin-4.3/include -I/home/aiche/dev/contrib-bin-4.3/include -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore -Wall -Wextra -Wno-non-virtual-dtor -Wno-long-long --pedantic -fPIC -o CMakeFiles/OpenMS.dir/source/TRANSFORMATIONS/FEATUREFINDER/FeatureFinder.C.o -c /home/aiche/dev/openms-src/source/TRANSFORMATIONS/FEATUREFINDER/FeatureFinder.C #### Error Message #### /home/aiche/dev/openms-src/include/OpenMS/TRANSFORMATIONS/FEATUREFINDER/BaseModel.h: In member function ‘void OpenMS::BaseModel<D>::setCutOff(OpenMS::DoubleReal) [with unsigned int D = 2u]’: /home/aiche/dev/openms-src/include/OpenMS/TRANSFORMATIONS/FEATUREFINDER/BaseModel.h:128: internal compiler error: in copy_body_r, at tree-inline.c:748 I attach the preprocessed files.
The preprocessed file is to big for bugzille but it can be downloaded here http://page.mi.fu-berlin.de/aiche/FeatureFinder.ii
Just forgot to add the command line to reproduce the error c++ -DOpenMS_EXPORTS -DQT_DLL -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_TEST_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_DLL -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_TEST_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG -fopenmp -O3 -DNDEBUG -fPIC -Wall -Wextra -Wno-non-virtual-dtor -Wno-long-long --pedantic -fPIC -o FeatureFinder.C.o -c FeatureFinder.ii Any help would be appreciated since this problem is a blocker for our upcoming release Thanks Stephan
I just did some more tests and stumbled on sth interesting .. when compiling the same source on a Debian GNU/Linux 5.0.5 (lenny) I get the same error message "internal compiler error: in copy_body_r, at tree-inline.c:748" but from a different part of the code /home/takifugu/aiche/RAID/open-ms-dev/release1.7/include/OpenMS/TRANSFORMATIONS/FEATUREFINDER/ProductModel.h: In member function 'virtual OpenMS::ProductModel<2u>& OpenMS::ProductModel<2u>::operator=(const OpenMS::ProductModel<2u>&)': /home/takifugu/aiche/RAID/open-ms-dev/release1.7/include/OpenMS/TRANSFORMATIONS/FEATUREFINDER/ProductModel.h:127: internal compiler error: in copy_body_r, at tree-inline.c:748 maybe this helps you guys compiler on Debian Lenny is g++ -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-cld --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.3.2 (Debian 4.3.2-1.1)
4.3.x is not maintained anymore. Also, no *.ii