Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34269 - QT 3.2.2r1 fails compile with g++ internal error
Summary: QT 3.2.2r1 fails compile with g++ internal error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-24 09:23 UTC by Gualter Barbas Baptista
Modified: 2004-01-30 01:09 UTC (History)
1 user (show)

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 Gualter Barbas Baptista 2003-11-24 09:23:21 UTC
When trying to emerge QT, compilation hangs on qcolor_x11.cpp and then issues an 
g++ internal error and aborts. 

Reproducible: Always
Steps to Reproduce:
1. emerge qt 
2. 
3. 
Actual Results:  
g++ -c -pipe -fno-exceptions -Wall -W -O2 -D_REENTRANT -fPIC -DQT_SHARED 
-DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT 
-DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA 
-DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP 
-DQT_NO_STYLE_COMPACT 
-I/tmp/portage/qt-3.2.2-r1/work/qt-x11-free-3.2.2/mkspecs/linux-g++ -I. 
-I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/X11R6/include 
-I/usr/X11R6/include -I.moc/release-shared-mt/ -o 
.obj/release-shared-mt/qcolor_x11.o kernel/qcolor_x11.cpp 
 
g++: Internal error: Terminated (program cc1plus) 
Please submit a full bug report. 
See <URL:http://bugs.gentoo.org/> for instructions. 
make[1]: *** [.obj/release-shared-mt/qclipboard_x11.o] Error 1 
make[1]: *** Waiting for unfinished jobs.... 
{standard input}: Assembler messages: 
{standard input}:1696: Warning: end of file not at end of a line; newline inserted 
make[1]: Leaving directory `/tmp/portage/qt-3.2.2-r1/work/qt-x11-free-3.2.2/src' 
make: *** [sub-src] Error 2 
 
!!! ERROR: x11-libs/qt-3.2.2-r1 failed. 
!!! Function src_compile, Line 133, Exitcode 2 
!!! (no error message)
Comment 1 Dominik Stadler (RETIRED) gentoo-dev 2004-01-30 00:29:32 UTC
Which version of gcc is this? Have you tried with the latest versions?
Comment 2 Gualter Barbas Baptista 2004-01-30 01:09:19 UTC
I forgot to report that I solved the problem later. The machine was running with only 96 mb, no swap memory. After activiting a swap partition, everything went fine.