[Buildroot] [PATCH] openpgm: Blacklist Blackfin ADI 2014R1 toolchain

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Mar 8 17:30:23 UTC 2015


Dear Romain Naour,

On Sun, 08 Mar 2015 17:43:48 +0100, Romain Naour wrote:

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

Right. But it's not a commit log, so do we care about typos ? :-)

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

Yes. Back when we introduced BR2_ARCH_HAS_ATOMICS, but wondered whether
it should be BR2_ARCH_HAS_ATOMICS or BR2_TOOLCHAIN_HAS_ATOMICS, i.e
whether we would have the case of an architecture that does support
atomic intrinsics, but has certain toolchain versions for this
architecture that do not.

I don't remember if we carefully check whether Blackfin has atomic
intrinsics or not.

> 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

Nope. We first need to find out whether the Blackfin architecture has
what's needed to provide atomic intrinsics. Depending on that, we'll
now if it's a toolchain limitation or not.

Best regards,

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



More information about the buildroot mailing list