Overdone rescue cleaning as part of buildworld?

Garance A Drosihn drosih at rpi.edu
Mon Jul 14 10:53:33 PDT 2003

At 9:09 AM -0700 7/14/03, Gordon Tetlow wrote:
>On Mon, Jul 14, 2003 at 12:40:42AM -0700, David O'Brien wrote:
>  > Gordon, 'make world' times have climbed up to over 1 hour
>  > on a machine that used to do it in 25 minutes.  Can you
>  > please commit to understanding how /resuce is build and
>optimizing it before 5.2-RELEASE.
>I've already started this process and I have some work ...

Btw, when I was doing a buildworld this weekend, I noticed
the following error in the section that builds /rescue.  Has
anyone else noticed this?  It may be easy to miss, because
'make buildworld' does not abort at the error.  The following
is some information I sent to Tim Kientzle <kientzle at acm.org>
early this morning, but I thought I'd send it to the list just
to see if anyone else has seen this problem.  Perhaps it is
due to something at my end of things.

For me, 'make buildworld' goes through:
    ===> rescue/rescue/dhcpctl
    ===> rescue/rescue/client
    ===> rescue/rescue/omshell

successfully, and then while building:
   ===> rescue/rescue/common

Here is the last few lines I get:

cc -O -pipe -mcpu=pentiumpro -DIN_GCC -DHAVE_CONFIG_H 
-DHAVE_CONFIG_H -DTARGET_NAME=\"i386-undermydesk-freebsd\" -DIN_GCC 
-c /usr/src/contrib/gcc/make-temp-file.c
make: don't know how to make 
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2

Now, after those Error's, make seems to go merrily along, and
makes bunch of other stuff.  It looks like it even gets to the
end of the buildworld OK. However the way I do buildworld's
notices those '*** Error' lines, and it starts waving flags at
me.  I am generally reluctant to ignore those flags...

I did a bunch of cvsup's and cross-checks to make sure I had
the correct up-to-the-minute sources.  I had also removed
all of /usr/obj/usr/src in case I had old cruft there (well,
actually I did that just because of the new gcc import...).
I rebuilt with -DNORESCUE and the buildworld finished OK.

I am building with -j5 on a dual-processor Athlon system, if
that is significant.  I am not doing any cross-build.

Garance Alistair Drosehn            =   gad at gilead.netel.rpi.edu
Senior Systems Programmer           or  gad at freebsd.org
Rensselaer Polytechnic Institute    or  drosih at rpi.edu

More information about the freebsd-current mailing list