https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85663

--- Comment #12 from Hans-Peter Nilsson <hp at gcc dot gnu.org> ---
(In reply to Sergei Trofimovich from comment #9)
> (In reply to Hans-Peter Nilsson from comment #8)
> > The report is misleading regarding version, thus I'm resetting the versions.
> > For mips, sanitizer support was neither in gcc-8.0.1 nor gcc-8.1.0 nor
> > gcc-8.2.0.  I suppose the reporter meant "trunk after gcc-8.0.1", but is
> > confused by the change in versioning scheme.
> > (As was I, trying to correct the information in the report.  I'm not sure I
> > have it correct even now...)
> > 
> > Reporter, please confirm or correct.
> 
> Original bug was reported against gcc-8.1.0. Apologies for the confusion.
> 
> gcc-8.2.0 has the same problem.

Oh, I missed the --enable-libsanitizer option.  You really have a *huge* list
of configure options there.

> With workaround it manages to build and
> install asan libraries:
> 
>  
> /usr/lib/gcc/mips-unknown-linux-gnu/8.2.0/include/sanitizer/asan_interface.h
>   /usr/lib/gcc/mips-unknown-linux-gnu/8.2.0/plugin/include/asan.h
>   /usr/lib/gcc/mips-unknown-linux-gnu/8.2.0/libasan.a
>   /usr/lib/gcc/mips-unknown-linux-gnu/8.2.0/libasan.so
>   /usr/lib/gcc/mips-unknown-linux-gnu/8.2.0/libasan.so.5
>   /usr/lib/gcc/mips-unknown-linux-gnu/8.2.0/libasan.so.5.0.0
>   /usr/lib/gcc/mips-unknown-linux-gnu/8.2.0/libasan_preinit.o
> 
> I'm a bit confused by lack of sanitizer support.

I was too, but that's (supposedly) fixed on trunk, modulo effects from later
sanitizer imports.  Care to try it out on a 9.0 snapshot?

We can keep this PR open if you notice issues, otherwise I think it's time to
close it as invalid.

> I guess you mean that  libsanitizer/configure.tgt has no mips entry and
> should fail ./configure or silently skip sanitizer build/install.

As Jakub says; by default, yes.

Reply via email to