From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Building cvs emacs on a dual-core machine Date: Thu, 21 Dec 2006 01:27:32 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: dough.gmane.org X-Trace: sea.gmane.org 1166657272 23325 80.91.229.10 (20 Dec 2006 23:27:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Dec 2006 23:27:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 21 00:27:51 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GxAqk-0006mZ-GF for ged-emacs-devel@m.gmane.org; Thu, 21 Dec 2006 00:27:50 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GxAqk-0003LT-1G for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2006 18:27:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GxAqX-0003LE-M6 for emacs-devel@gnu.org; Wed, 20 Dec 2006 18:27:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GxAqT-0003Jg-73 for emacs-devel@gnu.org; Wed, 20 Dec 2006 18:27:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GxAqT-0003Jd-2g for emacs-devel@gnu.org; Wed, 20 Dec 2006 18:27:33 -0500 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GxAqS-0005xD-Ld for emacs-devel@gnu.org; Wed, 20 Dec 2006 18:27:32 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-80-230-22-127.inter.net.il [80.230.22.127]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id GPC18169 (AUTH halo1); Thu, 21 Dec 2006 01:27:30 +0200 (IST) Original-To: Eric Lilja In-reply-to: (message from Eric Lilja on Wed, 20 Dec 2006 22:03:56 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64038 Archived-At: > From: Eric Lilja > Date: Wed, 20 Dec 2006 22:03:56 +0100 > > Ok, here's where it errors out (same with --jobs=2 and --jobs=4): > gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c > -mno-cygwin -mtune=pentium4 -O2 -Di386 -D_CRTAPI1 > =_cdecl -o oo-spd/i386/preprep.o preprep.c > gcc -o oo-spd/i386/preprep.exe \ > -mno-cygwin oo-spd/i386/preprep.o > > Essential Lisp files seem to be missing. You should either > do `make bootstrap' or create `lisp/abbrev.elc' somehow. > > mingw32-make: *** [maybe-bootstrap-SH] Error 255 > > Yes, sorry, I'm on Windows. That's an important piece of knowledge ;-) What version of Make do you have? What does "mingw32-make --version" print? The --jobs option started to work correctly on Windows only in the latest version 3.81 of GNU Make. If you don't have that version of Make, --jobs will be very unreliable on Windows. Also, note that, since the jobserver feature in Make is currently not suppoorted on Windows, the sub-Make's are invoked with the implied "--jobs=1" option, in effect defeating parallelism in recusrive Make invocations. You will have to tweak the recursive Make invocations in the Makefile's to explicitly pass the --jobs=2 option to recursive Make's, in order to see parallelism in subdirectories. Also, what port of sh.exe do you have? > You mentioned build log, what else information can I provide to help > track this problem down? Instead of just "mingw32-make --jobs=4 bootstrap" run this command (from the CMD prompt): mingw32-make --jobs=4 --debug=j bootstrap 2>&1 | tee build.txt The file build.txt will then capture all the output of the build session; post that file here. (I assume that you have a port of GNU `tee'; if not, you will have to install it, or capture the session output in some other way.) I see already a few problems with --jobs related to Windows, but I'd like to see the information requested above to make sure I don't miss anything. TIA