This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/40428] build fails for sh2a
- From: "ce at embedded-software dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jun 2009 01:26:08 -0000
- Subject: [Bug target/40428] build fails for sh2a
- References: <bug-40428-17830@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from ce at embedded-software dot de 2009-06-13 01:26 -------
OK, you are right, this patch fixes this, but the unsupported configuration
leads to failures in different other files like gcc-4.4.0/gcc/config/sh/sh.c
...
long way to go for me, as I try to make a toolchain.
THX
(In reply to comment #4)
> Because sh2a-*-linux* is an unsupported configuration for gcc-4.4.
>
> Could you try the patch below?
>
> --- ORIG/gcc-4_4-branch/gcc/config.gcc 2009-05-19 07:23:48.000000000 +0900
> +++ gcc-4_4-branch/gcc/config.gcc 2009-06-13 07:36:18.000000000 +0900
> @@ -2002,6 +2002,7 @@ sh-*-symbianelf* | sh[12346l]*-*-symbian
> case ${target} in
> sh[1234]*be-*-* | sh[1234]*eb-*-*) with_endian=big ;;
> shbe-*-* | sheb-*-*) with_endian=big,little ;;
> + sh2a*-*-*) with_endian=big ;;
> sh[1234]l* | sh[34]*-*-linux*) with_endian=little ;;
> shl* | sh64l* | sh*-*-linux* | \
> sh5l* | sh-superh-elf) with_endian=little,big ;;
>
--
ce at embedded-software dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40428