Re: 2.6.14-rc1 ia64 rebuilds everything every time

From: Sam Ravnborg <>
Date: 2005-09-14 05:44:29
On Tue, Sep 13, 2005 at 07:34:44PM +1000, Peter Chubb wrote:
> >>>>> "Keith" == Keith Owens <> writes:
> Keith> Best solution: remove (and forbid) recursive definitions in
> Keith> asm-offset.c.
> Unfortunately,I'm not sure that's possible.
> Keith> Kludge 2: Build arch/$(ARCH)/kernel/asm-offsets.s as a
> Keith> temporary file then check if it has changed or not, only
> Keith> updating the real arch/$(ARCH)/kernel/asm-offsets.s if there is
> Keith> any change.
> This is what used to happen.
What actually used to happen was that asm-offsets.h seldom was rebuild
despite included file had changed in the meantime.
When it then got rebuild - then we did the "has file changed" trick.

That I can be convinced to add back. On the other hand this is no more
special than any other fundamental .h file - when it changes we
recompile was uses it.

The reason why it hit us hard with ia64 is that is gets rebuild due to
the circular dependency where the file used to build asm-offsets.h uses
If we solve that problem the 'recompile everything' issue disappear.

Tony already posted an ugly patch to solve most of this.
I agree fully with Tony this is an ugly patch - did I have better
ideas how to solve it I would have posted a patch.

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Wed Sep 14 05:42:54 2005

This archive was generated by hypermail 2.1.8 : 2005-09-14 05:43:02 EST