gcc4 Segmentation fault

Andrew Pinski pinskia@physics.uc.edu
Sun Nov 7 03:21:00 GMT 2004


On Nov 6, 2004, at 10:13 PM, John Ellson wrote:

> This file compiled OK with gcc4 from gcc4-4.0.0-0.5.i386.rpm
>
> John Ellson
> $ gcc4 --version
> gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-8)
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There 
> is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
> PURPOSE.
>
> $ uname -a
> Linux ontap 2.6.9-1.667.ellsonsmp #1 SMP Wed Nov 3 10:28:43 EST 2004 
> i686 i686 i386 GNU/Linux
>
> $ cat /etc/redhat-release
> Fedora Core release Rawhide (Rawhide)
>
> $ /usr/bin/gcc4 -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. 
> -I../../dotneato/gvrender -I../../pathplan -I../../graph -I../../cdt 
> -I../../gd -DXTHREADS -I/home/ellson/FIX/Linux.i686/include 
> -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 
> -I/home/ellson/FIX/Linux.i686/include -g -O2 -Wall -MT shapes.lo -MD 
> -MP -MF .deps/shapes.Tpo -c shapes.c  -fPIC -DPIC -o .libs/shapes.o
> shapes.c: In function 'poly_init':
> shapes.c:431: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
> Preprocessed source stored into /tmp/cchh0kek.out file, please attach 
> this to your bugreport.
>

I cannot reproduce it with:
Reading specs from 
/home/gates/pinskia/linux/lib/gcc/i686-pc-linux-gnu/4.0.0/specs
Configured with: /home/gates/pinskia/src/gnu/gcc/src/configure 
--target=i686-pc-linux-gnu --host=i686-pc-linux-gnu 
--enable-__cxa_atexit --enable-languages=c++,objc,java 
--prefix=/home/gates/pinskia/linux --enable-threads=posix 
--enable-shared
Thread model: posix
gcc version 4.0.0 20041102 (experimental)

I think you should try a newer compiler first and then file a correct 
bug report.
Read http://gcc.gnu.org/bugs.html for the directions on filing a 
correct bug report.

Thanks,
Andrew Pinski



More information about the Gcc-bugs mailing list