Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 18920

Summary: QT ebulild fails in designer compile
Product: Gentoo Linux Reporter: John Anderson <johna>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description John Anderson 2003-04-07 15:27:09 UTC
Trying to build qt on a 1.4 system always fails as follows:

g++ -c -pipe -fno-exceptions -I/usr/include/mysql -fPIC -Wall -W -O2
-D_REENTRANT  -DDESIGNER -DQT_INTERNAL_XML -DQT_INTERNAL_WORKSPACE
-DQT_INTERNAL_ICONVIEW -DQT_INTERNAL_TABLE -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -DQT_SHARED
-I/var/tmp/portage/qt-3.1.2/work/qt-x11-free-3.1.2/mkspecs/linux-g++ -I.
-I/usr/include/freetype2 -I../shared -I../uilib -I../../../include
-I/usr/X11R6/include -I.moc/release-shared-mt/ -o ./mainwindow.o mainwindow.cpp
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [command.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/var/tmp/portage/qt-3.1.2/work/qt-x11-free-3.1.2/tools/designer/designer'
make[2]: *** [sub-designer] Error 2
make[2]: Leaving directory
`/var/tmp/portage/qt-3.1.2/work/qt-x11-free-3.1.2/tools/designer'
make[1]: *** [sub-designer] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.1.2/work/qt-x11-free-3.1.2/tools'
make: *** [sub-tools] Error 2

!!! ERROR: x11-libs/qt-3.1.2 failed.
!!! Function src_compile, Line 129, Exitcode 2
!!! (no error message)

I am using -march=pentium -O3 -pipe.  -march=pentium-mmx fails with a different
ASM-related error.  The error occurs both with and without distcc.  The distcc
peer is a Duron 1400 Gentoo 1.4RC3 box with 1024MB RAM.

The system is a Pentium 200/MMX with 128MB RAM and a 256MB swap.

Reproducible: Always
Steps to Reproduce:
1. emerge qt

Actual Results:  
The build progresses to the designer build, then fails.


Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-gentoo-r2 i586 Pentium MMX
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm arts avi crypt cups encode gif gpm gtk imlib jpeg kde
gnome libg++ libwww mikmod mmx motif mpeg ncurses nls oggvorbis pdflib png qt
quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline
java mysql X tcpd pam ssl perl python opengl"
COMPILER="gcc3"
CHOST="i586-pc-linux-gnu"
CFLAGS="-march=pentium -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j4"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache distcc"
Comment 1 Michele Balistreri (RETIRED) gentoo-dev 2003-04-14 11:29:38 UTC
this problems can be caused by hardware stress (overclock and all heat-related issue),  
i would also suggest you to use MAKEOPTS="-j2" or -j1 and try again emerging qt 
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2003-05-07 16:33:49 UTC

*** This bug has been marked as a duplicate of 20600 ***