From unknown Mon Aug 18 14:26:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#10201 <10201@debbugs.gnu.org> To: bug#10201 <10201@debbugs.gnu.org> Subject: Status: emacs-24.0.92 problem on MirBSD 10 Reply-To: bug#10201 <10201@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:26:31 +0000 retitle 10201 emacs-24.0.92 problem on MirBSD 10 reassign 10201 emacs submitter 10201 beebe@math.utah.edu severity 10201 normal tag 10201 patch moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 03 00:45:30 2011 Received: (at submit) by debbugs.gnu.org; 3 Dec 2011 05:45:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RWiPg-00062C-Ob for submit@debbugs.gnu.org; Sat, 03 Dec 2011 00:45:29 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RWiPd-000622-3G for submit@debbugs.gnu.org; Sat, 03 Dec 2011 00:45:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWiPJ-0000sl-1D for submit@debbugs.gnu.org; Sat, 03 Dec 2011 00:45:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:46783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWiPI-0000sN-UY for submit@debbugs.gnu.org; Sat, 03 Dec 2011 00:45:04 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWiPH-00009h-LW for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2011 00:45:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWiPF-0000rT-9R for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2011 00:45:03 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:57012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWiPE-0000rN-V3 for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2011 00:45:01 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 8651639E800A; Fri, 2 Dec 2011 21:44:58 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nmlQP+-zD0c9; Fri, 2 Dec 2011 21:44:55 -0800 (PST) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 9125F39E8006; Fri, 2 Dec 2011 21:44:55 -0800 (PST) Message-ID: <4ED9B758.7080903@cs.ucla.edu> Date: Fri, 02 Dec 2011 21:44:56 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: Re: emacs-24.0.92 problem on MirBSD 10 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: submit Cc: "Nelson H. F. Beebe" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) [Following up on bug-gnu-emacs, so that this gets a Bug#.] In on 12/02/11 18:01, Nelson H. F. Beebe wrote: > 599c599 > < #define HAVE_PTHREAD_SIGMASK 1 > --- > /* #define HAVE_PTHREAD_SIGMASK 1 */ Thanks for the bug report. Why was this HAVE_PTHREAD_SIGMASK patch needed? Your email doesn't say. MirBSD has pthread_sigmask, according to , so pthread_sigmask should work. > This resulted in link failure becaue gmalloc.c assumes that > pthread_atfork() is available when HAVE_PTHREAD is defined,=20 > but it is not in the MirBSD /usr/lib/libpthread.a library: Thanks. Does the following patch fix things for you? If you don't have the autotools installed you can simulate it by substituting "pthread_atfork" for every instance of "pthread_self" in the file "configure". =3D=3D=3D modified file 'ChangeLog' --- ChangeLog 2011-12-03 04:06:45 +0000 +++ ChangeLog 2011-12-03 05:37:32 +0000 @@ -1,5 +1,10 @@ 2011-12-03 Paul Eggert =20 + * configure.in (HAVE_PTHREAD): Check for pthread_atfork + if linking to gmalloc.c. This should prevents a build failure on + MirBSD 10 reported by Nelson H. F. Beebe in + . + * .bzrignore: Add config.cache. =20 2011-11-27 Jan Dj=C3=A4rv =3D=3D=3D modified file 'configure.in' --- configure.in 2011-11-30 16:23:05 +0000 +++ configure.in 2011-12-03 05:18:33 +0000 @@ -1717,7 +1717,15 @@ LIB_PTHREAD=3D AC_CHECK_HEADERS(pthread.h) if test "$ac_cv_header_pthread_h"; then - AC_CHECK_LIB(pthread, pthread_self, HAVE_PTHREAD=3Dyes) + dnl gmalloc.c uses pthread_atfork, which is not available on older-sty= le + dnl hosts such as MirBSD 10, so test for pthread_atfork instead of mer= ely + dnl testing for pthread_self if Emacs uses gmalloc.c. + if test "$GMALLOC_OBJ" =3D gmalloc.o; then + emacs_pthread_function=3Dpthread_atfork + else + emacs_pthread_function=3Dpthread_self + fi + AC_CHECK_LIB(pthread, $emacs_pthread_function, HAVE_PTHREAD=3Dyes) fi if test "$HAVE_PTHREAD" =3D yes; then case "${canonical}" in From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 16 18:51:06 2011 Received: (at 10201) by debbugs.gnu.org; 16 Dec 2011 23:51:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbhYQ-0001hM-HI for submit@debbugs.gnu.org; Fri, 16 Dec 2011 18:51:06 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbhYO-0001hF-43 for 10201@debbugs.gnu.org; Fri, 16 Dec 2011 18:51:04 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RbhWn-0001yf-NI; Fri, 16 Dec 2011 18:49:25 -0500 From: Glenn Morris To: Paul Eggert Subject: Re: bug#10201: emacs-24.0.92 problem on MirBSD 10 References: <4ED9B758.7080903@cs.ucla.edu> X-Spook: dictionary colonel radar Serbian cybercash assassination X-Ran: mFs`.4e]Z>*E?>q;mv\QHPY~ (Paul Eggert's message of "Fri, 02 Dec 2011 21:44:56 -0800") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 10201 Cc: 10201@debbugs.gnu.org, "Nelson H. F. Beebe" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) Paul Eggert wrote: > Does the following patch fix things for you? The OP tends not to reply to requests for more information. If you think your patch fixes the issue, I suggest installing it and closing this report. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 16 18:51:27 2011 Received: (at control) by debbugs.gnu.org; 16 Dec 2011 23:51:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbhYk-0001hr-QO for submit@debbugs.gnu.org; Fri, 16 Dec 2011 18:51:27 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbhYj-0001hl-AG for control@debbugs.gnu.org; Fri, 16 Dec 2011 18:51:25 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RbhX9-0001zk-AP for control@debbugs.gnu.org; Fri, 16 Dec 2011 18:49:47 -0500 Date: Fri, 16 Dec 2011 18:49:47 -0500 Message-Id: Subject: control message for bug 10201 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) submitter 10201 beebe@math.utah.edu From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 16 19:55:13 2011 Received: (at 10201-done) by debbugs.gnu.org; 17 Dec 2011 00:55:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbiYS-0003wk-SG for submit@debbugs.gnu.org; Fri, 16 Dec 2011 19:55:13 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RbiYQ-0003wc-4d for 10201-done@debbugs.gnu.org; Fri, 16 Dec 2011 19:55:11 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 44FB3A60001; Fri, 16 Dec 2011 16:53:31 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cf1iR9jsXsnf; Fri, 16 Dec 2011 16:53:31 -0800 (PST) Received: from [192.168.1.10] (pool-71-189-109-235.lsanca.fios.verizon.net [71.189.109.235]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id E1FFC39E8010; Fri, 16 Dec 2011 16:53:30 -0800 (PST) Message-ID: <4EEBE80D.2070109@cs.ucla.edu> Date: Fri, 16 Dec 2011 16:53:33 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: Glenn Morris Subject: Re: bug#10201: emacs-24.0.92 problem on MirBSD 10 References: <4ED9B758.7080903@cs.ucla.edu> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 10201-done Cc: "Nelson H. F. Beebe" , 10201-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) On 12/16/11 15:49, Glenn Morris wrote: > If you think your patch fixes the issue, I suggest installing it and > closing this report. Thanks, I did that, as bzr 106688. From unknown Mon Aug 18 14:26:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 14 Jan 2012 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator