Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18920 - QT ebulild fails in designer compile
Summary: QT ebulild fails in designer compile
Status: RESOLVED DUPLICATE of bug 20600
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo KDE team
Depends on:
Reported: 2003-04-07 15:27 UTC by John Anderson
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
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
-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:> for instructions.
make[3]: *** [command.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
make[2]: *** [sub-designer] Error 2
make[2]: Leaving directory
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
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"
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"
CFLAGS="-march=pentium -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
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 ***