gcc trunk rev. 127646 breaks bootstrap during stage 3

Thomas Veith xtv@veith-web.com
Mon Aug 20 14:26:00 GMT 2007


Hi,

when bootstrapping gcc trunk rev. 127646 with

./contrib/gcc_build -c "--prefix=/home/xtv 
--enable-languages=c,c++,objc,fortran,obj-c++ --enable-bootstrap 
--enable-decimal-float=bid --enable-checking" -d /home/xtv/gcc-devel/gcc 
-o obj bootstrap

it breaks during stage 3...

libtool: compile:  /home/xtv/gcc-devel/gcc/obj/./gcc/xgcc -shared-libgcc 
-B/home/xtv/gcc-devel/gcc/obj/./gcc -nostdinc++ 
-L/home/xtv/gcc-devel/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/src 
-L/home/xtv/gcc-devel/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/src/.libs 
-B/home/xtv/i686-pc-linux-gnu/bin/ -B/home/xtv/i686-pc-linux-gnu/lib/ 
-isystem /home/xtv/i686-pc-linux-gnu/include -isystem 
/home/xtv/i686-pc-linux-gnu/sys-include 
-I/home/xtv/gcc-devel/gcc/libstdc++-v3/../gcc 
-I/home/xtv/gcc-devel/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu 
-I/home/xtv/gcc-devel/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/include 
-I/home/xtv/gcc-devel/gcc/libstdc++-v3/libsupc++ -fno-implicit-templates 
-Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once 
-ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -c 
/home/xtv/gcc-devel/gcc/libstdc++-v3/libsupc++/fundamental_type_info.cc 
-fPIC -DPIC -o fundamental_type_info.o
/bin/sh ../libtool --tag CXX --tag disable-shared --mode=compile 
/home/xtv/gcc-devel/gcc/obj/./gcc/xgcc -shared-libgcc 
-B/home/xtv/gcc-devel/gcc/obj/./gcc -nostdinc++ 
-L/home/xtv/gcc-devel/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/src 
-L/home/xtv/gcc-devel/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/src/.libs 
-B/home/xtv/i686-pc-linux-gnu/bin/ -B/home/xtv/i686-pc-linux-gnu/lib/ 
-isystem /home/xtv/i686-pc-linux-gnu/include -isystem 
/home/xtv/i686-pc-linux-gnu/sys-include 
-I/home/xtv/gcc-devel/gcc/libstdc++-v3/../gcc 
-I/home/xtv/gcc-devel/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu 
-I/home/xtv/gcc-devel/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/include 
-I/home/xtv/gcc-devel/gcc/libstdc++-v3/libsupc++  -fno-implicit-templates 
-prefer-pic -Wall -Wextra -Wwrite-strings -Wcast-qual 
-fdiagnostics-show-location=once  -ffunction-sections -fdata-sections  -g 
-O2   -D_GNU_SOURCE  -c -o guard.lo 
/home/xtv/gcc-devel/gcc/libstdc++-v3/libsupc++/guard.cc
libtool: compile:  /home/xtv/gcc-devel/gcc/obj/./gcc/xgcc -shared-libgcc 
-B/home/xtv/gcc-devel/gcc/obj/./gcc -nostdinc++ 
-L/home/xtv/gcc-devel/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/src 
-L/home/xtv/gcc-devel/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/src/.libs 
-B/home/xtv/i686-pc-linux-gnu/bin/ -B/home/xtv/i686-pc-linux-gnu/lib/ 
-isystem /home/xtv/i686-pc-linux-gnu/include -isystem 
/home/xtv/i686-pc-linux-gnu/sys-include 
-I/home/xtv/gcc-devel/gcc/libstdc++-v3/../gcc 
-I/home/xtv/gcc-devel/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu 
-I/home/xtv/gcc-devel/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/include 
-I/home/xtv/gcc-devel/gcc/libstdc++-v3/libsupc++ -fno-implicit-templates 
-Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once 
-ffunction-sections -fdata-sections -g -O2 -D_GNU_SOURCE -c 
/home/xtv/gcc-devel/gcc/libstdc++-v3/libsupc++/guard.cc  -fPIC -DPIC -o 
guard.o
gimplification failed:
&fake_mutex <addr_expr 0x235e01c0
     type <pointer_type 0x235dda8c
         type <array_type 0x235dd9b4 fake_recursive_mutex type 
<integer_type 0x2329b1b0 char>
             sizes-gimplified BLK
             size <integer_cst 0x23289d3c constant invariant 192>
             unit size <integer_cst 0x23289d58 constant invariant 24>
             user align 32 symtab 0 alias set 36 canonical type 0x2353b9b4 
domain <integer_type 0x2353b6c0>
             pointer_to_this <pointer_type 0x235dda8c>>
         unsigned SI
         size <integer_cst 0x2328963c constant invariant 32>
         unit size <integer_cst 0x23289428 constant invariant 4>
         align 32 symtab 0 alias set -1 canonical type 0x235ddaf8>
     constant invariant
     arg 0 <var_decl 0x235e305c fake_mutex type <array_type 0x235dd9b4 
fake_recursive_mutex>
         addressable used static tree_1 decl_5 BLK file 
/home/xtv/gcc-devel/gcc/libstdc++-v3/libsupc++/guard.cc line 51 size 
<integer_cst 0x23289d3c 192> unit size <integer_cst 0x23289d58 24>
         align 32 context <namespace_decl 0x235dd804 D.5096>
         (mem/s/c:BLK (symbol_ref:SI ("_ZN12_GLOBAL__N_110fake_mutexE") 
<var_decl 0x235e305c fake_mutex>) [36 fake_mutex+0 S24 A32])
         chain <type_decl 0x235dd948 fake_recursive_mutex type <array_type 
0x235dd9b4 fake_recursive_mutex>
             VOID file 
/home/xtv/gcc-devel/gcc/libstdc++-v3/libsupc++/guard.cc line 50
             align 1 context <namespace_decl 0x235dd804 D.5096> attributes 
<tree_list 0x235dca48> result <array_type 0x2353b9b4> chain <var_decl 
0x235e3000 static_mutex>>>>
/home/xtv/gcc-devel/gcc/libstdc++-v3/libsupc++/guard.cc: In function 
'void<unnamed>::init()':
/home/xtv/gcc-devel/gcc/libstdc++-v3/libsupc++/guard.cc:54: internal 
compiler error: gimplification failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [guard.lo] Error 1
make[4]: Leaving directory 
`/home/xtv/gcc-devel/gcc/obj/i686-pc-linux-gnu/libstdc++-v3/libsupc++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/home/xtv/gcc-devel/gcc/obj/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/home/xtv/gcc-devel/gcc/obj/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/xtv/gcc-devel/gcc/obj'
make: *** [bootstrap] Error 2
gcc_build: error: Could not bootstrap the compiler


Best regards,
Thomas



More information about the Gcc mailing list