public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Re: gcc-4.4.0-SH-target-conf-error
@ 2009-06-26  3:58 ariga masahiro
  0 siblings, 0 replies; 2+ messages in thread
From: ariga masahiro @ 2009-06-26  3:58 UTC (permalink / raw)
  To: crossgcc

[-- Attachment #1: Type: text/plain, Size: 4180 bytes --]

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



[-- Attachment #2: errorlog.tar.gz --]
[-- Type: application/x-gzip, Size: 40671 bytes --]

[-- Attachment #3: Type: text/plain, Size: 71 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* gcc-4.4.0-SH-target-conf-error
@ 2009-06-23  2:11 ariga masahiro
  0 siblings, 0 replies; 2+ messages in thread
From: ariga masahiro @ 2009-06-23  2:11 UTC (permalink / raw)
  To: crossgcc

[-- Attachment #1: Type: text/plain, Size: 2499 bytes --]

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 #2: logfiles.tar.gz --]
[-- Type: application/x-gzip, Size: 97982 bytes --]

[-- Attachment #3: Type: text/plain, Size: 71 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-26  3:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-26  3:58 gcc-4.4.0-SH-target-conf-error ariga masahiro
  -- strict thread matches above, loose matches on Subject: below --
2009-06-23  2:11 gcc-4.4.0-SH-target-conf-error ariga masahiro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).