Bug 57992

Summary: Floating Point Exception while building qt
Product: [Retired] Red Hat Raw Hide Reporter: Bernhard Rosenkraenzer <bero>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: alpha   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-01-07 16:29:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
bzip2'ed preprocessor output at -O1 none

Description Bernhard Rosenkraenzer 2002-01-04 16:29:49 UTC
Description of Problem:
While building qt-3.0.2-0.cvs20020104.1.src.rpm on alpha:

g++ -c -o msvc_dsp.o -O2 -I. -Igenerators -Igenerators/unix
-Igenerators/win32 -Igenerators/mac
-I/usr/src/redhat/BUILD/qt-x11-free-3.0.2-cvs20020104/include
-I/usr/src/redhat/BUILD/qt-x11-free-3.0.2-cvs20020104/include
-I/usr/src/redhat/BUILD/qt-x11-free-3.0.2-cvs20020104/src/tools
-DQT_NO_TEXTCODEC -DQT_NO_COMPONENT -DQT_NO_STL
-I/usr/src/redhat/BUILD/qt-x11-free-3.0.2-cvs20020104/mkspecs/linux-g++
generators/win32/msvc_dsp.cpp
generators/win32/msvc_dsp.cpp: In member function `bool
   DspMakefileGenerator::writeDspParts(QTextStream&)':
generators/win32/msvc_dsp.cpp:445: internal error: Floating point exception
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.


Version-Release number of selected component (if applicable):
3.1-0.14

How Reproducible:
100%

Steps to Reproduce:
1. ssh george
2. rpm --rebuild qt-3.0.2-0.cvs20020104.1.src.rpm

Additional Information:
Works with -O0, fails at any higher optimization level.

Comment 1 Bernhard Rosenkraenzer 2002-01-04 16:30:42 UTC
Created attachment 41793 [details]
bzip2'ed preprocessor output at -O1

Comment 3 Jakub Jelinek 2002-01-09 15:08:09 UTC
Should be fixed in gcc-3.1-0.17.