Bug 61284 - gcc 2.96 can't compile qt3 rpm
Summary: gcc 2.96 can't compile qt3 rpm
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: qt3
Version: 1.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: wdovlrrw
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-03-15 22:59 UTC by Jerry Quinn
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-03-15 22:59:25 UTC
Embargoed:


Attachments (Terms of Use)

Description Jerry Quinn 2002-03-15 22:59:20 UTC
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):

qt3-3.0.2-1.src.rpm

How Reproducible:

rpmbuild --rebuild qt3-3.0.2-1.src.rpm on a RH7.2 system

Steps to Reproduce:
1. 
2. 
3. 

Actual Results:


Expected Results:


Additional Information:

Comment 1 Bernhard Rosenkraenzer 2002-03-18 13:39:08 UTC
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 
optimizations. 
 
The current qt package checks the compiler version and then applies the patch if gcc is 
>= 3.0.4 



Note You need to log in before you can comment on or make changes to this bug.