This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/20260] New: gcc-3.4.3 crashes with a segmentation fault when compiling gtk+-2.6.3 on Linux.


I just downloaded the GTK+ 2.6.3 source from the http://www.gtk.org/ website and
it crashes shortly after the build starts with a segmentation fault.

Here is the compile command (with -v and -save-temps options, per bug reporting
guidelines):

 gcc -v -save-temps -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../..
-DG_DISABLE_CAST_CHECKS -pthread -I/opt/gnome/include/glib-2.0
-I/opt/gnome/lib/glib-2.0/include -I/usr/include/libpng12 -DG_DISABLE_DEPRECATED
-DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall -MT pixops.lo -MD -MP -MF
.deps/pixops.Tpo -c pixops.c  -fPIC -DPIC -o .libs/pixops.o 2> gccbug.out

Here is the compile output:

$ cat gccbug.out
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: ../configure --prefix=/usr --enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3
 /usr/libexec/gcc/i686-pc-linux-gnu/3.4.3/cc1 -E -quiet -v -I. -I. -I../..
-I../.. -I../.. -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
-I/usr/include/libpng12 -MD .libs/pixops.d -MF .deps/pixops.Tpo -MP -MT
pixops.lo -MQ .libs/pixops.o -D_REENTRANT -DHAVE_CONFIG_H
-DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED
-DPIC pixops.c -mtune=pentiumpro -Wall -fPIC -fworking-directory -O2 -o pixops.i
ignoring nonexistent directory
"/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/include"
ignoring duplicate directory "."
ignoring duplicate directory "../.."
ignoring duplicate directory "../.."
#include "..." search starts here:
#include <...> search starts here:
 .
 ../..
 /opt/gnome/include/glib-2.0
 /opt/gnome/lib/glib-2.0/include
 /usr/include/libpng12
 /usr/local/include
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include
 /usr/include
End of search list.
 /usr/libexec/gcc/i686-pc-linux-gnu/3.4.3/cc1 -fpreprocessed pixops.i -quiet
-dumpbase pixops.c -mtune=pentiumpro -auxbase-strip .libs/pixops.o -g -O2 -Wall
-version -fPIC -o pixops.s
GNU C version 3.4.3 (i686-pc-linux-gnu)
        compiled by GNU C version 3.4.3.
GGC heuristics: --param ggc-min-expand=47 --param ggc-min-heapsize=31918
pixops.c: In function `composite_line_22_4a4_mmx_stub':
pixops.c:560: 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.

I will attach the generated ".i" file shortly.

Let me know if you need any other information.  I'm running on a Slackware
8-base Linux system with a 2.6.10 kernel, glibc-2.3.4, and binutils 2.15.

Peace...

Tom

-- 
           Summary: gcc-3.4.3 crashes with a segmentation fault when
                    compiling gtk+-2.6.3 on Linux.
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tomdkat at comcast dot net
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20260


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]