From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrice Popineau Newsgroups: gmane.emacs.bugs Subject: bug#13939: 24.3; Emacs 24.3 release won't compile on Windows with the msvc toolchain Date: Thu, 14 Mar 2013 16:13:09 +0100 Message-ID: References: <83ppz3i1ni.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b343a7c1a3bdd04d7e3f77d X-Trace: ger.gmane.org 1363274043 28717 80.91.229.3 (14 Mar 2013 15:14:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Mar 2013 15:14:03 +0000 (UTC) Cc: =?UTF-8?Q?=E6=9D=8E=E4=B8=81?= , 13939 <13939@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 14 16:14: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 1UG9rL-00064l-Nd for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Mar 2013 16:14:23 +0100 Original-Received: from localhost ([::1]:53006 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG9qz-0005y7-4j for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Mar 2013 11:14:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG9qt-0005vr-Ff for bug-gnu-emacs@gnu.org; Thu, 14 Mar 2013 11:13:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UG9qo-0006mI-Ba for bug-gnu-emacs@gnu.org; Thu, 14 Mar 2013 11:13:55 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UG9qo-0006mC-7A for bug-gnu-emacs@gnu.org; Thu, 14 Mar 2013 11:13:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UG9rx-0003fK-N2 for bug-gnu-emacs@gnu.org; Thu, 14 Mar 2013 11:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Fabrice Popineau Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Mar 2013 15:15: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.136327409014060 (code B ref 13939); Thu, 14 Mar 2013 15:15:01 +0000 Original-Received: (at 13939) by debbugs.gnu.org; 14 Mar 2013 15:14:50 +0000 Original-Received: from localhost ([127.0.0.1]:54209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UG9rm-0003ej-6j for submit@debbugs.gnu.org; Thu, 14 Mar 2013 11:14:50 -0400 Original-Received: from mail-ea0-f181.google.com ([209.85.215.181]:63776) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UG9rj-0003eW-Q3 for 13939@debbugs.gnu.org; Thu, 14 Mar 2013 11:14:48 -0400 Original-Received: by mail-ea0-f181.google.com with SMTP id z10so1027450ead.12 for <13939@debbugs.gnu.org>; Thu, 14 Mar 2013 08:13:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=YRUYWGS+zaDfQJj9Yb3QuDBPyCET4cZoHRITvOqndzc=; b=wUVJG6+j/Pr4tCTRgIcyWc2LoHrRyq7bwhF+x/ue2JCFEi+njO0juJ4+yPQLMkdrLX S6NP2fvuU3oMf4Xyye7QVfLeaSexrT2oULpDfqGjZfkO3Gj6JCJTsR6gEAgDvNLHB3Xi hjpU0FS49oj5Ht3mI+ZZXpH2d1Yv1hbATZWSyXZlgyS98KTBPj0x0gFLtxT2PllHxgrK ljnFOkjES3Vy1rdRhRM2vpArwyFt8yOsQxYA8kgK2Vv/b0Q7eJ6QePssbKkreyawJg7v E42Ny0j231msMrwUep4o6uxtVuR6HoqNjOdAh2wtCXL5zB2rIiiEKO+4K1MyE7E7PKM8 7uXg== X-Received: by 10.14.207.73 with SMTP id m49mr7812532eeo.24.1363274010072; Thu, 14 Mar 2013 08:13:30 -0700 (PDT) Original-Received: by 10.14.1.7 with HTTP; Thu, 14 Mar 2013 08:13:09 -0700 (PDT) In-Reply-To: <83ppz3i1ni.fsf@gnu.org> 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:72470 Archived-At: --047d7b343a7c1a3bdd04d7e3f77d Content-Type: text/plain; charset=ISO-8859-1 > 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 solve 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 collector > > 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? > I can confirm that with GC_MARK_STACK=0, 24.3 does compile with the MS compiler. With GC_MARK_STACK=1, 24.3 doesn't compile, but the current trunk (well, my copy, but which is quite close) does compile, 32bits and 64bits. It may be a bit hairy to find out why. Fabrice --047d7b343a7c1a3bdd04d7e3f77d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



> 2. GC_MARK_STACK is 1 by default in config.nt, but this default is bro= ken
> with the msvc toolchain. =A0When temacs started to dump,
> it immediately exited with the message `Invalid function: "DEAD&q= uot;'. Eli had
> previously told me (in #12878) to see bug #13070, but it didn't so= lve the
> problem. When I tried to change GC_MARK_STACK to 0, Emacs compiled fin= e. So
> there must be something wrong about the GCPROS_NOOPS way of marking st= ack
> under the vc compiler, maybe someone familiar with the garbage collect= or
> 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. =A0Fabrice, can you please comment on this?

I can confirm that = with GC_MARK_STACK=3D0, 24.3 does compile with the MS compiler.
With GC_MARK_STACK=3D1, 24.3 doesn't compile, but = the current trunk (well, my copy, but which is quite close) does compile, 3= 2bits and 64bits.
It may be a bit hairy to find out why.

Fabrice

--047d7b343a7c1a3bdd04d7e3f77d--