[OE-core] [PATCH v3] libsanitizer: Enable GCC sanitizers

Burton, Ross ross.burton at intel.com
Wed Dec 10 11:58:36 UTC 2014


Hi Dan,

On 13 November 2014 at 23:35, Dan McGregor <danismostlikely at gmail.com>
wrote:

> Looks like I needed to use the same security CFLAGS as gcc-runtime and
> libgcc. There's a new version up on my bitbucket page.
>

I see you're still using anonymous python instead of COMPATIBLE_HOST to
mark what architectures the sanitizers work on, can you change that?

For packagegroups, if my recollection is correct and the problem is that a
packagegroup wants to depend on packages which are architecture-specific, a
common trick is to do something like this:

SANITIZERS="gcc-sanitizer"
SANITIZSERS_mips = ""

RDEPENDS_packagegroup_foo = "${SANITIZERS}"

(see the tools-profile packagegroup which does this heavily)

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20141210/d38e92d6/attachment-0002.html>


More information about the Openembedded-core mailing list