Overdone rescue cleaning as part of buildworld?
Gordon Tetlow
gordont at gnf.org
Mon Jul 14 12:28:55 PDT 2003
On Mon, Jul 14, 2003 at 01:53:29PM -0400, Garance A Drosihn wrote:
> 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
> -DPREFIX=\"/usr\"
> -I/usr/obj/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
> -I/usr/src/gnu/usr.bin/cc/cc_int/../cc_tools
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc
> -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/config
> -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
> /usr/obj/usr/src/rescue/rescue//usr/src/sbin/dhclient/client/clparse.o.
> Stop
> *** 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.
I've heard some reports of this specifically with -j flag. I'll
see if I can look at it once I finish depessimizing the build.
-gordon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030714/35a0aef9/attachment.bin
More information about the freebsd-current
mailing list