On mainline, when building with no checking enabled, the stage 2
compiler is segfaulting when building crtbegin.o :


make[3]: Entering directory `/build/gcc/out-branchpoint-nc/gcc'
/build/gcc/out-branchpoint-nc/./gcc/xgcc -B/build/gcc/out-branchpoint-nc/./gcc/ 
-B/install/gcc-nc/i686-pc-linux-gnu/bin/ 
-B/install/gcc-nc/i686-pc-linux-gnu/lib/ -isystem 
/install/gcc-nc/i686-pc-linux-gnu/include -isystem 
/install/gcc-nc/i686-pc-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/src/gcc/out-branchpoint/gcc/gcc -I/src/gcc/out-branchpoint/gcc/gcc/. 
-I/src/gcc/out-branchpoint/gcc/gcc/../include 
-I/src/gcc/out-branchpoint/gcc/gcc/../libcpp/include  
-I/src/gcc/out-branchpoint/gcc/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 \  
-c /src/gcc/out-branchpoint/gcc/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
xgcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [crtbegin.o] Error 1


the traceback, for what its worth (since something in stage 2 has been
miscompiled): 
(gdb) where
#0  bitmap_ior_into (a=0x85ac228, b=0x85ac2fc)
    at /src/gcc/out-branchpoint/gcc/gcc/bitmap.c:1201
#1  0x080bd34c in insert_updated_phi_nodes_for (var=0xb7be8738, dfs=0x8590300,
    blocks=0x85ac228, update_flags=128)
    at /src/gcc/out-branchpoint/gcc/gcc/tree-into-ssa.c:2599
#2  0x080be9ab in update_ssa (update_flags=128)
    at /src/gcc/out-branchpoint/gcc/gcc/tree-into-ssa.c:2884
#3  0x0832c51d in execute_todo (flags=Variable "flags" is not available.
)
    at /src/gcc/out-branchpoint/gcc/gcc/passes.c:748
#4  0x0832c84c in execute_one_pass (pass=0x84d02c0)


This was from yesterday afternoon, no special configuration other than
to disable checking, on i686-pc-linux-gnu on an FC4 box.

Is this a known problem?

Andrew




Reply via email to