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: "kkojima at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jun 2009 22:53:47 -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 #4 from kkojima at gcc dot gnu dot org 2009-06-12 22:53 -------
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 ;;
--
kkojima at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kkojima at gcc dot gnu dot
| |org
Severity|blocker |normal
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Priority|P3 |P4
Last reconfirmed|0000-00-00 00:00:00 |2009-06-12 22:53:46
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40428