From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Nelson H. F. Beebe" Newsgroups: gmane.emacs.devel Subject: emacs-24.0.92 problem on MirBSD 10 Date: Fri, 2 Dec 2011 19:01:34 -0700 (MST) Message-ID: NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1322877707 13751 80.91.229.12 (3 Dec 2011 02:01:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Dec 2011 02:01:47 +0000 (UTC) Cc: beebe@math.utah.edu To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 03 03:01:43 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RWev8-0001LA-P1 for ged-emacs-devel@m.gmane.org; Sat, 03 Dec 2011 03:01:43 +0100 Original-Received: from localhost ([::1]:56405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWev8-0005ll-4p for ged-emacs-devel@m.gmane.org; Fri, 02 Dec 2011 21:01:42 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWev4-0005lV-MK for emacs-devel@gnu.org; Fri, 02 Dec 2011 21:01:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWev2-0002Vi-RH for emacs-devel@gnu.org; Fri, 02 Dec 2011 21:01:38 -0500 Original-Received: from mail.math.utah.edu ([155.101.98.135]:41822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWev2-0002VH-Kq for emacs-devel@gnu.org; Fri, 02 Dec 2011 21:01:36 -0500 Original-Received: from psi.math.utah.edu (psi.math.utah.edu [155.101.96.19]) by mail.math.utah.edu (8.14.5/8.14.5) with ESMTP id pB321YTx013202; Fri, 2 Dec 2011 19:01:34 -0700 (MST) Original-Received: from psi.math.utah.edu (localhost [127.0.0.1]) by psi.math.utah.edu (8.14.4/8.14.4) with ESMTP id pB321Yv9018887; Fri, 2 Dec 2011 19:01:34 -0700 (MST) Original-Received: (from beebe@localhost) by psi.math.utah.edu (8.14.4/8.14.4/Submit) id pB321Yta018886; Fri, 2 Dec 2011 19:01:34 -0700 (MST) X-US-Mail: "Department of Mathematics, 110 LCB, University of Utah, 155 S 1400 E RM 233, Salt Lake City, UT 84112-0090, USA" X-Telephone: +1 801 581 5254 X-FAX: +1 801 585 1640, +1 801 581 4148 X-URL: http://www.math.utah.edu/~beebe X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.8 (mail.math.utah.edu [155.101.98.135]); Fri, 02 Dec 2011 19:01:34 -0700 (MST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 155.101.98.135 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146446 Archived-At: I've got emacs-24.0.92 built and installed on several local systems, but a few are still giving me trouble. On MirBSD 10, I've had to help things by supplying additional libraries, several of which I updated today from their latest source releases: make LIBPNG='-lpng -lz -lm -ltiff -llzma -lpng15 ' This resulted in link failure becaue gmalloc.c assumes that pthread_atfork() is available when HAVE_PTHREAD is defined, but it is not in the MirBSD /usr/lib/libpthread.a library: % nm /usr/lib/libpthread.a | grep ' T ' | awk '/pthread_/ {print $3}' | sort -u | pr -f -c3 -w100 pthread_attr_destroy pthread_detach pthread_resume_all_np pthread_attr_getdetachstate pthread_equal pthread_resume_np pthread_attr_getinheritsched pthread_exit pthread_rwlock_destroy pthread_attr_getschedparam pthread_getconcurrency pthread_rwlock_init pthread_attr_getschedpolicy pthread_getprio pthread_rwlock_rdlock pthread_attr_getscope pthread_getschedparam pthread_rwlock_tryrdlock pthread_attr_getstack pthread_getspecific pthread_rwlock_trywrlock pthread_attr_getstackaddr pthread_join pthread_rwlock_unlock pthread_attr_getstacksize pthread_key_create pthread_rwlock_wrlock pthread_attr_init pthread_key_delete pthread_rwlockattr_destroy pthread_attr_setcreatesuspend_np pthread_kill pthread_rwlockattr_getpshared pthread_attr_setdetachstate pthread_main_np pthread_rwlockattr_init pthread_attr_setinheritsched pthread_multi_np pthread_rwlockattr_setpshared pthread_attr_setschedparam pthread_mutex_destroy pthread_self pthread_attr_setschedpolicy pthread_mutex_getprioceiling pthread_set_name_np pthread_attr_setscope pthread_mutex_init pthread_setcancelstate pthread_attr_setstack pthread_mutex_lock pthread_setcanceltype pthread_attr_setstackaddr pthread_mutex_setprioceiling pthread_setconcurrency pthread_attr_setstacksize pthread_mutex_trylock pthread_setprio pthread_cancel pthread_mutex_unlock pthread_setschedparam pthread_cleanup_pop pthread_mutexattr_destroy pthread_setspecific pthread_cleanup_push pthread_mutexattr_getkind_np pthread_sigmask pthread_cond_broadcast pthread_mutexattr_getprioceiling pthread_single_np pthread_cond_destroy pthread_mutexattr_getprotocol pthread_stackseg_np pthread_cond_init pthread_mutexattr_gettype pthread_suspend_all_np pthread_cond_signal pthread_mutexattr_init pthread_suspend_np pthread_cond_timedwait pthread_mutexattr_setkind_np pthread_switch_add_np pthread_cond_wait pthread_mutexattr_setprioceiling pthread_switch_delete_np pthread_condattr_destroy pthread_mutexattr_setprotocol pthread_testcancel pthread_condattr_init pthread_mutexattr_settype pthread_yield I then made these patches: % diff src/config.h.~1~ src/config.h 593c593 < #define HAVE_PTHREAD 1 --- > /* #define HAVE_PTHREAD 1 */ 596c596 < #define HAVE_PTHREAD_H 1 --- > /* #define HAVE_PTHREAD_H 1 */ 599c599 < #define HAVE_PTHREAD_SIGMASK 1 --- > /* #define HAVE_PTHREAD_SIGMASK 1 */ Compilation was then successful, and I'm installing the new version now. ------------------------------------------------------------------------------- - Nelson H. F. Beebe Tel: +1 801 581 5254 - - University of Utah FAX: +1 801 581 4148 - - Department of Mathematics, 110 LCB Internet e-mail: beebe@math.utah.edu - - 155 S 1400 E RM 233 beebe@acm.org beebe@computer.org - - Salt Lake City, UT 84112-0090, USA URL: http://www.math.utah.edu/~beebe/ - -------------------------------------------------------------------------------