Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276413 - x11-libs/qt-core-4.5.1 fails to compile with gcc 4.3.3-r2: internal compiler error
Summary: x11-libs/qt-core-4.5.1 fails to compile with gcc 4.3.3-r2: internal compiler ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-04 01:19 UTC by John Klehm
Modified: 2009-07-08 14:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Klehm 2009-07-04 01:19:46 UTC
x11-libs/qt-core-4.5.1 fails to compile with gcc 4.3.3-r2: internal compiler error: Segmentation fault


Reproducible: Always

Steps to Reproduce:
1. emerge qt-core

Actual Results:  
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 6) x11-libs/qt-core-4.5.1
 * qt-x11-opensource-src-4.5.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                [ ok ]
 * checking ebuild checksums ;-) ...                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                [ ok ]
>>> Unpacking source...
tar xjpf /var/tmp/portage/x11-libs/qt-core-4.5.1/distdir/qt-x11-opensource-src-4.5.1.tar.bz2 qt-x11-opensource-src-4.5.1/configure qt-x11-opensource-src-4.5.1/LICENSE.GPL3 qt-x11-opensource-src-4.5.1/LICENSE.LGPL qt-x11-opensource-src-4.5.1/projects.pro qt-x11-opensource-src-4.5.1/src/qbase.pri qt-x11-opensource-src-4.5.1/src/qt_targets.pri qt-x11-opensource-src-4.5.1/src/qt_install.pri qt-x11-opensource-src-4.5.1/bin qt-x11-opensource-src-4.5.1/config.tests qt-x11-opensource-src-4.5.1/mkspecs qt-x11-opensource-src-4.5.1/qmake qt-x11-opensource-src-4.5.1/src/tools/bootstrap qt-x11-opensource-src-4.5.1/src/tools/moc/ qt-x11-opensource-src-4.5.1/src/tools/rcc/ qt-x11-opensource-src-4.5.1/src/tools/uic/ qt-x11-opensource-src-4.5.1/src/corelib/ qt-x11-opensource-src-4.5.1/src/xml/ qt-x11-opensource-src-4.5.1/src/network/ qt-x11-opensource-src-4.5.1/src/plugins/codecs/ qt-x11-opensource-src-4.5.1/include/Qt/ qt-x11-opensource-src-4.5.1/include/QtCore/ qt-x11-opensource-src-4.5.1/include/QtNetwork/ qt-x11-opensource-src-4.5.1/include/QtScript/ qt-x11-opensource-src-4.5.1/include/QtXml/ qt-x11-opensource-src-4.5.1/src/plugins/plugins.pro qt-x11-opensource-src-4.5.1/src/plugins/qpluginbase.pri qt-x11-opensource-src-4.5.1/src/src.pro qt-x11-opensource-src-4.5.1/src/3rdparty/des/ qt-x11-opensource-src-4.5.1/src/3rdparty/harfbuzz/ qt-x11-opensource-src-4.5.1/src/3rdparty/md4/ qt-x11-opensource-src-4.5.1/src/3rdparty/md5/ qt-x11-opensource-src-4.5.1/src/3rdparty/sha1/ qt-x11-opensource-src-4.5.1/src/script/ qt-x11-opensource-src-4.5.1/translations/
>>> Source unpacked in /var/tmp/portage/x11-libs/qt-core-4.5.1/work
>>> Preparing source in /var/tmp/portage/x11-libs/qt-core-4.5.1/work/qt-x11-opensource-src-4.5.1 ...
 * Applying qt-core-4.5-boilerplate.diff ...                                                                           [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/qt-core-4.5.1/work/qt-x11-opensource-src-4.5.1 ...
./configure -no-pch -release -no-separate-debug-info -arch i386 -platform linux-g++ -stl -verbose -largefile -confirm-license -no-rpath -prefix /usr -bindir /usr/bin -libdir /usr/lib/qt4 -datadir /usr/share/qt4 -docdir /usr/share/doc/qt-4.5.1 -headerdir /usr/include/qt4 -plugindir /usr/lib/qt4/plugins -sysconfdir /etc/qt4 -translationdir /usr/share/qt4/translations -examplesdir /usr/share/qt4/examples -demosdir /usr/share/qt4/demos -silent -fast -no-exceptions -reduce-relocations -nomake examples -nomake demos -opensource -glib -iconv -openssl -qt3support -no-xkb -no-fontconfig -no-xrender -no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl -no-nas-sound -no-dbus -no-cups -no-gif -no-libpng -no-libmng -no-libjpeg -system-zlib -no-webkit -no-phonon -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility -no-fontconfig -no-opengl -no-svg -no-gtkstyle -nomake docs
Determining system architecture... (Linux:2.6.27-gentoo-r10:i686)
    32-bit Intel 80x86 (i386)
    'i386' is supported
System architecture: 'i386'
Symbol visibility control enabled.
Symbolic function binding enabled.

This is the Qt/X11 Open Source Edition.

You are licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.
You are also licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.

You have already accepted the terms of the  license.

Creating qmake. Please wait...
main.cpp: In function 'int runQMake(int, char**)':
main.cpp:103: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result
/var/tmp/portage/x11-libs/qt-core-4.5.1/work/qt-x11-opensource-src-4.5.1/src/script/qscriptengine_p.cpp: In member function 'void QScriptEnginePrivate::agentDeleted(QScriptEngineAgent*)':
/var/tmp/portage/x11-libs/qt-core-4.5.1/work/qt-x11-opensource-src-4.5.1/src/script/qscriptengine_p.cpp:2416: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.
gmake: *** [qscriptengine_p.o] Error 1
 * 
 * ERROR: x11-libs/qt-core-4.5.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 3295:  Called qt4-build_src_configure
 *             environment, line 3009:  Called die
 * The specific snippet of code:
 *       ./configure ${myconf} || die "./configure failed"
 *  The die message:
 *   ./configure failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/qt-core-4.5.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-core-4.5.1/temp/environment'.
 * 

>>> Failed to emerge x11-libs/qt-core-4.5.1, Log file:

>>>  '/var/tmp/portage/x11-libs/qt-core-4.5.1/temp/build.log'


Expected Results:  
Successful install

simplicity ~ # emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.27-gentoo-r10 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r10-i686-AMD_Athlon-tm-with-glibc2.0
Timestamp of tree: Fri, 03 Jul 2009 16:45:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://lug.mtu.edu/gentoo/"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/john/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi alsa amr apache apache2 applet autoipd automount avahi bash-completion berkdb bonjour branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dga dirac directfb djvu dri dvb dvd dvdr dvi encode exif expat fbcon ffmpeg flac fontconfig foomaticdb fortran freetype gadu gdbm ggi gif gimp gnome gnome-keyring gnutls gpm gsm gstreamer gtk hal hardcoded-tables httpd iconv ipv6 isdnlog java jbig jpeg jpeg2k kerberos krb4 laptop lcms libburn libcaca libnotify lzma mad mdnsresponder-compat midi mmx mmxext mng mozdevelop mp3 mpeg mudflap mysql mysqli nautilus ncurses network networkmanager nls nptl nptlonly nsplugin ntfs ogg openexr opengl openmp pam pcre pdf perl php png policykit postgres postgresql ppds pppd python raw readline reflection remote samba schroedinger sdl session silc sndfile spell spl sse ssl startup-notification svg svga sysfs syslog t1lib tcpd theora threads tiff totem truetype udf unicode v4l v4l2 vhook vim-syntax vim-with-x vorbis wmf x264 x86 xattr xforms xft xinerama xml xorg xprint xslt xulrunner xv xvid zephyr zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 John Klehm 2009-07-08 14:09:58 UTC
I tried re-emerging gcc which failed with a similiar "internal compiler error".  After giving up for the day I came back to this issue a few days later and again tried to re-emerge gcc which then succeeded.

I have had no issues building this library or gcc since then but I am at a loss as to why I was getting gcc errors in the first place after using this version of gcc for some time.

I hadn't updated my system for a period of about 3 months but I can't say if that played a role in this or not.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2009-07-08 14:31:02 UTC
Internal errors are usually indications of hardware problems. Check your RAM sticks and make sure your system is in sane condition

Closing this bug as invalid. Re open if you still have problems with Qt

Thanks