[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7073: no pthread_spinlock_t on Mac OS 10.6.4
From: |
Paul Eggert |
Subject: |
bug#7073: no pthread_spinlock_t on Mac OS 10.6.4 |
Date: |
Tue, 21 Sep 2010 12:03:07 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8 |
Gary, could you please also try the following patch to coreutils,
either by itself, or along with the updated gnulib patch? Thanks.
configure: default gnulib to not using threads
* configure.ac: Set gl_use_threads_default=no so that gnulib is
configured without threading. The only coreutils application that
uses threads (namely 'sort') does not invoke gnulib code in ways
that could lead to races. Setting this flag simplifies
configuration, making it less likely for builds to fail, and
perhaps preventing some runtime gotchas.
diff --git a/configure.ac b/configure.ac
index acd397e..15368f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,6 +35,11 @@ AC_CONFIG_HEADERS([lib/config.h:lib/config.hin])
AM_INIT_AUTOMAKE([1.11.1 dist-xz color-tests parallel-tests])
AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
+# The gnulib code need not be multithread-safe. Only 'sort' is
+# multithreaded, and its concurrent threads do not require gnulib's
+# multithread-aware code.
+gl_use_threads_default=no
+
AC_PROG_CC_STDC
AM_PROG_CC_C_O
AC_PROG_CPP
- bug#7073: no pthread_spinlock_t on Mac OS 10.6.4, (continued)
bug#7073: no pthread_spinlock_t on Mac OS 10.6.4, Gary V. Vaughan, 2010/09/20
- bug#7073: no pthread_spinlock_t on Mac OS 10.6.4, Paul Eggert, 2010/09/20
- bug#7073: no pthread_spinlock_t on Mac OS 10.6.4, Gary V. Vaughan, 2010/09/20
- bug#7073: no pthread_spinlock_t on Mac OS 10.6.4, Paul Eggert, 2010/09/21
- bug#7073: no pthread_spinlock_t on Mac OS 10.6.4, Bruno Haible, 2010/09/21
- bug#7073: no pthread_spinlock_t on Mac OS 10.6.4, Paul Eggert, 2010/09/21
- bug#7073: no pthread_spinlock_t on Mac OS 10.6.4, Bruno Haible, 2010/09/21
- bug#7073: no pthread_spinlock_t on Mac OS 10.6.4,
Paul Eggert <=
- bug#7073: no pthread_spinlock_t on Mac OS 10.6.4, Gary V. Vaughan, 2010/09/22
- bug#7073: no pthread_spinlock_t on Mac OS 10.6.4, Paul Eggert, 2010/09/22
bug#7073: no pthread_spinlock_t on Mac OS 10.6.4, Paul Eggert, 2010/09/21
bug#7073: threadlib vs. pthread modules, Bruno Haible, 2010/09/22
bug#7073: threadlib vs. pthread modules, Paul Eggert, 2010/09/22
bug#7073: no pthread_spinlock_t on Mac OS 10.6.4, Gary V. Vaughan, 2010/09/22
bug#7073: no pthread_spinlock_t on Mac OS 10.6.4, Paul Eggert, 2010/09/22
bug#7073: no pthread_spinlock_t on Mac OS 10.6.4, Gary V. Vaughan, 2010/09/22
bug#7073: no pthread_spinlock_t on Mac OS 10.6.4, Paul Eggert, 2010/09/22