Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 1998 07:50:06 -0400 (EDT)
From:      Chuck Robey <chuckr@mat.net>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        Luoqi Chen <luoqi@watermarkgroup.com>, freebsd-current@FreeBSD.ORG, smp@csn.net
Subject:   Re: make -j # buildworld 
Message-ID:  <Pine.BSF.4.02A.9809220741140.346-200000@picnic.mat.net>
In-Reply-To: <27302.906456772@time.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Tue, 22 Sep 1998, Jordan K. Hubbard wrote:

> > I think it is not just you. There have been quite a few reports on this
> > problem in -current (one of them was mine). I guess everyone pretty much
> > ignored it because it is so insignificant compared to what has been going
> 
> Well no, really, the -j<n> buildworlds have been working GREAT for me
> all week.  I think it probably is a bug, but one which is masked by
> something that folks like Steve and I just don't have in our
> environments (or, perhaps, something special that we do).

The patch he sent me worked great for me on test, but that doesn't prove
it won't screw it up for everyone else.  Since it's been working for you
right along, would you mind doing a buildworld with the patch, without
NOAOUT, and prove its safe for everyone else?  I obviously can't do
that.

If you tossed the patch, I have a copy here attached.  Thanks, if it's
non-destructive, I'd commit it myself when I get back from classes.
Luoqi, are you a committer?

----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@glue.umd.edu         | communications topic, C programming, and Unix.
213 Lakeside Drive Apt T-1  |
Greenbelt, MD 20770         | I run Journey2 and picnic (FreeBSD-current)
(301) 220-2114              | and jaunt (NetBSD).
----------------------------+-----------------------------------------------




[-- Attachment #2 --]
Index: Makefile.inc0
===================================================================
RCS file: /home/ncvs/src/Makefile.inc0,v
retrieving revision 1.8
diff -u -r1.8 Makefile.inc0
--- Makefile.inc0	1998/09/17 16:32:00	1.8
+++ Makefile.inc0	1998/09/17 22:43:08
@@ -42,10 +42,11 @@
 #
 # Temporary path and environment for the legacy build.
 #
-ELFTMPPATH=	${MAKEOBJDIRPREFIX}/elf${.CURDIR}/tmp/sbin:${MAKEOBJDIRPREFIX}/elf${.CURDIR}/tmp/bin:${MAKEOBJDIRPREFIX}/elf${.CURDIR}/tmp/usr/sbin:${MAKEOBJDIRPREFIX}/elf${.CURDIR}/tmp/usr/bin:${MAKEOBJDIRPREFIX}/elf${.CURDIR}/tmp/usr/games
-LEGACY_ENV=	MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/aout	\
-		PATH=${ELFTMPPATH} OBJFORMAT=aout NOTOOLS=1	\
-		TOOLROOT=${MAKEOBJDIRPREFIX}/elf${.CURDIR}/tmp
+ELFTMP=		${MAKEOBJDIRPREFIX}/elf${.CURDIR}/tmp
+ELFTMPPATH=	${ELFTMP}/sbin:${ELFTMP}/bin:${ELFTMP}/usr/sbin:${ELFTMP}/usr/bin:${ELFTMP}/usr/games
+LEGACY_ENV=	PATH=${ELFTMPPATH} OBJFORMAT=aout NOTOOLS=1 TOOLROOT=${ELFTMP} \
+		MAKEOBJDIRPREFIX=${MAKEOBJDIRPREFIX}/aout
+XMAKE=		${ELFTMP}/usr/bin/${MAKE}
 
 #
 # world
@@ -67,11 +68,11 @@
 .endif
 	@cd ${.CURDIR}; ${MK_ENV} ${MAKE} buildworld
 .if	${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && !defined(NOAOUT)
-	@cd ${.CURDIR}; ${LEGACY_ENV} ${MAKE} legacy-build
+	@cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} legacy-build
 .endif
 	@cd ${.CURDIR}; ${MK_ENV} ${MAKE} -B installworld
 .if	${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && !defined(NOAOUT)
-	@cd ${.CURDIR}; ${LEGACY_ENV} ${MAKE} legacy-install
+	@cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} legacy-install
 .endif
 .if target(post-world)
 	@echo
@@ -94,7 +95,7 @@
 buildworld	:
 	@cd ${.CURDIR}; ${MK_ENV} ${MAKE} buildworld
 .if	${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && !defined(NOAOUT)
-	@cd ${.CURDIR}; ${LEGACY_ENV} ${MAKE} legacy-build
+	@cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} legacy-build
 .endif
 
 #
@@ -106,5 +107,5 @@
 installworld	:
 	@cd ${.CURDIR}; ${MK_ENV} ${MAKE} installworld
 .if	${MACHINE_ARCH} == "i386" && ${OBJFORMAT} == "elf" && !defined(NOAOUT)
-	@cd ${.CURDIR}; ${LEGACY_ENV} ${MAKE} -DNOMAN -DNOINFO legacy-install
+	@cd ${.CURDIR}; ${LEGACY_ENV} ${XMAKE} -DNOMAN -DNOINFO legacy-install
 .endif


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02A.9809220741140.346-200000>