This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] ubsan: Do not run the testsuite if ubsan does not work at all
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 6 Jan 2015 08:20:15 -0600
- Subject: Re: [PATCH] ubsan: Do not run the testsuite if ubsan does not work at all
- Authentication-results: sourceware.org; auth=none
- References: <794f294d0fe7dd3f95e2b05875619307538a9b7f dot 1419462987 dot git dot segher at kernel dot crashing dot org> <1600935 dot WazoELDGJf at polaris>
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