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]

Re: tree-ssa branch broken


Diego Novillo <dnovillo@redhat.com> writes:

> On Thu, 27 Jun 2002, Andreas Jaeger wrote:
>
>> Note that I configured with
>> --enable-checking=misc,tree,rtl,gc,rtlflag
>> 
> Ah, ok.  The SPEC95 tester doesn't include 'rtl'.  I'll add it
> now and bootstrap again.

It still fails for me, here're some more details:

$ ./xgcc -B./ -B/opt/gcc/tree-ssa-20020619-branch
/i686-pc-linux-gnu/bin/ -isystem /opt/gcc/tree-ssa-20020619-branch/i686-pc-linux-gnu/include -isystem /opt/gcc/tree-ssa-20020619-branch/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I. -I/cvs/gcc-tree-ssa-20020619-branch/gcc -I/cvs/gcc-tree-ssa-20020619-branch/gcc/. -I/cvs/gcc-tree-ssa-20020619-branch/gcc/config -I/cvs/gcc-tree-ssa-20020619-branch/gcc/../include  -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer    -c /cvs/gcc-tree-ssa-20020619-branch/gcc/crtstuff.c -DCRT_BEGIN   -o crtbegin.o -v -save-temps
Reading specs from ./specs
Configured with: /cvs/gcc-tree-ssa-20020619-branch/configure --prefix=/opt/gcc/tree-ssa-20020619-branch --enable-shared --enable-threads=posix --enable-clocale=gnu --disable-nls --enable-languages=c,c++,f77,java,objc --enable-checking=misc,tree,rtl,gc,rtlflag --with-system-zlib
Thread model: posix
gcc version 3.2 (tree-ssa-20020619-branch)
 ./cc1 -E -quiet -v -I. -I. -I/cvs/gcc-tree-ssa-20020619-branch/gcc -I/cvs/gcc-tree-ssa-20020619-branch/gcc/. -I/cvs/gcc-tree-ssa-20020619-branch/gcc/config -I/cvs/gcc-tree-ssa-20020619-branch/gcc/../include -iprefix ./../lib/gcc-lib/i686-pc-linux-gnu/3.2/ -isystem ./include -isystem /opt/gcc/tree-ssa-20020619-branch/i686-pc-linux-gnu/bin/include -D__GNUC__=3 -D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=0 -DIN_GCC -DCRT_BEGIN -isystem /opt/gcc/tree-ssa-20020619-branch/i686-pc-linux-gnu/include -isystem /opt/gcc/tree-ssa-20020619-branch/i686-pc-linux-gnu/sys-include -isystem ./include /cvs/gcc-tree-ssa-20020619-branch/gcc/crtstuff.c -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer -O2 crtstuff.i
ignoring nonexistent directory "/opt/gcc/tree-ssa-20020619-branch/i686-pc-linux-gnu/bin/include"
ignoring nonexistent directory "/opt/gcc/tree-ssa-20020619-branch/i686-pc-linux-gnu/include"
ignoring nonexistent directory "/opt/gcc/tree-ssa-20020619-branch/i686-pc-linux-gnu/sys-include"
ignoring nonexistent directory "../lib/gcc-lib/i686-pc-linux-gnu/3.2/include"
ignoring nonexistent directory "../lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/include"
ignoring nonexistent directory "/opt/gcc/tree-ssa-20020619-branch/include"
ignoring nonexistent directory "/opt/gcc/tree-ssa-20020619-branch/lib/gcc-lib/i686-pc-linux-gnu/3.2/include"
ignoring nonexistent directory "/opt/gcc/tree-ssa-20020619-branch/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../../i686-pc-linux-gnu/include"
ignoring duplicate directory "."
ignoring duplicate directory "/cvs/gcc-tree-ssa-20020619-branch/gcc"
ignoring duplicate directory "include"
#include "..." search starts here:
#include <...> search starts here:
 .
 /cvs/gcc-tree-ssa-20020619-branch/gcc
 /cvs/gcc-tree-ssa-20020619-branch/gcc/config
 /cvs/gcc-tree-ssa-20020619-branch/include
 include
 /usr/local/include
 /usr/include
End of search list.
 ./cc1 -fpreprocessed crtstuff.i -quiet -dumpbase crtstuff.c -g0 -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -version -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer -o crtstuff.s
GNU C version 3.2 (tree-ssa-20020619-branch) (i686-pc-linux-gnu)
        compiled by GNU C version 3.2 (tree-ssa-20020619-branch).
/cvs/gcc-tree-ssa-20020619-branch/gcc/crtstuff.c: In function `__do_global_dtors_aux':
/cvs/gcc-tree-ssa-20020619-branch/gcc/crtstuff.c:282: internal compiler error: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

arthur:/builds/gcc/misc/gcc:[0]$ gdb ./cc1
GNU gdb 5.2
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-suse-linux"...
Breakpoint 1 at 0x811e776: file /cvs/gcc-tree-ssa-20020619-branch/gcc/diagnostic.c, line 1364.
Breakpoint 2 at 0x80492e8
Breakpoint 3 at 0x8049108
(gdb) r  -fpreprocessed crtstuff.i -quiet -dumpbase crtstuff.c -g0 -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -version -finhibit-size-directive -fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss -fno-omit-frame-pointer -o crtstuff.s
Breakpoint 2 at 0x4005a1dd
Breakpoint 3 at 0x40058e0f
GNU C version 3.2 (tree-ssa-20020619-branch) (i686-pc-linux-gnu)
        compiled by GNU C version 3.2 (tree-ssa-20020619-branch).

Program received signal SIGSEGV, Segmentation fault.
0x4029b041 in ?? ()
(gdb) bt
#0  0x4029b041 in ?? ()
#1  0x0000003b in ?? ()
Cannot access memory at address 0x8040047


Can you reproduce it now?  Anything else I should send?

Btw. binutils is:
$ ld --version
GNU ld version 2.12.90.0.4 20020408

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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