From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13939: 24.3; Emacs 24.3 release won't compile on Windows with the msvc toolchain Date: Wed, 13 Mar 2013 20:40:33 +0200 Message-ID: <83ppz3i1ni.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1363200121 7680 80.91.229.3 (13 Mar 2013 18:42:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Mar 2013 18:42:01 +0000 (UTC) Cc: 13939@debbugs.gnu.org To: =?UTF-8?Q?=E6=9D=8E=E4=B8=81?= , Fabrice Popineau Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 13 19:42:25 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UFqd6-0004YT-KS for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Mar 2013 19:42:24 +0100 Original-Received: from localhost ([::1]:40810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFqck-0006w4-8K for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Mar 2013 14:42:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45559) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFqcf-0006vv-7D for bug-gnu-emacs@gnu.org; Wed, 13 Mar 2013 14:41:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFqcd-0002m8-VO for bug-gnu-emacs@gnu.org; Wed, 13 Mar 2013 14:41:57 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFqcd-0002kX-S4 for bug-gnu-emacs@gnu.org; Wed, 13 Mar 2013 14:41:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UFqdh-0006xN-WB for bug-gnu-emacs@gnu.org; Wed, 13 Mar 2013 14:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Mar 2013 18:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13939 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13939-submit@debbugs.gnu.org id=B13939.136320012526674 (code B ref 13939); Wed, 13 Mar 2013 18:43:01 +0000 Original-Received: (at 13939) by debbugs.gnu.org; 13 Mar 2013 18:42:05 +0000 Original-Received: from localhost ([127.0.0.1]:51807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UFqcn-0006wB-Hy for submit@debbugs.gnu.org; Wed, 13 Mar 2013 14:42:05 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:61583) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UFqck-0006vb-5L for 13939@debbugs.gnu.org; Wed, 13 Mar 2013 14:42:03 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MJM000003POTT00@a-mtaout22.012.net.il> for 13939@debbugs.gnu.org; Wed, 13 Mar 2013 20:40:34 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MJM0002B3VMRE50@a-mtaout22.012.net.il>; Wed, 13 Mar 2013 20:40:34 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:72428 Archived-At: > Date: Wed, 13 Mar 2013 06:47:56 +0800 > From: =C0=EE=B6=A1 >=20 > The latest 24.3 release won't compile on Windows with Visual C++ 20= 10 sp1 > compiler (comes with windows sdk 7.1). There are two problems: Sorry about that. I guess no one tried to build Emacs with MSVC during the entire pretest period. Perhaps in the future you could do that, so that any such problems could be fixed in time. > 1. nmake.defs has a syntax error on line 119: `!if' should be `!ifd= ef' Or maybe it should say !if $(USE_CRT_DLL) instead? > 2. GC_MARK_STACK is 1 by default in config.nt, but this default is = broken > with the msvc toolchain. When temacs started to dump, > it immediately exited with the message `Invalid function: "DEAD"'. = Eli had > previously told me (in #12878) to see bug #13070, but it didn't sol= ve the > problem. When I tried to change GC_MARK_STACK to 0, Emacs compiled = fine. So > there must be something wrong about the GCPROS_NOOPS way of marking= stack > under the vc compiler, maybe someone familiar with the garbage coll= ector > can fix it. (MinGW gcc is ok with the default) Not only MinGW, but I believe Fabrice (CC'ed) also builds Emacs with MSVC and uses GC_MARK_STACK. Fabrice, can you please comment on this= ?