This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: gcc: cannot find -lubsan
- From: Yaakov Selkowitz <yselkowitz at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 28 Oct 2015 11:36:28 -0500
- Subject: Re: gcc: cannot find -lubsan
- Authentication-results: sourceware.org; auth=none
- References: <CAAXzdLUP44BMpxHBsW+BR0Vi4KgQdcEZ6AtcjCboBQ4=-gXwBA at mail dot gmail dot com>
On Tue, 2015-10-27 at 20:58 -0500, Steven Penny wrote:
> I have installed the "gcc-core" package:
>
> $ gcc --version
> gcc (GCC) 4.9.3
>
> Using this file:
>
> http://gcc.gnu.org/git?p=gcc.git;a=blob;f=gcc/testsuite/c-c%2B%2B-common/ubsan/undefined-1.c;hb=382ecb
>
> and this command:
>
> gcc -fsanitize=undefined undefined-1.c
>
> yields this result:
>
> /usr/lib/gcc/x86_64-pc-cygwin/4.9.3/../../../../x86_64-pc-cygwin/bin/ld:
> cannot find -lubsan
> collect2: error: ld returned 1 exit status
The various sanitizers in recent versions of GCC are not currently
supported on Cygwin.
--
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