* GCC package missing sanitize helper libraries
@ 2016-03-31 14:09 Peter Foley
2016-03-31 15:23 ` Yaakov Selkowitz
0 siblings, 1 reply; 2+ messages in thread
From: Peter Foley @ 2016-03-31 14:09 UTC (permalink / raw)
To: cygwin
The cygwin gcc package appears to be missing the helper libraries for
the -fsanitize series of options.
$ gcc -fsanitize=address a.c
/usr/lib/gcc/x86_64-pc-cygwin/5.3.0/../../../../x86_64-pc-cygwin/bin/ld:
cannot find -lasan
collect2: error: ld returned 1 exit status
Ditto for -fsanitize=undefined (-lubsan), -fsanitize=thread (-ltsan),
and -fsanitize-leak (-llsan)
On my linux box, these libraries are at paths like
/usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/liblsan.so
Is this simply a packaging oversight, or are these flags broken on cygwin?
Thanks,
Peter Foley
--
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GCC package missing sanitize helper libraries
2016-03-31 14:09 GCC package missing sanitize helper libraries Peter Foley
@ 2016-03-31 15:23 ` Yaakov Selkowitz
0 siblings, 0 replies; 2+ messages in thread
From: Yaakov Selkowitz @ 2016-03-31 15:23 UTC (permalink / raw)
To: cygwin
On 2016-03-31 09:08, Peter Foley wrote:
> The cygwin gcc package appears to be missing the helper libraries for
> the -fsanitize series of options.
These are only supported 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-31 15:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-31 14:09 GCC package missing sanitize helper libraries Peter Foley
2016-03-31 15:23 ` Yaakov Selkowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).