GNU bug report logs - #9852
24.0.90; pthread_sigmask() check is bogus when HAVE_PTHREAD is defined

Previous Next

Package: emacs;

Reported by: Nali Toja <nalitoja <at> gmail.com>

Date: Sun, 23 Oct 2011 21:27:01 UTC

Severity: normal

Found in version 24.0.90

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nali Toja <nalitoja <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.90; pthread_sigmask() check is bogus when HAVE_PTHREAD is defined
Date: Sun, 23 Oct 2011 21:24:52 +0000
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'




This bug report was last modified 13 years and 272 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.