Date: Fri, 13 Apr 2007 08:08:19 +0400 From: Ruslan Ermilov <ru@freebsd.org> To: harti@freebsd.org, stable@freebsd.org Subject: Re: make: parallel jobs broken when using -f - Message-ID: <20070413040819.GA39290@rambler-co.ru> In-Reply-To: <20070412212404.GA1597@roadrunner.q.local> References: <20070412212404.GA1597@roadrunner.q.local>
next in thread | previous in thread | raw e-mail | index | archive | help
--ikeVEW9yuYc//A+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ulrich, On Thu, Apr 12, 2007 at 11:24:04PM +0200, Ulrich Spoerlein wrote: > there is an annoying bug in 6-STABLE make(1), where -f - seems to > serialize the target making. >=20 > Consider the following Makefile >=20 > all: a b c d >=20 > a b c d: > @echo Makeing ${.TARGET} > @sleep 4 >=20 > And observe the following behaviour: > $ make -j4 > Makeing a > Makeing b > Makeing c > Makeing d > <pause> > $ make -j4 -f- < Makefile > Makeing b > Makeing d > <pause> > Makeing a > <pause> > Makeing c > <pause> > $ >=20 > The make(1) on -CURRENT has this fixed already, is there any chance of > this getting MFCed? >=20 > AFAICS the following revisions are not up to date (wrt to CURRENT): > $FreeBSD: src/usr.bin/make/job.c,v 1.122.2.1 2005/07/20 19:05:23 har= ti Exp $ > $FreeBSD: src/usr.bin/make/main.c,v 1.155 2005/05/24 16:05:51 harti = Exp $ > $FreeBSD: src/usr.bin/make/parse.c,v 1.108.2.1 2005/11/16 08:25:19 r= u Exp $ > $FreeBSD: src/usr.bin/make/str.c,v 1.45.2.1 2006/10/16 11:51:18 ru E= xp $ > $FreeBSD: src/usr.bin/make/var.c,v 1.159 2005/05/24 16:05:51 harti E= xp $ >=20 The bug you're seeing is PR bin/101232. Please query Will Andrews about the MFC, or if he doesn't reply in a timely manner, ping me and I'll commit it for you. Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --ikeVEW9yuYc//A+q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFGHwIzqRfpzJluFF4RAj8vAKCJV2OIdEa6oJ097+CFuoCTYhTE7ACfaY2+ YbN8TL22ZFTXwEMznw3PH9Q= =Qv5m -----END PGP SIGNATURE----- --ikeVEW9yuYc//A+q--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070413040819.GA39290>