Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 3 product line. The current stable release is 3.9. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 128496

Summary: While compiling (GNU Make version 3.79.1) I had seg fault!!
Product: Red Hat Enterprise Linux 3 Reporter: shafi jourabchi <shafi>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-04 07:43:45 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:

Description shafi jourabchi 2004-07-23 16:43:38 UTC
Description of problem:
../include/qvaluelist.h:322: Internal error: Segmentation fault

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


How reproducible:
./configure -> gmake 

Steps to Reproduce: 
1. download  qt-x11-free-3.3.2
2. ./configure
3.  gmake
  
Actual results:
g++ -c -pipe -Wall -W -O2 -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_NO_CUPS -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 
-DQT_NO_XCURSOR -DQT_NO_XRANDR -DQT_NO_XFTFREETYPE -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA 
-DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC 
-I/home/shafi/Downloads/qt-x11-free-3.3.2/mkspecs/linux-g++ -I. -I3rdparty/libpng -I3rdparty/zlib -I../include 
-I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared/ -o .obj/release-shared/qeffects.o widgets/qeffects.cpp
In file included from ../include/qmap.h:46,
                 from ../include/qmime.h:43,
                 from ../include/qevent.h:45,
                 from ../include/qobject.h:45,
                 from ../include/qwidget.h:43,
                 from ../include/qdesktopwidget.h:40,
                 from ../include/qapplication.h:42,
                 from widgets/qeffects.cpp:38:
../include/qvaluelist.h:322: Internal error: Segmentation fault.
Please submit a full bug report.

Expected results:
 "Now 'make instal' "

Additional info:

Comment 1 Than Ngo 2004-07-27 09:31:34 UTC
it seems a compiler bug here.

Comment 2 Jakub Jelinek 2004-07-29 17:08:20 UTC
Is that reproduceable always on the same file with the same error?
What gcc version (rpm -q gcc) are you using?
RHEL3 should normally either print that the bug is reproduceable
and create a testcase from it (which should be attached here), or
say that the bug is not reproduceable.

Comment 3 shafi jourabchi 2004-07-30 15:31:40 UTC
gcc version gcc-3.2.2-5
make version make-3.79.1-17
kernel version 2.4.20-6

reproduction process:
1) download file qt-x11-free-3.3.2.tar.gz from 
    ftp://ftp.silug.org/mirrors/ftp.trolltech.com/qt/source/qt-x11-free-3.3.2.tar.gz
2) tar zxvf qt-x11-free-3.3.2.tar.gz
3) cd qt-x11-free
4) ./configure
5) make ... error see full report



Comment 4 Jakub Jelinek 2004-07-30 15:59:22 UTC
RHEL3 doesn't ship gcc 3.2.2-5 (RHL9 did).
Is this really on RHEL3 (RHL9 is not supported anymore).

Comment 5 shafi jourabchi 2004-07-30 16:16:32 UTC
The problem seems to be with the file. After downloading the qt-x11-free-3.3.2.tar.bz2 and setting up the env vars, everything 
went smothly. Just to be sure, I downloaded the qt-x11-free-3.3.2.tar.gz from several servers, all showing the same segmentation 
fault. 
I hope that helps. 



Comment 6 Jakub Jelinek 2004-07-30 16:25:09 UTC
It does not help, you have not answered the question I have asked.
If you are on RHL9, there will be no further changes to its gcc
(nor any other packages), so the bugreport makes no sense.
If this is on RHEL3 (or FC1/FC2) and thus you are using a later
gcc than 3.2.2-5 and you manage to reproduce it, we need a preprocessed
testcase which can reproduce it (RHEL3 and later gcc should create
it for you, or you can create it yourself with g++ -save-temps (and the remaining
compiler options it used for the file in question).

Comment 7 shafi jourabchi 2004-07-30 17:45:59 UTC
My apologize for not being clear. The actual distribution is RHL7.3 . However, the Kernal and all the libaries, tools, 
compilers, packages and such has been updated with the latest released version. 

Upon closer look at the process and verifying my download file and using the .bz2 compresion, it did run exactly as was 
described in the INSTALL and README files. 

Again, my apology for not being clear. With the next bug report, i'll include more detaile.




Comment 8 Jakub Jelinek 2004-10-04 07:43:45 UTC
That means you rolled your distribution on your own.
There is no way we can reproduce this.