]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix undefined symbols for architecture x86_64: _global, referenced from: _test_so_glo...
authorRhys Kidd <rhyskidd@gmail.com>
Mon, 8 Jun 2015 08:56:33 +0000 (08:56 +0000)
committerRhys Kidd <rhyskidd@gmail.com>
Mon, 8 Jun 2015 08:56:33 +0000 (08:56 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15328

NEWS
configure.ac

diff --git a/NEWS b/NEWS
index 4cb2f28ea8e6b344a8d78f56129942323e6d951d..98c9537a29271f1e7b15d70368b8377e8fbfeb8f 100644 (file)
--- 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
index edc57d6a6e580de87c5ceef2184f5caaa8343133..57dbfa7cd0f505258af85d4e85f9160327bd13cf 100644 (file)
@@ -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