Page MenuHomeFreeBSD

Only use ASAN when using the in-tree compiler
ClosedPublic

Authored by brooks on Oct 22 2020, 4:18 PM.

Details

Summary

When building FreeBSD 11 on a FreeBSD 12 system with
CROSS_TOOLCHAIN=llvm10 we end up trying to link against the packaged
version of the sanitizer library. This resulted in a requirement for
getentropy(3) which is not present in FreeBSD 11.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

brooks created this revision.

I couldn't find an easier way to determine if the compiler was suitable. It might be that we want to skip these tests entirely instead, but then we're voting to make them dead code in the long term.

This revision is now accepted and ready to land.Oct 22 2020, 4:46 PM
This revision was automatically updated to reflect the committed changes.