On 14 September 2014 21:16, Dan McGregor <[email protected]> wrote: > On 14 September 2014 14:48, Burton, Ross <[email protected]> wrote: >> On 13 September 2014 04:06, Dan McGregor <[email protected]> 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. >
Even better! I've been ignoring the platform specific stuff in the sanitizes. The only platform that might give trouble is little-endian PowerPC. This entire clause can be dropped. I'll test it tomorrow on big-endian PPC to make sure this actually works. -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
