From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32051 invoked by alias); 27 Aug 2009 01:22:55 -0000 Received: (qmail 32042 invoked by uid 22791); 27 Aug 2009 01:22:54 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from ey-out-1920.google.com (HELO ey-out-1920.google.com) (74.125.78.149) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 27 Aug 2009 01:22:48 +0000 Received: by ey-out-1920.google.com with SMTP id 13so143148eye.46 for ; Wed, 26 Aug 2009 18:22:45 -0700 (PDT) Received: by 10.210.136.1 with SMTP id j1mr8936524ebd.74.1251336165529; Wed, 26 Aug 2009 18:22:45 -0700 (PDT) Received: from ?192.168.2.99? (cpc2-cmbg8-0-0-cust61.cmbg.cable.ntl.com [82.6.108.62]) by mx.google.com with ESMTPS id 28sm824801eyg.26.2009.08.26.18.22.44 (version=SSLv3 cipher=RC4-MD5); Wed, 26 Aug 2009 18:22:44 -0700 (PDT) Message-ID: <4A95E31A.5090408@gmail.com> Date: Thu, 27 Aug 2009 01:22:00 -0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Andrew John Hughes CC: David Daney , Dave Korn , java@gcc.gnu.org Subject: Re: libjava broken vs make -j? References: <4A95AF1A.4000604@gmail.com> <4A95AE0A.7000602@caviumnetworks.com> <17c6771e0908261603p7198728alcd9aebd1512f20b4@mail.gmail.com> In-Reply-To: <17c6771e0908261603p7198728alcd9aebd1512f20b4@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2009-08/txt/msg00053.txt.bz2 Andrew John Hughes wrote: > 2009/8/26 David Daney: >> Dave Korn wrote: >>> I just started seeing this, with "make -j4": >>>> make[3]: Entering directory `/gnu/gcc/obj-java2/i686-pc-cygwin/libjava' >>>> make[3]: *** No rule to make target `classpath/lib/compile-classes', >>>> needed by `gcjh.stamp'. Stop. >>>> make[3]: Leaving directory `/gnu/gcc/obj-java2/i686-pc-cygwin/libjava' >>>> make[2]: *** [headers.stamp] Error 2 >>> There is indeed no rule to make classpath/lib/compile-classes, as it's >>> generated in a recursive sub-make (which would happen earlier in a >>> non-parallel build, or at lower -j levels, rather than simultaneously and >>> racily as here). Presumably we need to add some dependency at the top >>> level, perhaps something like this? >>> >>> classpath/lib/compile-classes: all-multi >>> >> Interesting, I have been doing -j16, -j14, and -j2 builds and have not hit >> this. > I also do builds using -j9 and haven't seen such issues, but this is > on x86_64-pc-linux-gnu rather than cygwin. Nah, sorry for the noise. I definitely went about adding a dependency wrongly, with the result of dragging half the recursive dependencies up to the top-level. I think I want to append to "all-am:", not "all:", and most probably the simplest way to do that validly is to add the phony stamp file target to noinst_DATA. cheers, DaveK