From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Svante Signell Newsgroups: gmane.emacs.bugs Subject: bug#9926: patch: emacs-24.0.91 FTBFS on GNU/Hurd Date: Mon, 31 Oct 2011 23:54:31 +0100 Message-ID: <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 1320102400 3418 80.91.229.12 (31 Oct 2011 23:06:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 Oct 2011 23:06:40 +0000 (UTC) To: 9926@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 01 00:06:36 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 1RL0w7-0007Et-RY for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Nov 2011 00:06:35 +0100 Original-Received: from localhost ([::1]:51191 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RL0w7-0004sP-21 for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Oct 2011 19:06:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RL0li-0002LY-Mb for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2011 18:55:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RL0lh-0007OV-IV for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2011 18:55:50 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47573) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RL0lh-0007Nk-FZ for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2011 18:55:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RL0nq-0002S9-F0 for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2011 18:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Svante Signell Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 31 Oct 2011 22:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9926 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13201018229358 (code B ref -1); Mon, 31 Oct 2011 22:58:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Oct 2011 22:57:02 +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 1RL0mq-0002QZ-Gj for submit@debbugs.gnu.org; Mon, 31 Oct 2011 18:57:01 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RL0mm-0002QQ-3D for submit@debbugs.gnu.org; Mon, 31 Oct 2011 18:56:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RL0ka-0006ca-W4 for submit@debbugs.gnu.org; Mon, 31 Oct 2011 18:54:42 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:53165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RL0ka-0006cO-RU for submit@debbugs.gnu.org; Mon, 31 Oct 2011 18:54:40 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:49267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RL0kZ-0001Sa-L1 for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2011 18:54:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RL0kY-0006Zf-JW for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2011 18:54:39 -0400 Original-Received: from smtp-2.sys.kth.se ([130.237.32.160]:48755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RL0kY-0006Yf-9z for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2011 18:54:38 -0400 Original-Received: from mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) by smtp-2.sys.kth.se (Postfix) with ESMTP id 78EB214DC89 for ; Mon, 31 Oct 2011 23:54:35 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Original-Received: from smtp-2.sys.kth.se ([130.237.32.160]) by mailscan-1.sys.kth.se (mailscan-1.sys.kth.se [130.237.32.91]) (amavisd-new, port 10024) with LMTP id PVBHNEabJFed; Mon, 31 Oct 2011 23:54:34 +0100 (CET) X-KTH-Auth: srs@kth.se [78.69.11.59] X-KTH-mail-from: srs@kth.se Original-Received: from [192.168.0.6] (78-69-11-59-no42.tbcn.telia.com [78.69.11.59]) by smtp-2.sys.kth.se (Postfix) with ESMTP id AF0B014DC87; Mon, 31 Oct 2011 23:54:34 +0100 (CET) X-Mailer: Evolution 3.0.3-2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 31 Oct 2011 18:58:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Mon, 31 Oct 2011 19:06:32 -0400 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:53375 Archived-At: Hello, Interesting to see that emacs-24.1 is on its way with many new features. When trying to compile the latest pre-release under GNU/Hurd, the build fails due to a missing definition in src/gnu.h. Inlined is a patch to add the proper definition of GC_MARK_STACK (as on many of the other architectures). Otherwise the global variable: static Lisp_Object Vdead; is undefined on line 6264: if (!EQ (obj, Vdead)) in function which_symbols(). Thanks! --- emacs-24.0.91/src/s/gnu.h~ 2011-10-14 02:40:36.000000000 +0200 +++ emacs-24.0.91/src/s/gnu.h 2011-10-31 23:28:48.000000000 +0100 @@ -44,3 +44,5 @@ #endif /* !_IO_STDIO_H */ #endif /* emacs */ +/* Use the GC_MAKE_GCPROS_NOOPS (see lisp.h) method for marking the stack. */ +#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS