ICE in final make of gcc-4.5-20090327

suma sharma sumasamyukta@gmail.com
Thu Apr 9 10:39:00 GMT 2009


Hi,
I am trying to build a H8 cross compiler toolchain using the following sources:
Gcc-4.5-20090327
Binutils-2.19
Newlib-1.16.0

I get the following ICE in the final GCC make:
----------------------------------------------------------------------------
/bin/sh ../libtool --tag CXX --mode=compile
/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/./gcc/xgcc
-shared-libgcc -B/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/./gcc
-nostdinc++ -L/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/h8300h/normal/int32/libstdc++-v3/src
-L/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/h8300h/normal/int32/libstdc++-v3/src/.libs
-B/home/mahesh/temp_tc/prefix/gnuh8300_v0901_elf-1/h8300-elf/bin/
-B/home/mahesh/temp_tc/prefix/gnuh8300_v0901_elf-1/h8300-elf/lib/
-isystem /home/mahesh/temp_tc/prefix/gnuh8300_v0901_elf-1/h8300-elf/include
-isystem /home/mahesh/temp_tc/prefix/gnuh8300_v0901_elf-1/h8300-elf/sys-include
 -mh -mn -mint32
-I/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/h8300h/normal/int32/libstdc++-v3/include/h8300-elf
-I/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/h8300h/normal/int32/libstdc++-v3/include
-I/home/mahesh/temp_tc/src/gcc-4.5-20090327/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once  -ffunction-sections -fdata-sections
-g -O2    -mh -mn -mint32  -c -o bitmap_allocator.lo
/home/mahesh/temp_tc/src/gcc-4.5-20090327/libstdc++-v3/src/bitmap_allocator.cc

libtool: compile:
/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/./gcc/xgcc
-shared-libgcc -B/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/./gcc
-nostdinc++ -L/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/h8300h/normal/int32/libstdc++-v3/src
-L/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/h8300h/normal/int32/libstdc++-v3/src/.libs
-B/home/mahesh/temp_tc/prefix/gnuh8300_v0901_elf-1/h8300-elf/bin/
-B/home/mahesh/temp_tc/prefix/gnuh8300_v0901_elf-1/h8300-elf/lib/
-isystem /home/mahesh/temp_tc/prefix/gnuh8300_v0901_elf-1/h8300-elf/include
-isystem /home/mahesh/temp_tc/prefix/gnuh8300_v0901_elf-1/h8300-elf/sys-include
-mh -mn -mint32
-I/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/h8300h/normal/int32/libstdc++-v3/include/h8300-elf
-I/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/h8300h/normal/int32/libstdc++-v3/include
-I/home/mahesh/temp_tc/src/gcc-4.5-20090327/libstdc++-v3/libsupc++
-fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections
-g -O2 -mh -mn -mint32 -c
/home/mahesh/temp_tc/src/gcc-4.5-20090327/libstdc++-v3/src/bitmap_allocator.cc
-o bitmap_allocator.o In file included from
/home/mahesh/temp_tc/src/gcc-4.5-20090327/libstdc++-v3/src/bitmap_allocator.cc:31:
/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/h8300h/normal/int32/libstdc++-v3/include/ext/bitmap_allocator.h:
In member function âze_t
__gnu_cxx::__detail::__mini_vector<_Tp>::size() const [with _Tp =
size_t*]â/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/h8300h/normal/int32/libstdc++-v3/include/ext/bitmap_allocator.h:597:
  instantiated from here
/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/h8300h/normal/int32/libstdc++-v3/include/ext/bitmap_allocator.h:128:
error: type mismatch in binary expression short int

int

short int
D.4487 = D.4486 /[ex] 2;

/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/h8300h/normal/int32/libstdc++-v3/include/ext/bitmap_allocator.h:128:
internal compiler error: verify_gimple failed Please submit a full bug
report, with preprocessed source if appropriate.
See <URL:http://www.kpitgnutools.com> for instructions.
make[8]: *** [bitmap_allocator.lo] Error 1
make[8]: Leaving directory
`/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/h8300h/normal/int32/libstdc++-v3/src'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory
`/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/h8300h/normal/int32/libstdc++-v3'
make[6]: *** [all] Error 2
make[6]: Leaving directory
`/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/h8300h/normal/int32/libstdc++-v3'
make[5]: *** [multi-do] Error 1
make[5]: Leaving directory
`/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/libstdc++-v3'
make[4]: *** [all-multi] Error 2
make[4]: Leaving directory
`/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/libstdc++-v3'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327/h8300-elf/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory
`/home/mahesh/temp_tc/build/h8300-elfbld4.5-20090327/build-gcc-4.5-20090327'
make: *** [all] Error 2

----------------------------------------------------------------------------
Could anyone please help me?
Thanking you in anticipation.

Regards,
Suma



More information about the Gcc-help mailing list