Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755323AbYFAFcw (ORCPT ); Sun, 1 Jun 2008 01:32:52 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751276AbYFAFcm (ORCPT ); Sun, 1 Jun 2008 01:32:42 -0400 Received: from mta23.gyao.ne.jp ([125.63.38.249]:45350 "EHLO mx.gate01.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751265AbYFAFcl (ORCPT ); Sun, 1 Jun 2008 01:32:41 -0400 Date: Sun, 1 Jun 2008 14:30:47 +0900 From: Paul Mundt To: Adrian Bunk Cc: sam@ravnborg.org, hjl.tools@gmail.com, linux-kbuild@vger.kernel.org, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: sh64 build error - sh, kbuild or binutils problem? Message-ID: <20080601053047.GA25429@linux-sh.org> Mail-Followup-To: Paul Mundt , Adrian Bunk , sam@ravnborg.org, hjl.tools@gmail.com, linux-kbuild@vger.kernel.org, linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org References: <20080531202239.GB7347@cs181133002.pp.htv.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080531202239.GB7347@cs181133002.pp.htv.fi> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 739 Lines: 17 On Sat, May 31, 2008 at 11:22:39PM +0300, Adrian Bunk wrote: > Minimal example demonstrating the problem: > > $ sh64-linux-ar rcs tmp.o > $ sh64-linux-ld -EL -r -o tmp2.o tmp.o > $ sh64-linux-ld -EL -r -o out.o tmp2.o > sh64-linux-ld: sh3 architecture of input file `tmp2.o' is incompatible with sh5 output > $ > Yes, it's a binutils bug. I've hit this on SH-2A zImage builds too, and hacked together a patch for it. I'll see about fixing it up fo sh64 too and then posting it to the list. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/