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