Subject: Re: race in
To: Paul Kranenburg <>
From: Chuck Silvers <>
List: tech-toolchain
Date: 10/12/2003 13:02:53
On Sun, Oct 12, 2003 at 05:06:15PM +0200, Paul Kranenburg wrote:
> > it seems to me that it'd be way easier to find all the races if we had
> > a way to do a non-parallel make with the parallelizable targets in reverse
> > order from how they are listed in the Makefile.  that should catch the
> > vast majority of races.  I imagine there's some way to do this in the .mk
> > files, but I'm not fluent enough in make to know how.  anyone know how to
> > do this?
> Last time I fiddled with make(1), I hacked on the list libs to have
> a `Lst_DeQueue_Last()' and used that with the `toBeMade' list.
> That caught a number of races like this.  However, I gave up when it
> tripped on sushi...

ok, I tried that just now, but I must have done it wrong since it didn't work.

I'll leave this idea for someone else to run with.