This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/14424] New: [tree-ssa] bootstrap failure
- From: "steven at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Mar 2004 00:42:58 -0000
- Subject: [Bug bootstrap/14424] New: [tree-ssa] bootstrap failure
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
$ 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