GCC thread sanitizer (TSan) support

Irfan Adilovic irfanadilovic@gmail.com
Tue May 12 11:30:00 GMT 2015


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?

-- Irfan

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list