public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/25930]  New: sigsegv with full --enable-checking
@ 2006-01-23 19:38 aj at gcc dot gnu dot org
  2006-01-23 19:54 ` [Bug bootstrap/25930] [4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: aj at gcc dot gnu dot org @ 2006-01-23 19:38 UTC (permalink / raw)
  To: gcc-bugs

To track down the failure on Linux/x86-64 that I have with using ulimit, I
build with full checking including gcac and get the following segmentation
fault during bootstrap:

/builds/gcc/misc/./gcc/xgcc -B/builds/gcc/misc/./gcc/
-B/opt/gcc/4.2-devel/x86_64-suse-linux-gnu/bin/
-B/opt/gcc/4.2-devel/x86_64-suse-linux-gnu/lib/ -isystem
/opt/gcc/4.2-devel/x86_64-suse-linux-gnu/include -isystem
/opt/gcc/4.2-devel/x86_64-suse-linux-gnu/sys-include -O2 -O2 -g -O2  -DIN_GCC  
 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -I. -I. -I/cvs/gcc-svn/trunk/gcc
-I/cvs/gcc-svn/trunk/gcc/. -I/cvs/gcc-svn/trunk/gcc/../include
-I/cvs/gcc-svn/trunk/gcc/../libcpp/include 
-I/cvs/gcc-svn/trunk/gcc/../libdecnumber -I../libdecnumber  -g0
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder  -fno-omit-frame-pointer
-fno-asynchronous-unwind-tables   -c /cvs/gcc-svn/trunk/gcc/crtstuff.c
-DCRT_BEGIN -DCRTSTUFFT_O   -o crtbeginT.o -save-temps -v
Reading specs from /builds/gcc/misc/./gcc/specs
Target: x86_64-suse-linux-gnu
Configured with: /cvs/gcc-svn/trunk/configure --prefix=/opt/gcc/4.2-devel
--enable-checking=yes,misc,tree,rtl,gc,rtlflag,gcac,fold,assert,runtime
--enable-threads=posix --enable-clocale=gnu --enable-__cxa_atexit
--enable-shared --enable-languages=c,c++,ada,treelang,java,f95,objc
--with-system-zlib x86_64-suse-linux-gnu
Thread model: posix
gcc version 4.2.0 20060123 (experimental)
 /builds/gcc/misc/./gcc/cc1 -E -quiet -v -I. -I. -I/cvs/gcc-svn/trunk/gcc
-I/cvs/gcc-svn/trunk/gcc/. -I/cvs/gcc-svn/trunk/gcc/../include
-I/cvs/gcc-svn/trunk/gcc/../libcpp/include
-I/cvs/gcc-svn/trunk/gcc/../libdecnumber -I../libdecnumber -iprefix
/builds/gcc/misc/gcc/../lib/gcc/x86_64-suse-linux-gnu/4.2.0/ -isystem
/builds/gcc/misc/./gcc/include -DIN_GCC -DCRT_BEGIN -DCRTSTUFFT_O -isystem
/opt/gcc/4.2-devel/x86_64-suse-linux-gnu/include -isystem
/opt/gcc/4.2-devel/x86_64-suse-linux-gnu/sys-include -isystem ./include
/cvs/gcc-svn/trunk/gcc/crtstuff.c -mtune=generic -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-omit-frame-pointer
-fno-asynchronous-unwind-tables -O2 -O2 -O2 -fpch-preprocess -o crtstuff.i
ignoring nonexistent directory
"/opt/gcc/4.2-devel/x86_64-suse-linux-gnu/include"
ignoring nonexistent directory
"/opt/gcc/4.2-devel/x86_64-suse-linux-gnu/sys-include"
ignoring duplicate directory "./include"
ignoring nonexistent directory
"/builds/gcc/misc/gcc/../lib/gcc/x86_64-suse-linux-gnu/4.2.0/include"
ignoring nonexistent directory
"/builds/gcc/misc/gcc/../lib/gcc/x86_64-suse-linux-gnu/4.2.0/../../../../x86_64-suse-linux-gnu/include"
ignoring nonexistent directory
"/opt/gcc/4.2-devel/lib/gcc/x86_64-suse-linux-gnu/4.2.0/../../../../x86_64-suse-linux-gnu/include"
ignoring duplicate directory "."
ignoring duplicate directory "/cvs/gcc-svn/trunk/gcc/."
#include "..." search starts here:
#include <...> search starts here:
 .
 /cvs/gcc-svn/trunk/gcc
 /cvs/gcc-svn/trunk/gcc/../include
 /cvs/gcc-svn/trunk/gcc/../libcpp/include
 /cvs/gcc-svn/trunk/gcc/../libdecnumber
 ../libdecnumber
 /builds/gcc/misc/./gcc/include
 /usr/local/include
 /opt/gcc/4.2-devel/include
 /opt/gcc/4.2-devel/lib/gcc/x86_64-suse-linux-gnu/4.2.0/include
 /usr/include
End of search list.
 /builds/gcc/misc/./gcc/cc1 -fpreprocessed crtstuff.i -quiet -dumpbase
crtstuff.c -mtune=generic -auxbase-strip crtbeginT.o -g -g0 -O2 -O2 -O2 -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -version -finhibit-size-directive -fno-inline-functions
-fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder
-fno-omit-frame-pointer -fno-asynchronous-unwind-tables -o crtstuff.s
GNU C version 4.2.0 20060123 (experimental) (x86_64-suse-linux-gnu)
        compiled by GNU C version 4.0.2 20050901 (prerelease) (SUSE Linux).
GGC heuristics: --param ggc-min-expand=0 --param ggc-min-heapsize=0
Compiler executable checksum: 0ff067d69399051f4d09b6722bab4610
/cvs/gcc-svn/trunk/gcc/crtstuff.c:345: 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.
aj@reger:/builds/gcc/misc/gcc> gdb /builds/gcc/misc/./gcc/cc1
GNU gdb 6.3
Copyright 2004 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 "x86_64-suse-linux"...Using host libthread_db
library "/lib64/tls/libthread_db.so.1".

Breakpoint 1 at 0x6f5b63: file /cvs/gcc-svn/trunk/gcc/diagnostic.c, line 642.
Breakpoint 2 at 0x6f5979: file /cvs/gcc-svn/trunk/gcc/diagnostic.c, line 586.
Function "exit" not defined.
Function "abort" not defined.
(gdb) r -fpreprocessed crtstuff.i -quiet -dumpbase crtstuff.c -mtune=generic
-auxbase-strip crtbeginT.o -g -g0 -O2 -O2 -O2 -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -version
-finhibit-size-directive -fno-inline-functions -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-omit-frame-pointer
-fno-asynchronous-unwind-tables -o crtstuff.s
Starting program: /builds/gcc/misc/gcc/cc1 -fpreprocessed crtstuff.i -quiet
-dumpbase crtstuff.c -mtune=generic -auxbase-strip crtbeginT.o -g -g0 -O2 -O2
-O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -version -finhibit-size-directive -fno-inline-functions
-fno-exceptions -fno-zero-initialized-in-bss -fno-toplevel-reorder
-fno-omit-frame-pointer -fno-asynchronous-unwind-tables -o crtstuff.s
GNU C version 4.2.0 20060123 (experimental) (x86_64-suse-linux-gnu)
        compiled by GNU C version 4.0.2 20050901 (prerelease) (SUSE Linux).
GGC heuristics: --param ggc-min-expand=0 --param ggc-min-heapsize=0
Compiler executable checksum: 0ff067d69399051f4d09b6722bab4610

Program received signal SIGSEGV, Segmentation fault.
0x0000000000fce8ea in assemble_asm (string=0xa5a5a5a5a5a5a5a5)
    at /cvs/gcc-svn/trunk/gcc/varasm.c:885
885       if (TREE_CODE (string) == ADDR_EXPR)
(gdb) bt
#0  0x0000000000fce8ea in assemble_asm (string=0xa5a5a5a5a5a5a5a5)
    at /cvs/gcc-svn/trunk/gcc/varasm.c:885
#1  0x00000000010a4558 in cgraph_output_in_order ()
    at /cvs/gcc-svn/trunk/gcc/cgraphunit.c:1263
#2  0x00000000010a4c82 in cgraph_optimize () at
/cvs/gcc-svn/trunk/gcc/cgraphunit.c:1426
#3  0x000000000042895a in c_write_global_declarations ()
    at /cvs/gcc-svn/trunk/gcc/c-decl.c:7804
#4  0x0000000000f8fe7e in compile_file () at
/cvs/gcc-svn/trunk/gcc/toplev.c:1003
#5  0x0000000000f91875 in do_compile () at /cvs/gcc-svn/trunk/gcc/toplev.c:1948
#6  0x0000000000f918d9 in toplev_main (argc=30, argv=0x7ffffff2c3b8)
    at /cvs/gcc-svn/trunk/gcc/toplev.c:1980
#7  0x00000000004b84bb in main (argc=30, argv=0x7ffffff2c3b8)
    at /cvs/gcc-svn/trunk/gcc/main.c:35


-- 
           Summary: sigsegv with full --enable-checking
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aj at gcc dot gnu dot org
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-01-24  8:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-23 19:38 [Bug bootstrap/25930] New: sigsegv with full --enable-checking aj at gcc dot gnu dot org
2006-01-23 19:54 ` [Bug bootstrap/25930] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-01-23 19:58 ` pinskia at gcc dot gnu dot org
2006-01-23 20:03 ` aj at gcc dot gnu dot org
2006-01-23 20:07 ` pinskia at gcc dot gnu dot org
2006-01-23 20:21 ` [Bug middle-end/25930] " pinskia at gcc dot gnu dot org
2006-01-23 20:37 ` [Bug middle-end/25930] [4.2 Regression] seg fault in GC with toplevel asm and -fno-toplevel-reorder pinskia at gcc dot gnu dot org
2006-01-24  6:14 ` ian at airs dot com
2006-01-24  8:52 ` ian at gcc dot gnu dot org
2006-01-24  8:54 ` ian at airs dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).