This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc-4.4.0-SH-target-conf-error


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 target.
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 --- binutils-2.19.1.tar.bz2
gcc-4.4.0.tar.bz2
newlib-1.17.0.tar.gz


--- 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 /tmp/build/build_gcc/sh-elf/newlib/targ-i
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 /gnutools/sh-elf/s
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 -I/s
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: Segmentatio
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


Attachment: logfiles.tar.gz
Description: GNU Zip compressed data

--
For unsubscribe information see http://sourceware.org/lists.html#faq

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]