From: Heather McIntyre <h...@rice.edu> * configure.ac (--enable-thread-safety): Remove experimental warning.
Signed-off-by: Heather S. McIntyre <h...@rice.edu> Signed-off-by: Aaron Merey <ame...@redhat.com> Signed-off-by: Mark Wielaard <m...@klomp.org> --- No changes between v2 and v3. PR31967 (datarace in elf_compress[_gnu]) was recently filed and this patch set does not address it. libdwfl requires additional locking. I think we should hold off on merging this patch and keep thread safety "experimental" until these issues are fixed. Aaron configure.ac | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 24e68d94..2c885c8a 100644 --- a/configure.ac +++ b/configure.ac @@ -79,12 +79,10 @@ AC_DEFINE_UNQUOTED(DEFAULT_AR_DETERMINISTIC, $default_ar_deterministic, AC_ARG_ENABLE([thread-safety], AS_HELP_STRING([--enable-thread-safety], - [enable thread safety of libraries EXPERIMENTAL]), + [enable thread safety of libraries]), use_locks=$enableval, use_locks=no) AM_CONDITIONAL(USE_LOCKS, test "$use_locks" = yes) AS_IF([test "$use_locks" = yes], [AC_DEFINE(USE_LOCKS)]) -AS_IF([test "$use_locks" = yes], - [AC_MSG_WARN([thread-safety is EXPERIMENTAL tests might fail.])]) AH_TEMPLATE([USE_LOCKS], [Defined if libraries should be thread-safe.]) @@ -939,10 +937,10 @@ AC_MSG_NOTICE([ Symbol versioning : ${enable_symbol_versioning} NOT RECOMMENDED FEATURES (should all be no) - Experimental thread safety : ${use_locks} install elf.h : ${install_elfh} OTHER FEATURES + Enable thread safety : ${use_locks} Deterministic archives by default : ${default_ar_deterministic} Native language support : ${USE_NLS} Extra Valgrind annotations : ${use_vg_annotations} -- 2.45.2