Bug 431796

Summary: Segmentation Fault When Compiling Programs
Product: [Fedora] Fedora Reporter: Collin jackson <cjackson>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-07 08:38:34 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
Preprocessed Source attached as instructed none

Description Collin jackson 2008-02-06 23:49:34 UTC
Description of problem:
Segmentaion Fault while trying to compile using GCC

Version-Release number of selected component (if applicable):
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20070925 (Red Hat 4.1.2-27)

How reproducible:
Unknown (Says it is not reproducible)

Steps to reproduce:
Trying to compile cacti-spine-0.8.7a from source
1. download the cacti-spine-0.8.7a source from developer site
2. untar 
3. ./configure
4. make

  
Actual results:
ping.c: In function ‘get_checksum’:
ping.c:760: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccerRI4G.out file, please attach this to
your bugreport.
make: *** [ping.o] Error 1


Expected results:
Complete...

Additional info:
This happens at random poin
ts during compilation if i run again it will segment fault at a different point.

Comment 1 Collin jackson 2008-02-06 23:49:34 UTC
Created attachment 294173 [details]
Preprocessed Source attached as instructed

Comment 2 Rex Dieter 2008-02-07 03:17:23 UTC
reassigning to gcc owner.

Comment 3 Jakub Jelinek 2008-02-07 08:38:34 UTC
In this case you have buggy hardware - overheated CPU, memory issues, etc.
GCC bugs would be reproduceable.
The preprocessed source you've attached compiles just fine here with the same
compiler.