From: Rhys Kidd Date: Mon, 8 Jun 2015 08:56:33 +0000 (+0000) Subject: Fix undefined symbols for architecture x86_64: _global, referenced from: _test_so_glo... X-Git-Tag: svn/VALGRIND_3_11_0~304 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8c4149b4042dd4caa7e504c30c9e2a06a78ed155;p=thirdparty%2Fvalgrind.git Fix undefined symbols for architecture x86_64: _global, referenced from: _test_so_global in tls_so-tls_so.o. bz#347982. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15328 --- diff --git a/NEWS b/NEWS index 4cb2f28ea8..98c9537a29 100644 --- a/NEWS +++ b/NEWS @@ -225,6 +225,8 @@ where XXXXXX is the bug number as listed below. == 217236 347389 unhandled syscall: 373 (Linux ARM syncfs) 347978 Remove bash dependencies where not needed +347982 Fix undefined symbols for architecture x86_64: "_global", referenced from: + _test_so_global in tls_so-tls_so.o 348102 Patch updating v4l2 API support 348247 jno jumps wrongly when overflow is not set 348565 Fix detection of command line option availability for clang diff --git a/configure.ac b/configure.ac index edc57d6a6e..57dbfa7cd0 100644 --- a/configure.ac +++ b/configure.ac @@ -2410,7 +2410,7 @@ AC_CACHE_CHECK([for TLS support], vg_cv_tls, [vg_cv_tls=no], [vg_cv_tls=$vg_cv_linktime_tls])])]) -if test "$vg_cv_tls" = yes; then +if test "$vg_cv_tls" = yes -a $is_clang != applellvm; then AC_DEFINE([HAVE_TLS], 1, [can use __thread to define thread-local variables]) fi