GCC thread sanitizer (TSan) support

JonY 10walls@gmail.com
Tue May 12 15:30:00 GMT 2015

On 5/12/2015 18:55, Irfan Adilovic wrote:
> When I try to link a trivial program with -fsanitize=thread, I get the
> following:
> /usr/lib/gcc/x86_64-pc-cygwin/4.9.2/../../../../x86_64-pc-cygwin/bin/ld:
> cannot find -ltsan
> Compiling with -fsanitize=thread works. Target is x86_64-pc-cygwin
> (TSan supports 64-bit only). gcc version is 4.9.2
> Is this not supported on cygwin, or si the tsan library erroneously missing?

It is unsupported on Cygwin atm.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150512/ebbe1bbe/attachment.sig>

More information about the Cygwin mailing list