public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/14424] New: [tree-ssa] bootstrap failure
@ 2004-03-04  0:42 steven at gcc dot gnu dot org
  2004-03-04  1:31 ` [Bug bootstrap/14424] " pinskia at gcc dot gnu dot org
  2004-03-04 15:44 ` steven at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-03-04  0:42 UTC (permalink / raw)
  To: gcc-bugs

$ stage1/cc1 --version 
GNU C version 3.5-tree-ssa 20040303 (merged 20040227) 
(x86_64-unknown-linux-gnu) 
        compiled by GNU C version 3.2.2 (SuSE Linux). 
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096 
$ cat configargs.h 
/* Generated automatically. */ 
static const char configuration_arguments[] = "../tree-ssa-branch/configure 
--enable-languages=c,c++,objc,f95 --prefix=/space/stevenb/test_install/"; 
static const char thread_model[] = "posix"; 
 
static const struct { 
  const char *name, *value; 
} configure_default_options[] = { { "cpu", "k8" } }; 
 
 
Bootstrap terminates with a segmentation fault: 
stage1/xgcc -Bstage1/ -B/space/stevenb/test_install//x86_64-unknown-linux-gnu/
bin/   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition 
-Wno-variadic-macros -Werror -fno-common   -DHAVE_CONFIG_H    -I. -I. -I../../
tree-ssa-branch/gcc -I../../tree-ssa-branch/gcc/. -I../../tree-ssa-branch/
gcc/../include -I../../tree-ssa-branch/gcc/../libbanshee/libcompat -I../../
tree-ssa-branch/gcc/../libbanshee -I../../tree-ssa-branch/gcc/../libbanshee/
points-to  -c insn-extract.c \ 
  -o insn-extract.o 
insn-extract.c: In function `insn_extract': 
insn-extract.c:16: 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. 
make[1]: *** [insn-extract.o] Error 1 
make[1]: Leaving directory `/space/stevenb/build-tree-ssa/gcc' 
make: *** [stage2_build] Error 2 
 
 
Output from gdb: 
Starting program: /space/stevenb/build-tree-ssa/gcc/stage1/cc1 -quiet -v -I. 
-I../../tree-ssa-branch/gcc -I../../tree-ssa-branch/include -I../../
tree-ssa-branch/libbanshee/libcompat -I../../tree-ssa-branch/libbanshee 
-I../../tree-ssa-branch/libbanshee/points-to -isystem include -isystem stage1/
include -DIN_GCC -DHAVE_CONFIG_H insn-extract.c -mtune=k8 -g -O2 -fno-common 
-o /tmp/ccw4aXdT.s 
 
Breakpoint 11, clear_marks () at ../../tree-ssa-branch/gcc/ggc-page.c:1703 
1703              if ((size_t) p->page & (G.pagesize - 1)) 
1: bitmap_size = 33554440 
(gdb) d 11 
(gdb) l 
1698              size_t num_objects = OBJECTS_IN_PAGE (p); 
1699              size_t bitmap_size = BITMAP_SIZE (num_objects + 1); 
1700 
1701    #ifdef ENABLE_CHECKING 
1702              /* The data should be page-aligned.  */ 
1703              if ((size_t) p->page & (G.pagesize - 1)) 
1704                abort (); 
1705    #endif 
1706 
1707              /* Pages that aren't in the topmost context are not 
collected; 
(gdb) p order 
$5 = 67 
(gdb) p num_objects 
$6 = 268435456 
(gdb) cont 
Continuing. 
 
Program received signal SIGSEGV, Segmentation fault. 
0x0000002a956e23e3 in memset () from /lib64/libc.so.6 
(gdb) up 
#1  0x00000000404a4383 in clear_marks () at ../../tree-ssa-branch/gcc/
ggc-page.c:1720 
1720              memset (p->in_use_p, 0, bitmap_size); 
(gdb) bt 
#0  0x0000002a956e23e3 in memset () from /lib64/libc.so.6 
#1  0x00000000404a4383 in clear_marks () at ../../tree-ssa-branch/gcc/
ggc-page.c:1720 
#2  0x00000000404a4912 in ggc_collect () at ../../tree-ssa-branch/gcc/
ggc-page.c:1989 
#3  0x00000000400beac0 in execute_todo (flags=15) at ../../tree-ssa-branch/
gcc/tree-optimize.c:352 
#4  0x00000000400bec8d in execute_one_pass (pass=0x407acf60)

-- 
           Summary: [tree-ssa] bootstrap failure
           Product: gcc
           Version: tree-ssa
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: steven at gcc dot gnu dot org
                CC: dnovillo at redhat dot com,gcc-bugs at gcc dot gnu dot
                    org
  GCC host triplet: x86-64


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


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

* [Bug bootstrap/14424] [tree-ssa] bootstrap failure
  2004-03-04  0:42 [Bug bootstrap/14424] New: [tree-ssa] bootstrap failure steven at gcc dot gnu dot org
@ 2004-03-04  1:31 ` pinskia at gcc dot gnu dot org
  2004-03-04 15:44 ` steven at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-04  1:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-04 01:31 -------
Which pass is this?  You can found out by going up four stage frames and printing out the contents of 
*pass.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
           Keywords|                            |build, ice-on-valid-code
   Target Milestone|---                         |tree-ssa


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


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

* [Bug bootstrap/14424] [tree-ssa] bootstrap failure
  2004-03-04  0:42 [Bug bootstrap/14424] New: [tree-ssa] bootstrap failure steven at gcc dot gnu dot org
  2004-03-04  1:31 ` [Bug bootstrap/14424] " pinskia at gcc dot gnu dot org
@ 2004-03-04 15:44 ` steven at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-03-04 15:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2004-03-04 15:44 -------
works on different hardware.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2004-03-04 15:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-04  0:42 [Bug bootstrap/14424] New: [tree-ssa] bootstrap failure steven at gcc dot gnu dot org
2004-03-04  1:31 ` [Bug bootstrap/14424] " pinskia at gcc dot gnu dot org
2004-03-04 15:44 ` steven at gcc dot gnu dot org

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).