Will ASAN MFC to 10-STABLE?

Dimitry Andric dim at FreeBSD.org
Sat Apr 4 22:29:38 UTC 2015


On 05 Apr 2015, at 00:19, Kevin Bowling <kevin.bowling at kev009.com> wrote:
> 
> On 4/4/2015 3:11 PM, Dimitry Andric wrote:
>> On 04 Apr 2015, at 23:30, Kevin Bowling <kevin.bowling at kev009.com> wrote:
>>> 
>>> I believe the last bits needed to try clang's ASAN feature is the clang-rt stuff.  Will this MFC with a clang 3.5 or 3.6 MFC?
>> 
>> It depends on whether we will ever MFC the most recent version of clang
>> to stable/10.  Since clang 3.5.0 and later require C++11 support, doing
>> this will make it more difficult to upgrade from 9.x to 10.x, and not
>> everybody agrees that it is worth the trouble.
>> 
>> Once 9.x is EOL (expected at the end 2016), it might cease to be an
>> issue, though. :-)
>> 
>> -Dimitry
> 
> Do you know if the clang-rt stuff will function with clang 3.4 or were there changes in the compiler to accommodate FreeBSD?

The sanitizer libraries are part of compiler-rt, and the version which
is compatible with clang 3.4 does not yet have full FreeBSD support.  I
don't think it is feasible to backport newer versions of these to
accommodate an older clang version.


> Wondering if we could try and add just the clang-rt libraries since the end of 2016 is a long time away :)

No, that is not easily done.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20150405/e46aba40/attachment.sig>


More information about the freebsd-stable mailing list