GCC segfaulting while trying to compile latest Qt4 code

Ashish SHUKLA wahjava.ml at gmail.com
Wed Mar 4 08:38:12 PST 2009


Hi everone,

While trying to update my 'qt4-gui' port, gcc segfaults during
compilation. I'm running FreeBSD 7.1-STABLE (amd64 architecture) updated
on 3rd March, 2009.

#v+
c++ -c -pipe -msse -msse2 -msse3 -mmmx -march=nocona -march=nocona -g -fno-exceptions -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -pipe -msse -msse2 -msse3 -mmmx -march=nocona -march=nocona -g -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_RASTER_IMAGEENGINE -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I../../include/QtCore -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -I/usr/local/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I/usr/local/include -I.uic/release-shared -I/usr/local/include -o .obj/release-shared/qpolygon.o painting/qpolygon.cpp
painting/qpolygon.cpp: In member function 'void QPolygon::setPoints(int, int, int, ...)':
painting/qpolygon.cpp:311: internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt4-gui/work/qt-x11-opensource-src-4.4.3/src/gui.
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt4-gui.
*** Error code 1

Stop in /usr/ports/x11-toolkits/qt4-gui.
#v-

The complete build log, qpolygon.cpp and qpolygon.i (pre-processed
output) is available in crash.tar.bz2[1], which I've uploaded to web. I
tried to debug using gdb but it seems the segfault is handled internally
by GCC.

So, should I file a PR for this or should I report this to GCC bugtracker.

References:
[1]  http://wahjava.googlepages.com/crash.tar.bz2

Thanks in advance.
-- 
Ashish SHUKLA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090304/ac497ea3/attachment.pgp


More information about the freebsd-stable mailing list