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)
Which version of gcc is this? Have you tried with the latest versions?
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.