From: Keith Owens <kaos@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: 2.6.14-rc1 ia64 rebuilds everything every time
Date: Tue, 13 Sep 2005 06:32:04 +0000 [thread overview]
Message-ID: <23363.1126593124@kao2.melbourne.sgi.com> (raw)
Because of the recursive definition in ia64 asm-offset.c, where the
file has to exist with a dummy line before it can be generated, we end
up with this recursive dependency.
arch/ia64/kernel/asm-offsets.s -> include/asm/asm-offsets.h (.cmd file)
include/asm/asm-offsets.h -> arch/ia64/kernel/asm-offsets.s (explicit)
Every 2.6.14-rc1 build rebuilds asm-offsets.s, because it asm-offsets.h
is newer. Which then rebuilds asm-offsets.h, which in turn rebuilds
everything else.
Best solution: remove (and forbid) recursive definitions in asm-offset.c.
Kludge 1: edit arch/$(ARCH)/kernel/.asm-offsets.s.cmd to remove
include/asm/asm-offsets.h.
Kludge 2: Build arch/$(ARCH)/kernel/asm-offsets.s as a temporary file
then check if it has changed or not, only updating the real
arch/$(ARCH)/kernel/asm-offsets.s if there is any change.
next reply other threads:[~2005-09-13 6:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-13 6:32 Keith Owens [this message]
2005-09-13 9:34 ` 2.6.14-rc1 ia64 rebuilds everything every time Peter Chubb
2005-09-13 19:44 ` 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=23363.1126593124@kao2.melbourne.sgi.com \
--to=kaos@sgi.com \
--cc=linux-ia64@vger.kernel.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