Page MenuHomeFreeBSD

Only use ASAN when using the in-tree compiler
ClosedPublic

Authored by brooks on Oct 22 2020, 4:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 8, 5:29 AM
Unknown Object (File)
Mon, Jan 27, 7:05 PM
Unknown Object (File)
Sun, Jan 26, 10:57 PM
Unknown Object (File)
Sat, Jan 25, 11:04 PM
Unknown Object (File)
Jan 17 2025, 9:26 AM
Unknown Object (File)
Jan 13 2025, 3:47 AM
Unknown Object (File)
Jan 4 2025, 7:55 PM
Unknown Object (File)
Dec 25 2024, 9:20 PM
Subscribers

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 - subversion
Lint
Lint Not Applicable
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.