Commit 3b07c0e5 by Denis Khalikov Committed by Maxim Ostapenko

re PR sanitizer/86090 ([ASAN] ASAN does not properly configure libbacktrace.)

2018-06-13  Denis Khalikov  <d.khalikov@partner.samsung.com>

libsanitizer/

	PR sanitizer/86090
	* configure.ac: Check for lstat and readlink.
	* configure, config.h.in: Rebuild.

From-SVN: r261564
parent 34a7a230
2018-06-13 Denis Khalikov <d.khalikov@partner.samsung.com>
PR sanitizer/86090
* configure.ac: Check for lstat and readlink.
* configure, config.h.in: Rebuild.
2018-05-31 Matthias Klose <doko@ubuntu.com> 2018-05-31 Matthias Klose <doko@ubuntu.com>
PR sanitizer/86012 PR sanitizer/86012
......
...@@ -43,6 +43,12 @@ ...@@ -43,6 +43,12 @@
/* Define to 1 if you have the <memory.h> header file. */ /* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H #undef HAVE_MEMORY_H
/* Define to 1 if you have the `lstat' function. */
#undef HAVE_LSTAT
/* Define to 1 if you have the `readlink' function. */
#undef HAVE_READLINK
/* Define to 1 if you have the <rpc/xdr.h> header file. */ /* Define to 1 if you have the <rpc/xdr.h> header file. */
#undef HAVE_RPC_XDR_H #undef HAVE_RPC_XDR_H
......
...@@ -15509,7 +15509,7 @@ fi ...@@ -15509,7 +15509,7 @@ fi
# Check for functions needed. # Check for functions needed.
for ac_func in clock_getres clock_gettime clock_settime for ac_func in clock_getres clock_gettime clock_settime lstat readlink
do : do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
......
...@@ -93,7 +93,7 @@ AM_CONDITIONAL(TSAN_SUPPORTED, [test "x$TSAN_SUPPORTED" = "xyes"]) ...@@ -93,7 +93,7 @@ AM_CONDITIONAL(TSAN_SUPPORTED, [test "x$TSAN_SUPPORTED" = "xyes"])
AM_CONDITIONAL(LSAN_SUPPORTED, [test "x$LSAN_SUPPORTED" = "xyes"]) AM_CONDITIONAL(LSAN_SUPPORTED, [test "x$LSAN_SUPPORTED" = "xyes"])
# Check for functions needed. # Check for functions needed.
AC_CHECK_FUNCS(clock_getres clock_gettime clock_settime) AC_CHECK_FUNCS(clock_getres clock_gettime clock_settime lstat readlink)
# Common libraries that we need to link against for all sanitizer libs. # Common libraries that we need to link against for all sanitizer libs.
link_sanitizer_common='-lpthread -lm' link_sanitizer_common='-lpthread -lm'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment