This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] libsanitizer
- From: Andreas Tobler <andreast-list at fgznet dot ch>
- To: Bernd Schmidt <bschmidt at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 14 Jan 2016 21:51:53 +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> <56968BEF dot 6040801 at redhat dot com>
On 13.01.16 18:39, Bernd Schmidt wrote:
On 01/11/2016 07:37 PM, Andreas Tobler wrote:
+# Do a configure time check for -ldl
+AC_CHECK_LIB(dl, dlsym,
+ [link_sanitizer_common="-lrt $link_sanitizer_common"])
+
I'll give it a test run.
If that works (with -ldl instead of -lrt) it's ok.
It does, tested on FreeBSD x86_64 and Linux/GNU x86_64.
Committed to trunk.
Note, there is a chunk in configure which is not from me.
It was a missing part from the last commit (r230739). There it was
mentioned that configure was regenerated, but it did not get committed.
Thanks,
Andreas