From owner-freebsd-stable@FreeBSD.ORG Thu Apr 12 21:24:20 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D14C16A405 for ; Thu, 12 Apr 2007 21:24:20 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.169]) by mx1.freebsd.org (Postfix) with ESMTP id 063E813C4B8 for ; Thu, 12 Apr 2007 21:24:19 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id 71so380478ugh for ; Thu, 12 Apr 2007 14:24:15 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition; b=cyB2jBgzJsfKikd6qXUIY/1cY1bQis6PLW32VOMINiJJbAvqAmk6JUkvBDWGUs2i6T9nY8UjorbbBzsuELWEDPbGD40/Bzxnz6he6CAu9dgIenMwZTinxq56S3njHa6aUkAkmvhq3nUgWEXjn5dzjsYIQAFzx/FTcm8hE3uOeKA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:mail-followup-to:mime-version:content-type:content-disposition; b=g5GgWnnOYvtpf7i1oM/Z9TV5tCHocC8rJipYpRqwZqjd+WS4UZJ29nJH31xVTvj/k5Wqyt/6Aw200sOvRo7hbU9kUJUr4tGfQ4eLNUZ305VIAhFHeKp5JKeiPhyo1QzqmzQ1uTUUrzOkP/iIyC0+gl/gvuu1Dwys2NENyqG+UKo= Received: by 10.82.134.12 with SMTP id h12mr3337418bud.1176413055579; Thu, 12 Apr 2007 14:24:15 -0700 (PDT) Received: from roadrunner.q.local ( [85.180.157.234]) by mx.google.com with ESMTP id u9sm1721384muf.2007.04.12.14.24.15; Thu, 12 Apr 2007 14:24:15 -0700 (PDT) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.8/8.13.8) with ESMTP id l3CLO5jc060390; Thu, 12 Apr 2007 23:24:05 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from q@localhost) by roadrunner.q.local (8.13.8/8.13.8/Submit) id l3CLO4RA060387; Thu, 12 Apr 2007 23:24:04 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Thu, 12 Apr 2007 23:24:04 +0200 From: Ulrich Spoerlein To: harti@freebsd.org Message-ID: <20070412212404.GA1597@roadrunner.q.local> Mail-Followup-To: harti@freebsd.org, stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: stable@freebsd.org Subject: make: parallel jobs broken when using -f - X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2007 21:24:20 -0000 Hi Hartmut, there is an annoying bug in 6-STABLE make(1), where -f - seems to serialize the target making. Consider the following Makefile all: a b c d a b c d: @echo Makeing ${.TARGET} @sleep 4 And observe the following behaviour: $ make -j4 Makeing a Makeing b Makeing c Makeing d $ make -j4 -f- < Makefile Makeing b Makeing d Makeing a Makeing c $ The make(1) on -CURRENT has this fixed already, is there any chance of this getting MFCed? 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 harti 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 ru Exp $ $FreeBSD: src/usr.bin/make/str.c,v 1.45.2.1 2006/10/16 11:51:18 ru Exp $ $FreeBSD: src/usr.bin/make/var.c,v 1.159 2005/05/24 16:05:51 harti Exp $ Ulrich Spoerlein -- "The trouble with the dictionary is you have to know how the word is spelled before you can look it up to see how it is spelled." -- Will Cuppy