Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33658 - g++ fails to compile qt
Summary: g++ fails to compile qt
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-16 23:28 UTC by James l
Modified: 2004-02-01 11:34 UTC (History)
0 users

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 James l 2003-11-16 23:28:31 UTC
g++ (some how 3.3.2-r2, ~x86) spends a large (>10 mins) attempting to compile qt-3.2.2's file qfontengine_x11.cpp. 

Below is hand copied output:
...
g++: Internal error: Terminated (program cc1plus)
Please submit a full bug report
See <URL:http://bugs.gentoo.org/> for instructions
{standard input}: Assembler messages:
{standard input}:7036: Warning: end of file not at end of a line; newline inserted
{standard input}:8299: Error: expected comma after name 'ZN8QPainter12' in .size directive
make[1]: *** [.obj/release-shared-mt/qpainter_x11.o] Error 1
...

I have copied the /var/tmp/qt-3.2.20-r1/work directory in case information is needed.

CFLAGS="-march=pentium3 -Os -pipe"
CXXFLAGS are the same, but when building it was using -O2 and not -Os
cpu is a p3-500
gcc-3.3.2-r2
glibc-2.3.2-r8 (also ~x86)

downgrading gcc/glibc (unintentionally ~x86) hopefully that will fix it.
Comment 1 James l 2004-01-30 13:09:34 UTC
Reemerged gcc, and it works, so changing it to resolved as WORKSFORME
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-01 11:34:06 UTC
Might be OOM issue - try adding more ram/compiling outside X or add more swap
if you get it again.