This is the mail archive of the
cygwin
mailing list for the Cygwin project.
gcc: cannot find -lubsan
- From: Steven Penny <svnpenn at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 27 Oct 2015 20:58:39 -0500
- Subject: gcc: cannot find -lubsan
- Authentication-results: sourceware.org; auth=none
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
--
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