unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Lilja <mindcooler@gmail.com>
Subject: Re: Building cvs emacs on a dual-core machine
Date: Thu, 21 Dec 2006 01:14:45 +0100	[thread overview]
Message-ID: <emcjlj$4s5$1@sea.gmane.org> (raw)
In-Reply-To: <uodpykv17.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2717 bytes --]

Eli Zaretskii wrote:
>> From: Eric Lilja <mindcooler@gmail.com>
>> 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.

$ mingw32-make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i686-pc-mingw32

> 
> 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?

$ sh.exe --version
GNU bash, version 3.2.9(10)-release (i686-pc-cygwin)
Copyright (C) 2005 Free Software Foundation, Inc.

> 
>> 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.

I ran it and I'm attaching build.txt, but I ran it from TCI running bash 
instead of a regular cmd prompt, hope that I still was able to provide 
you with the information you needed.

> 
> TIA

- Eric

[-- Attachment #2: build.txt --]
[-- Type: text/plain, Size: 2621 bytes --]

GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i686-pc-mingw32
CreateProcess(C:\cygwin\bin\echo.exe,echo,...)
CreateProcess(C:\cygwin\bin\sh.exe,C:/cygwin/bin/sh.exe -c "echo [Please ignore a syntax error on the next line - it is intentional] 1>&2",...)
[Please ignore a syntax error on the next line - it is intentional]
CreateProcess(C:\cygwin\bin\sh.exe,C:/cygwin/bin/sh.exe -c "echo foo\"",...)
/usr/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
mkdir "oo-spd"
CreateProcess(C:\cygwin\bin\sh.exe,C:/cygwin/bin/sh.exe -c "mkdir \"oo-spd\"",...)
Putting child 0x009e7808 (oo-spd) PID 10413920 on the chain.
CreateProcess(C:\cygwin\bin\echo.exe,echo Using C:/cygwin/bin/sh.exe as shell.,...)
Putting child 0x009ef2c8 (which-sh) PID 10425384 on the chain.
Using C:/cygwin/bin/sh.exe as shell.
CreateProcess(C:\cygwin\bin\sh.exe,C:/cygwin/bin/sh.exe -c "if [ ! -f ../lisp/abbrev.elc ] ; then \
  echo; \
  echo \"Essential Lisp files seem to be missing.  You should either\"; \
  echo \"do \`make bootstrap' or create \`lisp/abbrev.elc' somehow.\";  \
  echo; \
  exit -1; \
fi",...)
Putting child 0x009f2df0 (maybe-bootstrap-SH) PID 10441560 on the chain.
Live child 0x009f2df0 (maybe-bootstrap-SH) PID 10441560 
Live child 0x009ef2c8 (which-sh) PID 10425384 
Live child 0x009e7808 (oo-spd) PID 10413920 
Reaping winning child 0x009ef2c8 PID 10425384 
Removing child 0x009ef2c8 PID 10425384 from chain.
Live child 0x009f2df0 (maybe-bootstrap-SH) PID 10441560 
Live child 0x009e7808 (oo-spd) PID 10413920 

Essential Lisp files seem to be missing.  You should either
do `make bootstrap' or create `lisp/abbrev.elc' somehow.

Reaping winning child 0x009e7808 PID 10413920 
Removing child 0x009e7808 PID 10413920 from chain.
mkdir "oo-spd/i386"
CreateProcess(C:\cygwin\bin\sh.exe,C:/cygwin/bin/sh.exe -c "mkdir \"oo-spd/i386\"",...)
Putting child 0x009f0f98 (oo-spd/i386) PID 10413920 on the chain.
Live child 0x009f0f98 (oo-spd/i386) PID 10413920 
Live child 0x009f2df0 (maybe-bootstrap-SH) PID 10441560 
Reaping losing child 0x009f2df0 PID 10441560 
mingw32-make: *** [maybe-bootstrap-SH] Error 255
Removing child 0x009f2df0 PID 10441560 from chain.
mingw32-make: *** Waiting for unfinished jobs....
Live child 0x009f0f98 (oo-spd/i386) PID 10413920 
Reaping winning child 0x009f0f98 PID 10413920 
Removing child 0x009f0f98 PID 10413920 from chain.

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2006-12-21  0:14 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-20 11:47 Building cvs emacs on a dual-core machine Eric Lilja
2006-12-20 14:40 ` Kim F. Storm
2006-12-20 19:05   ` Eli Zaretskii
2006-12-21 11:04     ` Kim F. Storm
2006-12-22 14:39     ` Chris Moore
2006-12-22 21:37       ` Eli Zaretskii
2006-12-22 23:39         ` Chris Moore
2006-12-20 18:54 ` Eli Zaretskii
2006-12-20 19:48   ` Eric Lilja
2006-12-20 21:03     ` Eric Lilja
2006-12-20 23:27       ` Eli Zaretskii
2006-12-21  0:14         ` Eric Lilja [this message]
2006-12-22 21:50           ` Eli Zaretskii
2006-12-22 23:30             ` Eric Lilja
2006-12-23  1:50               ` Eli Zaretskii
2006-12-23  2:04                 ` Eric Lilja
2006-12-23 10:42                   ` Eli Zaretskii
2006-12-23 10:59                     ` Eric Lilja
2006-12-23 11:24                       ` Eric Lilja
2006-12-23 12:46                         ` Eli Zaretskii
2007-01-03 20:56                           ` Eric Lilja
2007-01-04  4:15                             ` Eli Zaretskii
2007-01-04 20:17                             ` Randal L. Schwartz
2007-01-04 21:59                               ` Eli Zaretskii
2006-12-23  1:54             ` Juanma Barranquero
2006-12-23  9:53               ` Eli Zaretskii
2006-12-20 22:19 ` Richard Stallman
2006-12-26 19:22   ` Randal L. Schwartz
2006-12-27 21:16     ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='emcjlj$4s5$1@sea.gmane.org' \
    --to=mindcooler@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).