From: "ariga masahiro" <ariga@link-lab.co.jp>
To: <crossgcc@sourceware.org>
Subject: Re: gcc-4.4.0-SH-target-conf-error
Date: Fri, 26 Jun 2009 03:58:00 -0000 [thread overview]
Message-ID: <D164EC827D724834B2E72804A5D3E887@ariga> (raw)
[-- 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
next reply other threads:[~2009-06-26 3:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-26 3:58 ariga masahiro [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-06-23 2:11 gcc-4.4.0-SH-target-conf-error ariga masahiro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D164EC827D724834B2E72804A5D3E887@ariga \
--to=ariga@link-lab.co.jp \
--cc=crossgcc@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).