Date: Wed, 23 Jul 2003 20:05:42 -0400 From: Garance A Drosihn <drosih@rpi.edu> To: Gordon Tetlow <gordont@gnf.org> Cc: kientzle@acm.org Subject: Re: Buildworld /rescue failures in 5.1 Message-ID: <p05210689bb44cf6cccce@[128.113.24.47]> In-Reply-To: <20030723234415.GE12996@roark.gnf.org> References: <20030716181354.GA44980@dan.emsphone.com> <20030717074756.B17029@gamplex.bde.org> <20030717123524.T24327@schnell.net> <20030718154832.K21942@gamplex.bde.org> <20030718095946.H29869@schnell.net> <3F183EF9.7020506@acm.org> <20030721084750.GH12996@roark.gnf.org> <3F1C1695.30409@acm.org> <p05210687bb44ba2cd1d7@[128.113.24.47]> <p05210688bb44c9d17c89@[128.113.24.47]> <20030723234415.GE12996@roark.gnf.org>
next in thread | previous in thread | raw e-mail | index | archive | help
At 4:44 PM -0700 7/23/03, Gordon Tetlow wrote:
>On Wed, Jul 23, 2003, Garance A Drosihn wrote:
> >
> > The .depend file is apparently created by
> > /usr/obj/usr/src/rescue/rescue/rescue.mk
> >
>> and that in turn says it is generated from rescue.conf
>> by crunchgen 0.2. The rescue.mk file includes the rule:
>>
>> tar_make:
>> (cd $(tar_SRCDIR) && \
>> $(MAKE) $(BUILDOPTS) $(tar_OPTS) depend &&\
>> $(MAKE) $(BUILDOPTS) $(tar_OPTS) $(tar_OBJS))
>>
>> and my guess is that construct is not '-j' safe.
>>
>> I have no idea how to fix that, or even if I'm on the right
>> track, but perhaps the above will be useful to someone who
>> understands parallel makes more than I do...
>
>I don't see how this construct cannot be parallel make safe.
>The && requires that the third line check the result of the
>second before continuing. It doesn't make sense.
Yeah, I don't know how these pieces all come together (or
don't come together, as the case may be). Nevertheless, it
is true that make is apparently trying a 'make addext.o'
before that .depend file exists. Perhaps this is a bug, or
maybe I'm just barking up the wrong tree...
I'm going to try a few more tests, and see if I can make some
sense out of this.
Given that 'make buildworld' is going to effectively do:
cd /usr/src/rescue
make obj
[...other stuff...]
cd /usr/src/rescue
make includes
[...other stuff...]
cd /usr/src/rescue
make depend
[...other stuff...]
it would be nice if *that* 'make depend' could result in all
of these .depend files being created. That is clearly not
the case at the moment.
--
Garance Alistair Drosehn = gad@gilead.netel.rpi.edu
Senior Systems Programmer or gad@freebsd.org
Rensselaer Polytechnic Institute or drosih@rpi.edu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05210689bb44cf6cccce>
