Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Romain Naour <romain.naour@openwide.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] openpgm: Blacklist Blackfin ADI 2014R1 toolchain
Date: Sun, 08 Mar 2015 17:43:48 +0100	[thread overview]
Message-ID: <54FC7C44.1040707@openwide.fr> (raw)
In-Reply-To: <20150308085356.11aae236@free-electrons.com>

Hi Thomas,

Le 08/03/2015 08:53, Thomas Petazzoni a ?crit :
> Dear Romain Naour,
> 
> On Sat,  7 Mar 2015 19:51:55 +0100, Romain Naour wrote:
>> Openpgm requires compiler intrinsics not available with Blackfin ADI toolchains.
>>
>> Fixes:
>> http://autobuild.buildroot.net/results/394/394cf96cc0ab9029e5baa84b19e2b4d7a553f077/
>>
>> Signed-off-by: Romain Naour <romain.naour@openwide.fr>
>> ---
>>  package/openpgm/Config.in | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/package/openpgm/Config.in b/package/openpgm/Config.in
>> index 3a26212..8d03c84 100644
>> --- a/package/openpgm/Config.in
>> +++ b/package/openpgm/Config.in
>> @@ -1,6 +1,7 @@
>>  config BR2_PACKAGE_OPENPGM
>>  	bool "openpgm"
>>  	# The following toolchains lack required compiler intrinsics
>> +	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1
>>  	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
>>  	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
>>  	depends on BR2_TOOLCHAIN_HAS_THREADS
> 
> When you add a new dependency to a symbol, you need to propagate this
> dependency to the other symbols select that one. In this specific case,
> zeromq PGM support was selecting openpgm, so you need to replicate this
> dependency. I've applied after fixing that.

Ah yes, thanks.
I completely forgot to check that :/

> 
> Also, at some point, we will need to really on the ARCH_HAS_ATOMICS
> stuff for this.
really -> rely

You mean BR2_ARCH_HAS_ATOMICS ?
But it's set by default for bfin configs.

If I understand correctly, you want to move those "denpends on" to Config.in.bfin:

config BR2_ARCH_HAS_ATOMICS
  	# The following toolchains lack required compiler intrinsics
	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1
  	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2013R1
  	depends on !BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
	default y

I can cook a patch to do that.

Best regards,
Romain

> 
> Best regards,
> 
> Thomas
> 

  reply	other threads:[~2015-03-08 16:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-07 18:51 [Buildroot] [PATCH] openpgm: Blacklist Blackfin ADI 2014R1 toolchain Romain Naour
2015-03-08  7:53 ` Thomas Petazzoni
2015-03-08 16:43   ` Romain Naour [this message]
2015-03-08 17:30     ` Thomas Petazzoni
2015-03-12 21:47       ` Romain Naour
2015-03-13  6:25         ` Thomas Petazzoni

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=54FC7C44.1040707@openwide.fr \
    --to=romain.naour@openwide.fr \
    --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