Red Hat Bugzilla – Bug 61284
gcc 2.96 can't compile qt3 rpm
Last modified: 2008-05-01 11:38:01 EDT
Description of Problem:
I'm trying to use the rawhide qt3 rpm to build qt3 for RH7.2 (can't find it
anywhere else). The main bug is in gcc (I'll file a separate bug there), but
the qt3 config could be modified to avoid this.
gcc (2.96-98 and 2.96-106) consumes all memory trying to compile
qmake/generators/makefile.cpp during configure. Basically the gcc optimizer
blows up. The default qt build doesn't optimize when building qmake and has
no trouble completing.
Version-Release number of selected component (if applicable):
rpmbuild --rebuild qt3-3.0.2-1.src.rpm on a RH7.2 system
Steps to Reproduce:
The qt3 package is obsolete and shouldn't be used.
It's successor is the qt package, which works with 2.96.
The reason for patching in -O2 is gcc 3.1: it miscompiles qmake if it's built without
The current qt package checks the compiler version and then applies the patch if gcc is