gcc-4.4.0-SH-target-conf-error

ariga masahiro ariga@link-lab.co.jp
Fri Jun 26 03:58:00 GMT 2009


Hello everyone,

I tentatively added configure option 
"--with-gxx-include-dir=/gnutools-sh/sh-elf/include" in configure command.
But ended up also in Segmentation failed,although compile-failed file was 
different.

I earnestly like to use the latest gcc version.
Is it impossible to configure sh-elf toolchain from gcc 4.4.0 ?

--- 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-sh

/src/gcc-4.4.0/configure --target=$TARGET --prefix=$PREFIX --enable-languages=c,c++ 
 --with-gnu-as --with-gnu-ld --with-newlib --with-gxx-include-dir=/gnutools-sh/sh-elf/include 
 -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/build/build_gcc/sh-elf/newlib/ 
 -isystem /
tmp/build/build_gcc/sh-elf/newlib/targ-include -isystem 
/src/gcc-4.4.0/newlib/libc/include -B/gnutools-sh/sh-elf/bin/ -B
/gnutools-sh/sh-elf/lib/ -isystem /gnutools-sh/sh-elf/include -isystem 
/gnutools-sh/sh-elf/sys-include -g -O2 -m2a -O2
-g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes 
 -Wmissing-prototypes -Wcast-qu
al -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/src/gcc-4.4.0/libgcc/. -I/src/gcc-4.4.0/libgcc/../gcc 
 -I/src/gcc-4.4.0/libgcc/../i
nclude  -DHAVE_CC_TLS -o _pack_sf.o -MT _pack_sf.o -MD -MP -MF 
_pack_sf.dep -DFINE_GRAINED_LIBRARIES -DL_pack_sf -c ../.
./.././gcc/fp-bit.c
/tmp/build/build_gcc/./gcc/xgcc -B/tmp/build/build_gcc/./gcc/ -nostdinc -B/tmp/build/build_gcc/sh-elf/newlib/ 
 -isystem /
tmp/build/build_gcc/sh-elf/newlib/targ-include -isystem 
/src/gcc-4.4.0/newlib/libc/include -B/gnutools-sh/sh-elf/bin/ -B
/gnutools-sh/sh-elf/lib/ -isystem /gnutools-sh/sh-elf/include -isystem 
/gnutools-sh/sh-elf/sys-include -g -O2 -m2a -O2
-g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes 
 -Wmissing-prototypes -Wcast-qu
al -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/src/gcc-4.4.0/libgcc/. -I/src/gcc-4.4.0/libgcc/../gcc 
 -I/src/gcc-4.4.0/libgcc/../i
nclude  -DHAVE_CC_TLS -o _unpack_sf.o -MT _unpack_sf.o -MD -MP -MF 
_unpack_sf.dep -DFINE_GRAINED_LIBRARIES -DL_unpack_sf
 -c ../../.././gcc/fp-bit.c
/tmp/build/build_gcc/./gcc/xgcc -B/tmp/build/build_gcc/./gcc/ -nostdinc -B/tmp/build/build_gcc/sh-elf/newlib/ 
 -isystem /
tmp/build/build_gcc/sh-elf/newlib/targ-include -isystem 
/src/gcc-4.4.0/newlib/libc/include -B/gnutools-sh/sh-elf/bin/ -B
/gnutools-sh/sh-elf/lib/ -isystem /gnutools-sh/sh-elf/include -isystem 
/gnutools-sh/sh-elf/sys-include -g -O2 -m2a -O2
-g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wstrict-prototypes 
 -Wmissing-prototypes -Wcast-qu
al -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/src/gcc-4.4.0/libgcc/. -I/src/gcc-4.4.0/libgcc/../gcc 
 -I/src/gcc-4.4.0/libgcc/../i
nclude  -DHAVE_CC_TLS -o _addsub_sf.o -MT _addsub_sf.o -MD -MP -MF 
_addsub_sf.dep -DFINE_GRAINED_LIBRARIES -DL_addsub_sf
 -c ../../.././gcc/fp-bit.c
../../.././gcc/fp-bit.c: In function '_fpadd_parts':
../../.././gcc/fp-bit.c:735: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [_addsub_sf.o] Error 1
make[4]: Leaving directory `/tmp/build/build_gcc/sh-elf/m2a/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 newly makegcc.txt and configgcc.out compressed.

Masahiro Ariga


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


More information about the crossgcc mailing list