g++ -c -pipe -fno-exceptions -fPIC -Wall -W -O2 -mcpu=i686 -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.3.4-r2/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I../shared -I../uilib -I../../../include -I.moc/release-shared-mt/ -o ./formwindow.o formwindow.cpp g++: Internal error: Terminated (program cc1plus) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make[3]: *** [formwindow.o] Error 1 make[3]: *** Waiting for unfinished jobs.... {standard input}: Assembler messages: {standard input}:3076: Warning: end of file not at end of a line; newline inserted {standard input}:3783: Error: bad register name `%' g++: Internal error: Terminated (program cc1plus) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make[3]: *** [command.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/qt-3.3.4-r2/work/qt-x11-free-3.3.4/tools/designer/designer' make[2]: *** [sub-designer] Error 2 make[2]: Leaving directory `/var/tmp/portage/qt-3.3.4-r2/work/qt-x11-free-3.3.4/tools/designer' make[1]: *** [sub-designer] Error 2 make[1]: Leaving directory `/var/tmp/portage/qt-3.3.4-r2/work/qt-x11-free-3.3.4/tools' make: *** [sub-tools] Error 2 !!! ERROR: x11-libs/qt-3.3.4-r2 failed. !!! Function src_compile, Line 141, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3.
I smell hardware issues.
he's right - you've got some local problem like you're running out of ram, some of it is bad, or your cpu is getting too hot.
I have now seen many people who have had the same problem. See bug 86438 - 2 more people have had exactly the same error, on the same line, with different architectures. Are you sure then that it is a hardware error?
*** Bug 86438 has been marked as a duplicate of this bug. ***
All these errors have tiny differences between them, and this points towards local issues. First, try to see if you get the exact same error every time you recompile qt. If you get the same error, try to see if you go out of RAM during compilation (for instance you can remove "-pipe" from CFLAGS to use less RAM). If you get always the same error and RAM is not an issue, then I think this bug can be reopened and analyzed more in deep.
I have tested the ram and the temps of the system and everything is fine, plus when I restarted the install as a stage 1 everything was fine. There might have been some small error in my configuration in the original stage 2 installation, but everything is fine with the Stage 1. Thanks for your help, and hopefully the problem can be found if others have it.
*** Bug 103764 has been marked as a duplicate of this bug. ***