all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Angelo Graziosi <angelo.graziosi@alice.it>
Cc: emacs-devel@gnu.org
Subject: Re: Bootstrap failure using 'make -j4' [Cygwin]
Date: Sat, 22 May 2010 09:57:46 +0300	[thread overview]
Message-ID: <83d3wozamt.fsf@gnu.org> (raw)
In-Reply-To: <4BF70D0B.9050106@alice.it>

> Date: Sat, 22 May 2010 00:45:31 +0200
> From: Angelo Graziosi <angelo.graziosi@alice.it>
> CC: emacs-devel@gnu.org
> 
> > How many CPU cores do you have on that machine?
> 
> It is an AMD Athlon 64 X2 Dual Core Processor 3800+ 2.03 GHz, 1.75GB RAM

If you have only 2 cores, then -j4 is not really useful, is it?  You
will never have more than 2 jobs running at the same time.  I think
the usual rule of thumb is to use 1.5 times the number of cores as the
argument to -j.  In your case, that would be -j3.

> > If nothing else gives a clue, post the entire transcript of the
> > "configure" and "make -j4 bootstrap" steps.
> 
> For completeness I have attached the full build log (40K, 8K compressed).

Thanks.  I think your problem begins with this error message I see in
the log:

   mkdir: impossibile creare la directory "deps": File exists

This comes from the following fragment in src/Makefile.in:

    .c.o:
	    @$(MKDEPDIR)
	    $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<

where MKDEPDIR expands to this:

    test -d ${DEPDIR} || mkdir ${DEPDIR}

Now, if more than one .c.o rule tries to create the `deps'
subdirectory at the same time, one of them might lose due to a race
condition, and fail the entire compilation.

Could you please try changing this line:

	    @$(MKDEPDIR)
into
	    -@$(MKDEPDIR)

and see if that makes the problem go away?



  reply	other threads:[~2010-05-22  6:57 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-21 14:53 Bootstrap failure using 'make -j4' [Cygwin] Angelo Graziosi
2010-05-21 16:16 ` Eli Zaretskii
2010-05-21 16:57   ` Angelo Graziosi
2010-05-21 17:43     ` Eli Zaretskii
2010-05-21 17:59     ` Eli Zaretskii
2010-05-21 18:45       ` Eli Zaretskii
2010-05-21 22:45       ` Angelo Graziosi
2010-05-22  6:57         ` Eli Zaretskii [this message]
2010-05-22  7:16           ` Glenn Morris
2010-05-22  7:29             ` Glenn Morris
2010-05-22  8:19             ` Eli Zaretskii
2010-05-22 11:20               ` Andreas Schwab
2010-05-22 12:53                 ` Eli Zaretskii
2010-05-22 11:00           ` Jan Djärv
2010-05-22 12:46             ` Eli Zaretskii
2010-05-22 13:00               ` Jan Djärv
2010-05-22 13:06                 ` David Engster
2010-05-22 13:45                   ` Jan Djärv
2010-05-22 13:21                 ` Eli Zaretskii
2010-05-22 13:41                   ` David Engster
2010-05-22 14:00                     ` Jan Djärv
2010-05-22 13:54                   ` Jan Djärv
2010-05-22 14:10                     ` Eli Zaretskii
2010-05-22 13:35           ` Angelo Graziosi
2010-05-22 14:08             ` Eli Zaretskii
2010-05-23 11:51           ` Angelo Graziosi
2010-05-23 17:12             ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=83d3wozamt.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=angelo.graziosi@alice.it \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.