From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#9926: patch: emacs-24.0.91 FTBFS on GNU/Hurd Date: Sun, 06 Nov 2011 21:43:31 -0800 Organization: UCLA Computer Science Department Message-ID: <4EB77003.9040006@cs.ucla.edu> References: <1320101671.5171.11.camel@hp.my.own.domain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1320644661 17351 80.91.229.12 (7 Nov 2011 05:44:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Nov 2011 05:44:21 +0000 (UTC) To: 9926@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 07 06:44:17 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1RNI0H-0006EF-8S for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Nov 2011 06:44:17 +0100 Original-Received: from localhost ([::1]:54659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNI0G-0006TT-Gh for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Nov 2011 00:44:16 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:56907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNI0E-0006TM-2q for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2011 00:44:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNI0C-0004J1-M8 for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2011 00:44:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNI0C-0004Iw-Kc for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2011 00:44:12 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RNI2w-00039C-1s for bug-gnu-emacs@gnu.org; Mon, 07 Nov 2011 00:47:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <1320101671.5171.11.camel@hp.my.own.domain> Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Nov 2011 05:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9926 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9926-submit@debbugs.gnu.org id=B9926.132064478512057 (code B ref 9926); Mon, 07 Nov 2011 05:47:01 +0000 Original-Received: (at 9926) by debbugs.gnu.org; 7 Nov 2011 05:46:25 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RNI2L-00038P-47 for submit@debbugs.gnu.org; Mon, 07 Nov 2011 00:46:25 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RNI2H-00038G-GJ for 9926@debbugs.gnu.org; Mon, 07 Nov 2011 00:46:23 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id A376539E800D for <9926@debbugs.gnu.org>; Sun, 6 Nov 2011 21:43:30 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-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 x8yYVeQ8rcAD for <9926@debbugs.gnu.org>; Sun, 6 Nov 2011 21:43:28 -0800 (PST) Original-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 8BF1239E8007 for <9926@debbugs.gnu.org>; Sun, 6 Nov 2011 21:43:28 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 07 Nov 2011 00:47:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:53643 Archived-At: I installed the following patch in the trunk as bzr 106311 to fix the fails-to-compile bug. Making GC_MAKE_GCPROS_NOOPS the default sounds good, but as it doesn't fix a bug and we're in feature-freeze now I left that for later. === modified file 'src/ChangeLog' --- src/ChangeLog 2011-11-07 02:00:43 +0000 +++ src/ChangeLog 2011-11-07 05:37:49 +0000 @@ -1,3 +1,10 @@ +2011-11-07 Paul Eggert + + * alloc.c (DEADP): New macro, for porting to GNU/Hurd (Bug#9926). + This is also needed for porting to any host where GC_MARK_STACK is + not GC_MAKE_GCPROS_NOOPS. + (which_symbols): Use it. + 2011-11-07 Kenichi Handa * coding.c (coding_set_destination): Check coding->src_pos only === modified file 'src/alloc.c' --- src/alloc.c 2011-10-29 17:25:44 +0000 +++ src/alloc.c 2011-11-07 05:37:49 +0000 @@ -315,6 +315,7 @@ on free lists recognizable in O(1). */ static Lisp_Object Vdead; +#define DEADP(x) EQ (x, Vdead) #ifdef GC_MALLOC_CHECK @@ -411,6 +412,10 @@ #endif /* GC_MARK_STACK || GC_MALLOC_CHECK */ +#ifndef DEADP +# define DEADP(x) 0 +#endif + /* Recording what needs to be marked for gc. */ struct gcpro *gcprolist; @@ -6261,7 +6266,7 @@ int gc_count = inhibit_garbage_collection (); Lisp_Object found = Qnil; - if (!EQ (obj, Vdead)) + if (! DEADP (obj)) { for (sblk = symbol_block; sblk; sblk = sblk->next) {