Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Mar 2009 21:44:14 +0530
From:      wahjava.ml@gmail.com (Ashish SHUKLA)
To:        freebsd-stable@freebsd.org
Subject:   GCC segfaulting while trying to compile latest Qt4 code
Message-ID:  <87wsb5clk9.fsf@chateau.d.lf>

next in thread | raw e-mail | index | archive | help
--=-=-=
Content-Transfer-Encoding: quoted-printable

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=3Dnocona -march=3Dnocona -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=3Dnocona -march=3Dn=
ocona -g -Wall -W -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESP=
ACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_C=
OMPAT -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_WINDOWSVIST=
A -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBI=
LE -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/harfbuz=
z/src -Idialogs -I.moc/release-shared -I/usr/local/include -I.uic/release-s=
hared -I/usr/local/include -o .obj/release-shared/qpolygon.o painting/qpoly=
gon.cpp
painting/qpolygon.cpp: In member function 'void QPolygon::setPoints(int, in=
t, 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/sr=
c/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.
=2D-=20
Ashish SHUKLA

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)

iEYEARECAAYFAkmuqNsACgkQHy+EEHYuXnRjmQCgkTvilQSOcorNGc/c2PG9FS6B
QlIAn1VQtQcVl5uuO77/ROQWp1qhrP6/
=hZtV
-----END PGP SIGNATURE-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87wsb5clk9.fsf>