From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/gcc: disable libitm for sparc <v9
Date: Thu, 15 Jan 2015 09:37:42 +0100 [thread overview]
Message-ID: <20150115093742.1fb23f1f@free-electrons.com> (raw)
In-Reply-To: <1421281784-5243-1-git-send-email-gustavo@zacarias.com.ar>
Dear Gustavo Zacarias,
On Wed, 14 Jan 2015 21:29:44 -0300, Gustavo Zacarias wrote:
> libitm (transactional memory) needs SPARC V9+ ISA, otherwise when
> enabling C++ the toolchain fails to build:
>
> /tmp/cclQ6hrD.s: Assembler messages:
> /tmp/cclQ6hrD.s:1261: Error: Architecture mismatch on "rd".
> /tmp/cclQ6hrD.s:1261: (Requires v9|v9a|v9b; requested architecture is
> v8.)
> Makefile:517: recipe for target 'beginend.lo' failed
> make[5]: *** [beginend.lo] Error 1
>
> So disable it for our current (v8, leon3) support.
>
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Applied, thanks. Is it only SPARCv8 that doesn't have libitm support,
or could other architectures be affected? If other architectures are
affected, we may want to introduce a BR2_ARCH_HAS_LIBITM or some other
similar thing.
Another weird thing: we're not enabling libitm, so why is gcc enabling
it by itself, if it knows that the architecture cannot support it?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2015-01-15 8:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-15 0:29 [Buildroot] [PATCH] package/gcc: disable libitm for sparc <v9 Gustavo Zacarias
2015-01-15 8:37 ` Thomas Petazzoni [this message]
2015-01-15 10:37 ` Gustavo Zacarias
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=20150115093742.1fb23f1f@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox