From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18251 invoked by alias); 13 Jun 2009 01:26:21 -0000 Received: (qmail 18222 invoked by uid 48); 13 Jun 2009 01:26:08 -0000 Date: Sat, 13 Jun 2009 01:26:00 -0000 Message-ID: <20090613012608.18221.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/40428] build fails for sh2a In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "ce at embedded-software dot de" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00807.txt.bz2 ------- 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