Date: Sun, 17 Feb 2002 22:18:21 +0900 From: Makoto Matsushita <matusita@jp.FreeBSD.org> To: stable@FreeBSD.org, kris@obsecurity.org Cc: ryoji@safins.ne.jp Subject: make -jX buildkernel error (Re: src/sys/modules/libiconv/Makefile: "make -j4 depend" error) Message-ID: <20020217221821X.matusita@jp.FreeBSD.org> In-Reply-To: <20020217215931R.matusita@jp.FreeBSD.org> References: <20020217143823Y.matusita@jp.FreeBSD.org> <20020217043228.A67771@xor.obsecurity.org> <20020217215931R.matusita@jp.FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020217221821X.matusita>