All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: Adrian Bunk <bunk@kernel.org>
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?
Date: Sun, 1 Jun 2008 14:30:47 +0900	[thread overview]
Message-ID: <20080601053047.GA25429@linux-sh.org> (raw)
In-Reply-To: <20080531202239.GB7347@cs181133002.pp.htv.fi>

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.

WARNING: multiple messages have this Message-ID (diff)
From: Paul Mundt <lethal@linux-sh.org>
To: Adrian Bunk <bunk@kernel.org>
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?
Date: Sun, 01 Jun 2008 05:30:47 +0000	[thread overview]
Message-ID: <20080601053047.GA25429@linux-sh.org> (raw)
In-Reply-To: <20080531202239.GB7347@cs181133002.pp.htv.fi>

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.

  reply	other threads:[~2008-06-01  5:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-31 20:22 sh64 build error - sh, kbuild or binutils problem? Adrian Bunk
2008-05-31 20:22 ` Adrian Bunk
2008-06-01  5:30 ` Paul Mundt [this message]
2008-06-01  5:30   ` Paul Mundt
2008-06-01 19:53   ` Adrian Bunk
2008-06-01 19:53     ` Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2008-07-03  1:45 Yoshinori Sato
2008-07-03 10:03 ` Paul Mundt
2008-07-04  0:24 ` Yoshinori Sato
2008-07-04  3:55 ` Paul Mundt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080601053047.GA25429@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=bunk@kernel.org \
    --cc=hjl.tools@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.