[OE-core] [Patch v2] libsanitizer: Enable GCC sanitizers

Dan McGregor danismostlikely at gmail.com
Mon Sep 15 03:16:00 UTC 2014


On 14 September 2014 14:48, Burton, Ross <ross.burton at intel.com> wrote:
> On 13 September 2014 04:06, Dan McGregor <danismostlikely at gmail.com> wrote:
>> +python __anonymous () {
>> +    arch = d.getVar("TRANSLATED_TARGET_ARCH", True)
>> +    if arch not in { "i586", "i686", "x86_64", "arm" }:
>> +        raise bb.parse.SkipPackage("libsanitizer only works on Intel and ARM.")
>> +}
>
> Shouldn't this be something like
> COMPATIBLE_HOST=(x86_64.*|i.86.*|arm.*)? (assuming it doesn't work on
> aarch64, which isn't matched by arm.*)

Probably, yes. I'll look into whether they work on aarch64 and update this part.
In the mean time, this fixes Jonathan's issues with the last patch, so
I think I'm
at least heading in the right direction.

>
> Ross



More information about the Openembedded-core mailing list