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

Burton, Ross ross.burton at intel.com
Sun Sep 14 20:48:57 UTC 2014


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.*)

Ross



More information about the Openembedded-core mailing list