ariga masahiro ariga@link-lab.co.jp
Tue Jun 23 02:11:00 GMT 2009

Hello everyone,

I tried to configure gcc-4.4.0 for SH target on cygwin,but
I am encountered Segmentation error.Please refer to below error.
I don't get it because previously I succeeded configuring gcc-4.1.1 for SH 
Is it mean that the gcc's latest version is degraded ?

As a Japanese,our Co. expects a lot in gcc.
We feel regrettable if gcc couldn't be used for SH.
I sincerely entreat you to teach me the cause of the error,
and how to avoid it.

--- Source --- 

--- configure command
export TARGET=sh-elf
export PREFIX=/gnutools
/src/gcc-4.4.0/configure --target=$TARGET --prefix=$PREFIX --enable-languages=c,c++
 --with-gnu-as --with-gnu-ld --with-newlib -v  2>&1 | tee configgcc.out
make -w all install 2>&1 | tee makegcc.txt

--- error
/tmp/build/build_gcc/./gcc/xgcc -B/tmp/build/build_gcc/./gcc/ -nostdinc -B/tmp/b
uild/build_gcc/sh-elf/newlib/ -isystem 
nclude -isystem 
/src/gcc-4.4.0/newlib/libc/include -B/gnutools/sh-elf/bin/ -B/gn
utools/sh-elf/lib/ -isystem /gnutools/sh-elf/include -isystem 
ys-include -g -O2 -ml -m4-single -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTUR
E  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
 -Wold-style-definition  -isystem 
./include   -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT
_NEEDED -Dinhibit_libc  -I. -I. -I../../../.././gcc -I/src/gcc-4.4.0/libgcc  
rc/gcc-4.4.0/libgcc/. -I/src/gcc-4.4.0/libgcc/../gcc -I/src/gcc-4.4.0/libgcc/../
include  -DHAVE_CC_TLS -o _ctzsi2.o -MT _ctzsi2.o -MD -MP -MF 
_ctzsi2.dep -DL_ct
zsi2 -c /src/gcc-4.4.0/libgcc/../gcc/libgcc2.c \

/src/gcc-4.4.0/libgcc/../gcc/libgcc2.c: In function '__ctzsi2':
/src/gcc-4.4.0/libgcc/../gcc/libgcc2.c:745: internal compiler error: 
n fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [_ctzsi2.o] Error 1
make[4]: Leaving directory `/tmp/build/build_gcc/sh-elf/ml/m4-single/libgcc'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/tmp/build/build_gcc/sh-elf/libgcc'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory `/tmp/build/build_gcc/sh-elf/libgcc'
make[1]: *** [all-target-libgcc] Error 2
make[1]: Leaving directory `/tmp/build/build_gcc'
make: *** [all] Error 2
make: Leaving directory `/tmp/build/build_gcc'

I append makegcc.txt and configgcc.out compressed.

Masahiro Ariga

-------------- next part --------------
A non-text attachment was scrubbed...
Name: logfiles.tar.gz
Type: application/x-gzip
Size: 97982 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20090623/4c77a1a3/attachment.bin>
-------------- next part --------------
For unsubscribe information see http://sourceware.org/lists.html#faq

More information about the crossgcc mailing list