This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] libsanitizer


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]