This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/40428] build fails for sh2a



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]