This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] libsanitizer
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Andreas Tobler <andreast-list at fgznet dot ch>
- Cc: Bernd Schmidt <bschmidt at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 11 Jan 2016 19:57:02 +0100
- Subject: Re: [patch] libsanitizer
- Authentication-results: sourceware.org; auth=none
- References: <5642691B dot 1040803 at fgznet dot ch> <5693F45B dot 7090009 at redhat dot com> <5693F66A dot 5040806 at fgznet dot ch>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Jan 11, 2016 at 07:37:30PM +0100, Andreas Tobler wrote:
> @@ -104,6 +104,10 @@
> AC_CHECK_LIB(rt, shm_open,
> [link_sanitizer_common="-lrt $link_sanitizer_common"])
>
> +# Do a configure time check for -ldl
> +AC_CHECK_LIB(dl, dlsym,
> + [link_sanitizer_common="-lrt $link_sanitizer_common"])
s/-lrt/-ldl/, no?
Jakub