public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc: cannot find -lubsan
@ 2015-10-28  6:11 Steven Penny
  2015-10-28 21:41 ` Yaakov Selkowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Penny @ 2015-10-28  6:11 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-29 10:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-28  6:11 gcc: cannot find -lubsan Steven Penny
2015-10-28 21:41 ` Yaakov Selkowitz
2015-10-29 15:45   ` Csaba Raduly

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