This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap Failure on i686-pc-linux-gnu
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: kenner at vlsi1 dot ultra dot nyu dot edu
- Cc: rmathew at gmail dot com, gcc at gcc dot gnu dot org
- Date: Wed, 01 Dec 2004 23:42:52 +0900 (JST)
- Subject: Re: Bootstrap Failure on i686-pc-linux-gnu
- References: <10412011310.AB11528@vlsi1.ultra.nyu.edu>
kenner@vlsi1.ultra.nyu.edu (Richard Kenner) wrote:
> From the place it's blowing up, it doesn't seem related to me, but it's
> hard to say with the debugger not giving useful values.
>
> Does anybody else have this problem?
I see the same error on x86 cross sh4-unknown-linux-gnu. gdb says:
Program received signal SIGSEGV, Segmentation fault.
0x0812ac21 in compute_points_to_and_addr_escape (ai=0x98915f0)
at ../../LOCAL/gcc/gcc/tree-ssa-alias.c:749
749 bitmap_set_bit (ai->written_vars, ann->uid);
(gdb) p ann
$1 = 0x2f746f6f
(gdb) call debug_tree (op)
<var_decl 0xbd8b8e0c TMT.1024
type <record_type 0xbe8e564c basic_ostream<char,std::char_traits<char> > addressable tree_2 needs-constructing type_1 type_2 type_4 type_5 type_6 BLK
size <integer_cst 0xbe3143c0 constant invariant 1120>
unit size <integer_cst 0xbe467d00 constant invariant 140>
align 32 symtab 0 alias set 18
fields <field_decl 0xbdf7b8b8 _vptr.basic_ostream type <pointer_type 0xbf29d554>
unsigned in_system_header virtual SI file /exp/ldroot/dodes/xsh-gcc/sh4-unknown-linux-gnu/libstdc++-v3/include/iosfwd line 64
size <integer_cst 0xbf221440 constant invariant 32>
unit size <integer_cst 0xbf221100 constant invariant 4>
align 32 offset_align 32
offset <integer_cst 0xbf221120 constant invariant 0>
bit offset <integer_cst 0xbf221880 constant invariant 0> context <record_type 0xbe8e564c basic_ostream<char,std::char_traits<char> >> arguments <integer_cst 0xbf221120 0> chain <type_decl 0xbe171554 basic_ostream>> context <namespace_decl 0xbf229e0c std>
needs-constructor needs-destructor ~X() X() has-type-conversion X(constX&) this=(X&) n_parents=1 use_template=3
pointer_to_this <pointer_type 0xbe1cfd14> reference_to_this <reference_type 0xbe53726c> chain <type_decl 0xbe8e5744 basic_ostream<char,std::char_traits<char> >>>
addressable used ignored external BLK file /exp/ldroot/dodes/xsh-gcc/sh4-unknown-linux-gnu/libstdc++-v3/include/bits/ostream.tcc line 125 size <integer_cst 0xbe3143c0 1120> unit size <integer_cst 0xbe467d00 140>
align 32 context <function_decl 0xbe178aa8 operator<<>>
(gdb) p var
$3 = 0x9803da0
It looks this VAR is a garbage.
(gdb) call debug_tree (var)
<gt_expr 0x9803da0
Program received signal SIGSEGV, Segmentation fault.
...
Regards,
kaz