Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 1997 02:40:10 +0900
From:      Hajimu UMEMOTO <ume@calm.imasy.or.jp>
To:        nnd@itfs.nsk.su
Cc:        ume@calm.imasy.or.jp
Subject:   Re: Make and SMP - what can be done ?
Message-ID:  <199709141740.CAA02407@peace.calm.imasy.or.jp>
In-Reply-To: Your message of "17 Aug 1997 06:15:24 GMT" <5t64ts$7ae@news.itfs.nsk.su>
References:  <5t64ts$7ae@news.itfs.nsk.su>

next in thread | previous in thread | raw e-mail | index | archive | help
----Next_Part(Mon_Sep_15_02:40:05_1997_518)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

>>>>> On 17 Aug 1997 06:15:24 GMT,
	nnd@itfs.nsk.su said:

nnd> 	Here is a report of my experiments in "parallel"
nnd> world making.

I applied your patch with recent -current, and tried 
`make -j8 buildworld'.  It failed in sys/i386/boot/netboot.
sys/i386/boot/netboot/Makefile is seems to not parallel-safe.  Here is
a patch.

----Next_Part(Mon_Sep_15_02:40:05_1997_518)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

--- sys/i386/boot/netboot/Makefile.orig	Fri May 16 04:04:33 1997
+++ sys/i386/boot/netboot/Makefile	Sun Sep 14 20:05:17 1997
@@ -72,16 +72,18 @@
 	${.OBJDIR}/makerom ${.TARGET}
 
 nb8390.com:	makerom start2.ro ${SRCS:N*.h:R:S/$/.o/g} ns8390.o
-	${LD} ${LDFLAGS} -o netboot.com ${OBJS} ns8390.o
-	strip netboot.com
-	size netboot.com
-	dd ibs=32 skip=1 if=netboot.com of=${.TARGET}
+	${LD} ${LDFLAGS} -o ${.TARGET}.tmp ${OBJS} ns8390.o
+	strip ${.TARGET}.tmp
+	size ${.TARGET}.tmp
+	dd ibs=32 skip=1 if=${.TARGET}.tmp of=${.TARGET}
+	rm -f ${.TARGET}.tmp
 
 nb3c509.com:	start2.o ${SRCS:N*.h:R:S/$/.o/g} 3c509.o
-	${LD} ${LDFLAGS} -o netboot.com ${OBJS} 3c509.o
-	strip netboot.com
-	size netboot.com
-	dd ibs=32 skip=1 if=netboot.com of=${.TARGET}
+	${LD} ${LDFLAGS} -o ${.TARGET}.tmp ${OBJS} 3c509.o
+	strip ${.TARGET}.tmp
+	size ${.TARGET}.tmp
+	dd ibs=32 skip=1 if=${.TARGET}.tmp of=${.TARGET}
+	rm -f ${.TARGET}.tmp
 
 
 .include <bsd.prog.mk>

----Next_Part(Mon_Sep_15_02:40:05_1997_518)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@imasy.or.jp  ume@iabs.hitachi.co.jp
http://www.imasy.or.jp/~ume/

----Next_Part(Mon_Sep_15_02:40:05_1997_518)----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709141740.CAA02407>