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: libsanitizer merge from upstream r196489


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


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