From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Posix build on Windows: parallel `make' broken Date: Sun, 02 Jun 2013 12:04:53 +0200 Message-ID: <87y5aszv3u.fsf@wanadoo.es> References: <8738t11iya.fsf@wanadoo.es> <83vc5xz0re.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1370167514 7450 80.91.229.3 (2 Jun 2013 10:05:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Jun 2013 10:05:14 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 02 12:05:14 2013 Return-path: Envelope-to: ged-emacs-devel@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 1Uj5A1-0001HS-F5 for ged-emacs-devel@m.gmane.org; Sun, 02 Jun 2013 12:05:13 +0200 Original-Received: from localhost ([::1]:39881 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uj5A1-0006vE-0z for ged-emacs-devel@m.gmane.org; Sun, 02 Jun 2013 06:05:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uj59w-0006sI-RQ for emacs-devel@gnu.org; Sun, 02 Jun 2013 06:05:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uj59v-0007BX-ON for emacs-devel@gnu.org; Sun, 02 Jun 2013 06:05:08 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:59170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uj59v-0007BJ-Hh for emacs-devel@gnu.org; Sun, 02 Jun 2013 06:05:07 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uj59t-0001E0-K4 for emacs-devel@gnu.org; Sun, 02 Jun 2013 12:05:05 +0200 Original-Received: from 237.red-83-43-53.dynamicip.rima-tde.net ([83.43.53.237]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Jun 2013 12:05:05 +0200 Original-Received: from ofv by 237.red-83-43-53.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Jun 2013 12:05:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 60 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 237.red-83-43-53.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:kJh3jXMyNAIpX9S9n/9r9IWLOb4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159978 Archived-At: Eli Zaretskii writes: >> A few days ago I succesfully built Emacs on Windows using the MSYS build >> with `make -j4'. Since, I updated MSYS to the latest package versions >> available through mingw-get and updated Emacs sources too. >> >> Now, `make -j4' hangs. > > GNU Make 3.81 that is part of the official MSYS distribution does not > support parallel execution. That is what you are experiencing. Before upgrading my MSYS install I did a parallel make and it worked (I remember because noticed how the built took a fraction of the usual time.) Maybe the upgrade messed things up. > nt/INSTALL.MSYS says: > > If/when you are confident in your MinGW/MSYS installation, and want > to speed up the builds, we recommend installing a pre-release > version of Make from here: > > https://sourceforge.net/projects/mingwbuilds/files/external-binary-packages/ > > These are snapshot builds of many packages, but you only need > make.exe from there. The advantage of this make.exe is that it > supports parallel builds, so you can use "make -j N" to considerably > speed up your builds > > This describes the version of Make I use, which identifies itself as > 3.82.90, and it does support parallel jobs. It also hangs here, both with Emacs and with an unrelated project. Maybe the problem is MSYS. Oscar@winxppro-vm /d/dev/emacs/autoconf $ time make -j 4 bootstrap [...] rm -f *.tab.c Makefile:847: recipe for target `bootstrap-clean' failed make: *** [bootstrap-clean] Error 1 make: INTERNAL: Exiting with 1 jobserver tokens available; should be 4! real 8m26.837s user 2m43.179s sys 2m53.622s Oscar@winxppro-vm /d/dev/emacs/autoconf $ which make /mingw/bin/make.exe Oscar@winxppro-vm /d/dev/emacs/autoconf $ make -v GNU Make 3.82.90 Built for i686-pc-msys Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.