From owner-freebsd-stable Sun Feb 17 5:18:36 2002 Delivered-To: freebsd-stable@freebsd.org Received: from castle.jp.FreeBSD.org (castle.jp.FreeBSD.org [210.226.20.15]) by hub.freebsd.org (Postfix) with ESMTP id 9509E37B400 for ; Sun, 17 Feb 2002 05:18:28 -0800 (PST) Received: from localhost (localhost [::1]) by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet6 id g1HDIRW34087; Sun, 17 Feb 2002 22:18:27 +0900 (JST) (envelope-from matusita@jp.FreeBSD.org) Cc: ryoji@safins.ne.jp In-Reply-To: <20020217215931R.matusita@jp.FreeBSD.org> References: <20020217143823Y.matusita@jp.FreeBSD.org> <20020217043228.A67771@xor.obsecurity.org> <20020217215931R.matusita@jp.FreeBSD.org> X-User-Agent: Mew/1.94.2 XEmacs/21.5 (bamboo) X-FaceAnim: (-O_O-)(O_O- )(_O- )(O- )(- -)( -O)( -O_)( -O_O)(-O_O-) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Dispatcher: imput version 20000228(IM140) Lines: 39 From: Makoto Matsushita To: stable@FreeBSD.org, kris@obsecurity.org Subject: make -jX buildkernel error (Re: src/sys/modules/libiconv/Makefile: "make -j4 depend" error) Date: Sun, 17 Feb 2002 22:18:21 +0900 Message-Id: <20020217221821X.matusita@jp.FreeBSD.org> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Try again... kris> I didn't know that the depend target was supposed to work with a kris> -j argument. matusita> Ah, that's right. Sorry. However, if you try "make -j4 buildkernel" (4 is for example; 8 or 16 is better for modern PC), "make depend" phase will run as the same option. As a result, "make -j4 depend" will run during "make -j4 buildkernel" but it's not supported as kris said. If "make -jX buildkernel" (where X>1) is supported (I don't know it is supported or not), following patch requires to fix this. Index: Makefile.inc1 =================================================================== RCS file: /home/ncvs/src/Makefile.inc1,v retrieving revision 1.239 diff -u -r1.239 Makefile.inc1 --- Makefile.inc1 14 Feb 2002 13:06:52 -0000 1.239 +++ Makefile.inc1 17 Feb 2002 13:13:28 -0000 @@ -444,7 +444,7 @@ ${MAKE} -f ${KRNLSRCDIR}/dev/aic7xxx/aicasm/Makefile .if !defined(NO_KERNELDEPEND) cd ${KRNLOBJDIR}/${_kernel}; \ - ${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} depend + ${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} -B depend .endif cd ${KRNLOBJDIR}/${_kernel}; \ ${KMAKEENV} ${MAKE} KERNEL=${INSTKERNNAME} all Anybody reconfirm this problem and check this patch does the right things? -- - Makoto `MAR' Matsushita To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message