Re: new asm-offsets.h patch problems

From: Sam Ravnborg
Date: Mon Sep 12 2005 - 13:59:14 EST


On Mon, Sep 12, 2005 at 05:50:56PM +0100, Al Viro wrote:
> On Mon, Sep 12, 2005 at 09:00:06AM -0700, Luck, Tony wrote:
> > So I still don't understand what is really happening here.
> >
> > I left my build script running overnight ... working on a
> > kernel at the 357d596bd... commit (where Linus merged in
> > my tree last night). This one has your "archprepare" patch
> > already included.
> >
> > Sometimes a build for a config succeeds, and sometimes it
> > fails. (tiger_defconfig for the last six builds has had a
> > GOOD, BAD, BAD, BAD, GOOD, GOOD sequence, while bigsur_defconfig
> > went GOOD, BAD, BAD, BAD, BAD, BAD). This non-determinism
> > doesn't fit in well with your explanation of missing defines
> > for PAGE_SIZE etc.
>
> There's more, apparently - I'm seeing
> make # successful full build
> make C=2 # triggering full rebuild, not just sparse run

The circular dependency:
asm-offsets.c depends on asm-offsets.h and is used to generate
asm-offsets.h. So if they do not have equal timestamp all files
including asm-offsets.h (direct or indirect) will be rebuild.
Do you see same pattern as Tony where the same build sometimes goes
well, sometimes goes bad?

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/