This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libsanitizer merge from upstream r196489
- From: Jakub Jelinek <jakub at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Konstantin Serebryany <konstantin dot s dot serebryany at gmail dot com>, ÐÐÐÑÑÐÐ ÐÑÑÑÐÐÐÐ <dimhen at gmail dot com>, Tobias Burnus <tobias dot burnus at physik dot fu-berlin dot de>, Dmitry Vyukov <dvyukov at google dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 5 Dec 2013 14:00:37 +0100
- Subject: Re: libsanitizer merge from upstream r196489
- Authentication-results: sourceware.org; auth=none
- References: <20131205105234 dot GA28738 at physik dot fu-berlin dot de> <CADJjh6mFuc3nJUJWik=W8XXkM4b5QUHoj2W_RcmMDzEZ7cPhsg at mail dot gmail dot com> <CAGQ9bdxe8nz6etVF1XoHvH-3+5nUTh6gWVcQxTiT=QzN1impWw at mail dot gmail dot com> <CAMe9rOpsESct7vA9V+a+KO2M9aKxR7JPqipx2nz1zUp8C6Wfvw at mail dot gmail dot com> <CAMe9rOqmPkWcB9z2V3rMDg=iYNXNUNfo_YJHTwdRyNfbiadwyw at mail dot gmail dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Dec 05, 2013 at 04:54:23AM -0800, H.J. Lu wrote:
> I am testing this for the libm issue.
Preapproved with proper ChangeLog entry if it works.
> --- a/libsanitizer/configure.ac
> +++ b/libsanitizer/configure.ac
> @@ -87,7 +87,7 @@ AM_CONDITIONAL(LSAN_SUPPORTED, [test
> "x$LSAN_SUPPORTED" = "xyes"])
> AC_CHECK_FUNCS(clock_getres clock_gettime clock_settime)
>
> # Common libraries that we need to link against for all sanitizer libs.
> -link_sanitizer_common='-lpthread -ldl'
> +link_sanitizer_common='-lpthread -ldl -lm'
>
> # Set up the set of additional libraries that we need to link against
> for libasan.
> link_libasan=$link_sanitizer_common
Jakub