Subject: bug#9852: closed (Re: pthread_sigmask() check is bogus when HAVE_PTHREAD is defined)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 24 Oct 2011 03:36:02 +0000

Your bug report

#9852: 24.0.90; pthread_sigmask() check is bogus when HAVE_PTHREAD is defined

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
9852: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9852
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: pthread_sigmask() check is bogus when HAVE_PTHREAD is defined
From: Paul Eggert <[email-masked]>
To: Nali Toja <[email-masked]>
Cc: [email-masked]
Date: Sun, 23 Oct 2011 20:33:32 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks for checking; I'm marking this as done.

Subject: 24.0.90; pthread_sigmask() check is bogus when HAVE_PTHREAD is defined
From: Nali Toja <[email-masked]>
To: [email-masked]
Date: Sun, 23 Oct 2011 21:24:52 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

emacs configure detects (via gnulib) pthread_sigmask even when there is
a stub in libc, marks it broken with

  PTHREAD_SIGMASK_INEFFECTIVE
  PTHREAD_SIGMASK_UNBLOCK_BUG

and links with LIB_PTHREAD during build. What if the version in
LIB_PTHREAD is not broken? gnulib would still wrap it with code
that may not work as expected.
  
forwarding http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/161911
it adds -lpthread to LDFLAGS as a workaround
--
In GNU Emacs 24.0.90.9 (amd64-unknown-freebsd9.9)
 of 2011-10-23 on hidden
configured using `configure  '--without-x'