public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc -fsanitize supported?
@ 2021-03-21 19:20 Lee
  0 siblings, 0 replies; only message in thread
From: Lee @ 2021-03-21 19:20 UTC (permalink / raw)
  To: cygwin

Is the gcc option "-fsanitize=address" supported in cygwin?  If yes,
what else do I need to install?

$ gcc -fsanitize=address args.c
/usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld:
cannot find -lasan
collect2: error: ld returned 1 exit status

$ i686-w64-mingw32-gcc -fsanitize=address args.c
/usr/lib/gcc/i686-w64-mingw32/10/../../../../i686-w64-mingw32/bin/ld:
cannot find -lasan
collect2: error: ld returned 1 exit status

Thanks
Lee

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-21 19:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-21 19:20 gcc -fsanitize supported? Lee

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