[PATCH] ubsan: Do not run the testsuite if ubsan does not work at all

Segher Boessenkool segher@kernel.crashing.org
Tue Jan 6 14:20:00 GMT 2015


On Tue, Jan 06, 2015 at 01:04:29PM +0100, Eric Botcazou wrote:
> > I normally build with --disable-libsanitizer, because the sanitizers
> > testresults are very unreproducable, so just annoying noise.  This however
> > makes most (all?) ubsan testcases fail, since they want to load a shared
> > library that does not exist.
> 
> Same here, but I also have the problem with tsan testcases.

That already exited early for me because -ltsan couldn't be found.
Probably because I started using --disable-libsanitizer before tsan
existed, so it cannot be found in my install dir (which is the _old_
version in any case, I didn't run "make install" yet, but it is
still searching there for the compile test).


Segher



More information about the Gcc-patches mailing list