From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: Build error at v2.6.33 of sh-2.6.git
Date: Thu, 18 Mar 2010 07:10:32 +0000 [thread overview]
Message-ID: <20100318071031.GA25308@linux-sh.org> (raw)
In-Reply-To: <4BA1CB09.8060908@dcl.info.waseda.ac.jp>
On Thu, Mar 18, 2010 at 03:41:13PM +0900, Hitoshi Mitake wrote:
> But I'm suspecting that the problem is the version of my cross compiler
> for sh.
> The version of it is 3.4.5, quite old.
> -v output of my cross compiler is this:
>
> % sh-linux-gcc -v
> Reading specs from
> /opt/crosstool/gcc-3.4.5-glibc-2.3.5/sh4-unknown-linux-gnu/lib/gcc/sh4-unknown-linux-gnu/3.4.5/specs
> Configured with:
> /home/mitake/tool/crosstool-0.43-sh4a/build/sh4-unknown-linux-gnu/gcc-3.4.5-glibc-2.3.5/gcc-3.4.5/configure
> --target=sh4-unknown-linux-gnu --host=x86_64-host_unknown-linux-gnu
> --prefix=/opt/crosstool/gcc-3.4.5-glibc-2.3.5/sh4-unknown-linux-gnu
> --with-multilib-list=m4,m4-nofpu
> --with-headers=/opt/crosstool/gcc-3.4.5-glibc-2.3.5/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu/include
> --with-local-prefix=/opt/crosstool/gcc-3.4.5-glibc-2.3.5/sh4-unknown-linux-gnu/sh4-unknown-linux-gnu
> --disable-nls --enable-threads=posix --enable-symvers=gnu
> --enable-__cxa_atexit --enable-languages=c,c++ --enable-shared --enable-c99
> --enable-long-long
> Thread model: posix
> gcc version 3.4.5
>
> I obtained this cross compiler with this project:
> http://kegel.com/crosstool/
>
> So I have a question, is there the de fact standard of corss compiler
> building kit for SuperH arch?
> If there is, could you tell me?
>
As Magnus pointed out, the CodeSourcery one is the officially recommended
one to use. Note that this problem you are having is an issue with old
binutils versions on 64-bit hosts, which has been corrected in newer
versions of binutils. You can find more info about it in the archives, or
just use a newer toolchain.
next prev parent reply other threads:[~2010-03-18 7:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-18 6:41 Build error at v2.6.33 of sh-2.6.git Hitoshi Mitake
2010-03-18 7:06 ` Magnus Damm
2010-03-18 7:09 ` Conrad Parker
2010-03-18 7:10 ` Paul Mundt [this message]
2010-03-18 7:51 ` Hitoshi Mitake
2010-03-18 9:28 ` Nobuhiro Iwamatsu
2010-03-19 5:40 ` Hitoshi Mitake
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=20100318071031.GA25308@linux-sh.org \
--to=lethal@linux-sh.org \
--cc=linux-sh@vger.kernel.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.