Bug 6741

Summary: We should optionally support libubsan, liblsan, and so on.
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Seebs <seebs>
Component: devtools / tool chainAssignee: Seebs <seebs>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: meta.mr.watcher, meta.watcher, ross.burton
Version: 1.7   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Seebs 2014-09-18 21:37:42 UTC
gcc has some code sanitizer features, which are currently neither built nor packaged so far as I know, but it might be nice to add support for them. (Noticed because one of our binary toolchains has the libraries, but nothing packages them yet.)
Comment 1 Ross Burton 2014-09-25 14:44:14 UTC
There's a patch on the list (http://patchwork.openembedded.org/patch/80369/) that adds a libsanitizer recipe, which packages:

/usr/lib/libasan.so.1.0.0
/usr/lib/liblsan.so.0.0.0
/usr/lib/libtsan.so.0.0.0
/usr/lib/libubsan.so.0.0.0

Is this everything you wanted?
Comment 2 Ross Burton 2015-06-01 19:18:17 UTC
The patch was merged as of 1709bf0c3a84bb04bc52e9104ad8e09fba6c6f91.