g++ -c -m64 -O2 -fgraphite-identity -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -fPIC -Wall -W -D_REENTRANT -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/src/ark/BUILD/PyQt-x11-gpl-4.7.3/qpy/QtGui -I/usr/include/python2.7 -I/usr/lib64/qt4/mkspecs/default -I/usr/lib64/qt4/include/QtGui -I/usr/lib64/qt4/include/QtCore -I/usr/lib64/qt4/include -I/usr/X11R6/include -o sipQtGuiQMatrix2x3.o sipQtGuiQMatrix2x3.cppsipQtGuiQMatrix2x3.cpp: In function PyObject* meth_QMatrix2x3_setToIdentity(PyObject*, PyObject*): sipQtGuiQMatrix2x3.cpp:158:18: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.
Reducing the optimization level to -O1 -fgraphite-identity still causes a segfault, but in a different place: g++ -c -m64 -O1 -fgraphite-identity -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -fPIC -Wall -W -D_REENTRANT -DNDEBUG -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I/usr/src/ark/BUILD/PyQt-x11-gpl-4.7.3/qpy/QtGui -I/usr/include/python2.7 -I/usr/lib64/qt4/mkspecs/default -I/usr/lib64/qt4/include/QtGui -I/usr/lib64/qt4/include/QtCore -I/usr/lib64/qt4/include -I/usr/X11R6/include -o sipQtGuiQMatrix2x3.o sipQtGuiQMatrix2x3.cpp In file included from /usr/src/ark/BUILD/PyQt-x11-gpl-4.7.3/sip/QtGui/qgenericmatrix.sip:812:0: /usr/lib64/qt4/include/QtGui/qgenericmatrix.h: In member function void QGenericMatrix<N, M, T>::setToIdentity() [with int N = 2, int M = 3, T = double]: /usr/lib64/qt4/include/QtGui/qgenericmatrix.h:168:27: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: ICE (Segmentation fault) while building PyQt with - fgraphite-identity Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bero at arklinux dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45306