all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: emacs-devel@gnu.org
Subject: Re: parallel make bug
Date: Wed, 27 Jun 2007 20:57:55 +0300	[thread overview]
Message-ID: <u4pktnuu4.fsf@gnu.org> (raw)
In-Reply-To: <200706270529.l5R5TuRb023636@oogie-boogie.ics.uci.edu> (message from Dan Nicolaescu on Tue, 26 Jun 2007 22:29:52 -0700)

> Cc: emacs-devel@gnu.org
> From: Dan Nicolaescu <dann@ics.uci.edu>
> Date: Tue, 26 Jun 2007 22:29:52 -0700
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
>   > > From: Dan Nicolaescu <dann@ics.uci.edu>
>   > > Date: Tue, 26 Jun 2007 14:10:05 -0700
>   > > 
>   > > 
>   > > Doing make -j8 bootstrap  on a 2 processor machine:
>   > > 
>   > > Directories: /home/dann/emacs/Emacs-CVS/emacs/lisp/. /home/dann/emacs/Emacs-CVS/emacs/lisp/./eshell /home/dann/emacs/Emacs-CVS/emacs/lisp/./mail /home/dann/emacs/Emacs-CVS/emacs/lisp/./language /home/dann/emacs/Emacs-CVS/emacs/lisp/./emacs-lisp /home/dann/emacs/Emacs-CVS/emacs/lisp/./calc /home/dann/emacs/Emacs-CVS/emacs/lisp/./gnus /home/dann/emacs/Emacs-CVS/emacs/lisp/./textmodes /home/dann/emacs/Emacs-CVS/emacs/lisp/./net /home/dann/emacs/Emacs-CVS/emacs/lisp/./mh-e /home/dann/emacs/Emacs-CVS/emacs/lisp/./calendar /home/dann/emacs/Emacs-CVS/emacs/lisp/./progmodes /home/dann/emacs/Emacs-CVS/emacs/lisp/./erc /home/dann/emacs/Emacs-CVS/emacs/lisp/./international /home/dann/emacs/Emacs-CVS/emacs/lisp/./emulation /home/dann/emacs/Emacs-CVS/emacs/lisp/./url /home/dann/emacs/Emacs-CVS/emacs/lisp/./play
>   > > Compiling /home/dann/emacs/Emacs-CVS/emacs/lisp/emacs-lisp/byte-opt.el
>   > > IO error reading /home/dann/emacs/Emacs-CVS/emacs/lisp/subdirs.el: Input/output error
>   > > make[2]: *** [autoloads] Error 255
>   > > make[2]: *** Waiting for unfinished jobs....
>   > > 
>   > > Is there any reason $(lisp)/subdirs.el should start a recursive make
>   > > instead of just depending on update-subdirs like in the patch below?
>   > 
>   > Is there a reason for the I/O error?  I don't see why it should
>   > happen; do you?
> 
> For bootstrap, update-subdirs and autoloads can execute in
> parallel. autoloads will run another make to do update-subdirs.
> If "autoloads" creates subdirs.el first while "update-subdirs" is not
> running, it is possible that later "update-subdirs" deletes subdirs.el
> while "autoloads" is using it. Am I off base here? 

If you think the conflict is between "autoloads" and "update-subdirs",
then the usual solution is to serialize them: make "update-subdirs"
touch some file, and make "autoloads" depend on that file.

  parent reply	other threads:[~2007-06-27 17:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-26 21:10 parallel make bug Dan Nicolaescu
2007-06-27  1:28 ` Stefan Monnier
2007-06-27  1:59   ` Dan Nicolaescu
2007-06-27  2:31     ` Stefan Monnier
2007-06-27  3:24 ` Eli Zaretskii
2007-06-27  5:29   ` Dan Nicolaescu
2007-06-27  9:06     ` Andreas Schwab
2007-06-27 16:15       ` Dan Nicolaescu
2007-06-27 17:03         ` Andreas Schwab
2007-06-28  1:30           ` Dan Nicolaescu
2007-06-27 17:57     ` Eli Zaretskii [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-08-01 16:57 Chip Coldwell

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=u4pktnuu4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=dann@ics.uci.edu \
    --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.