Bug 6741 - We should optionally support libubsan, liblsan, and so on.
Summary: We should optionally support libubsan, liblsan, and so on.
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.7
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: Future
Assignee: Seebs
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-09-18 21:37 UTC by Seebs
Modified: 2015-06-01 19:18 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.