[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pthread_sigmask and glibc
From: |
Paul Eggert |
Subject: |
Re: pthread_sigmask and glibc |
Date: |
Tue, 02 Aug 2011 13:33:53 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 |
On 08/02/11 11:12, Eric Blake wrote:
> AC_CHECK_FUNCS_ONCE does not add the mandatory -pthread compiler
> switch, and glibc only provides pthread_sigmask when compiling for
> threads. This seems fishy to me; it seems like we have a bug in
> pthread_sigmask.m4 for not recognizing glibc's version, and
> populating $(LIB_PTHREAD_SIGMASK) with -pthread as appropriate.
pthread_sigmask depends on threadlib, which means this shouldn't be a problem.
threadlib arranges for -pthread (or whatever) as needed.
GNU Emacs avoids threadlib, and arranges for -pthread (or whatever)
itself. But that's fine: packages that avoid threadlib are supposed
to know what they're doing.