Re: gcc: cannot find -lubsan

2015-10-29 Thread Csaba Raduly
On Wed, Oct 28, 2015 at 5:36 PM, Yaakov Selkowitz wrote: > > The various sanitizers in recent versions of GCC are not currently > supported on Cygwin. Then it would be nicer if GCC reported an error (rather than compile dozens of files and then fail to link them at the end). This is likely a GCC

Re: gcc: cannot find -lubsan

2015-10-28 Thread Yaakov Selkowitz
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: cannot find -lubsan

2015-10-27 Thread Steven Penny
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/l