Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [autobuild.buildroot.net] Build results for 2014-05-16
Date: Mon, 19 May 2014 11:51:55 +0200	[thread overview]
Message-ID: <20140519115155.10e652cd@free-electrons.com> (raw)
In-Reply-To: <39A54937CC95F24AA2F794E2D2B66B1356CCD708@de02wembxa.internal.synopsys.com>

Dear Anton Kolesov,

(Would be nice to wrap your e-mails to a reasonable line length)

On Mon, 19 May 2014 09:46:36 +0000, Anton Kolesov wrote:

> > Missing some compiler intrinsics. I'll send a patch to disable jack2 on
> > ARC for now.
> 
> We have added an implementation for those intrinsics in the latest release of GCC, however they are disabled by default, because they require optional hardware features. User can enable those intrinsics with compiler flag -matomic, in case of Buildroot by adding it to the "BR2_TARGET_OPTIMIZATION", if they know that required HW is present. Is it possible to add -matomic to TARGET_OPTIMIZATION in autobuilder by default? There is a lot of packages that depend on atomic intrinsics, so enabling them would be useful for autobuilder, but I don't want to do this for the whole toolchain by default because users without required hardware support will get "illegal instruction" exception only in runtime.

I'd prefer to have an option under "Target options" to allow the user
to define whether his hardware has the required optional features to
provide the intrinsics. Something such as BR2_ARC_HAS_<feature>. Then
packages can do:

	depends on !(BR2_arc && !BR2_ARC_HAS_<feature>)

or something like that (my boolean algebra might be rusty on this
Monday morning).

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2014-05-19  9:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-17  6:30 [Buildroot] [autobuild.buildroot.net] Build results for 2014-05-16 Thomas Petazzoni
2014-05-17  7:35 ` Thomas Petazzoni
2014-05-19  9:46   ` Anton Kolesov
2014-05-19  9:51     ` Thomas Petazzoni [this message]
2014-05-19 10:03       ` Anton Kolesov

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=20140519115155.10e652cd@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