mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: linux-kernel@vger.kernel.org
Cc: Sam Ravnborg <sam@ravnborg.org>
Subject: 2.6.15 make fails with multiple targets in parallel
Date: Wed, 11 Jan 2006 19:39:11 +1100	[thread overview]
Message-ID: <13394.1136968751@kao2.melbourne.sgi.com> (raw)

Running make on the kernel tree with multiple targets on the command
line and in parallel mode gets errors.  The prepare targets are run
several times, once for each target on the command line.  Sometimes the
result is sensible, sometimes the prepare commands overwrite each other
with either garbage or missing files.

make -j12 compressed modules vmlinux
  Using /foo/linux as source for kernel
  Using /foo/linux as source for kernel
  Using /foo/linux as source for kernel
  GEN    /foo/obj/Makefile
  CHK     include/linux/version.h
  GEN    /foo/obj/Makefile
  GEN    /foo/obj/Makefile
  CHK     include/linux/version.h
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  UPD     include/linux/version.h
  UPD     include/linux/version.h
mv: cannot stat `include/linux/version.h.tmp': No such file or directory
make[1]: *** [include/linux/version.h] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [vmlinux] Error 2
make: *** Waiting for unfinished jobs....

I know that the command above is equivalent to 'make -j12' but that is
irrelevant, make is supposed to handle multiple targets without
repeating commands.

Is this where we mention http://www.google.com/search?q=cache:HwuX7YF2uBIJ:aegis.sourceforge.net/auug97.pdf&hl=en ?


             reply	other threads:[~2006-01-11  8:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-11  8:39 Keith Owens [this message]
2006-01-11 16:38 ` Sam Ravnborg
2006-01-15 17:04 ` Sam Ravnborg

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=13394.1136968751@kao2.melbourne.sgi.com \
    --to=kaos@ocs.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome