gcc -c -Wall -g -fsanitize=leak fails using gcc-5.3.0

Yaakov Selkowitz yselkowitz@cygwin.com
Fri Mar 25 22:43:00 GMT 2016


On 2016-03-25 16:55, Lester Ingber wrote:
> I just tries to use the memory-leak detection built into gcc.
> I have the latest v5.3.0 from the regular x64 setup.
>
> I get:
> /bin/ld: cannot find -llsan
> collect2: error: ld returned 1 exit status
>
> I do not see any lsan (or tsan) in my cygwin64 directories.

The sanitizer functionality is only available on x86-linux.

-- 
Yaakov

--
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