From owner-freebsd-ia64@FreeBSD.ORG Wed Apr 23 13:04:57 2014 Return-Path: Delivered-To: freebsd-ia64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4181A650; Wed, 23 Apr 2014 13:04:57 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D83D13B7; Wed, 23 Apr 2014 13:04:56 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Wcwr3-000HAh-2t; Wed, 23 Apr 2014 13:04:49 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s3ND4lZX009588; Wed, 23 Apr 2014 07:04:47 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/Swsee3qejR/WlcustI/dn Subject: Re: Build failures with high parallel make(1) jobs with GCC From: Ian Lepore To: Glen Barber In-Reply-To: <20140422041353.GO49791@glenbarber.us> References: <20140422025435.GL49791@glenbarber.us> <1398136182.1124.394.camel@revolution.hippie.lan> <20140422032124.GM49791@glenbarber.us> <20140422032638.GN49791@glenbarber.us> <1398139557.1124.396.camel@revolution.hippie.lan> <20140422041353.GO49791@glenbarber.us> Content-Type: multipart/mixed; boundary="=-P0ekRMkvKRphSvy7bW7G" Date: Wed, 23 Apr 2014 07:04:46 -0600 Message-ID: <1398258286.61646.23.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: freebsd-current@FreeBSD.org, freebsd-ia64@FreeBSD.org, freebsd-ppc@FreeBSD.org X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2014 13:04:57 -0000 --=-P0ekRMkvKRphSvy7bW7G Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Tue, 2014-04-22 at 00:13 -0400, Glen Barber wrote: > On Mon, Apr 21, 2014 at 10:05:57PM -0600, Ian Lepore wrote: > > On Mon, 2014-04-21 at 23:26 -0400, Glen Barber wrote: > > > On Mon, Apr 21, 2014 at 11:21:24PM -0400, Glen Barber wrote: > > > > On Mon, Apr 21, 2014 at 09:09:42PM -0600, Ian Lepore wrote: > > > > > > The last successful build for powerpc on head/ was April 8. But I am > > > > > > having trouble tracking down what commits may (or may not) have > > > > > > contributed to recent high-parallel build failures. > > > > > > > > > > > > > > > > A couple weeks corresponds somewhat with the parallel subdir build > > > > > changes (it's about 3 weeks now). Try this patch I cooked up today for > > > > > $work, and in src/lib/Makefile add .WAIT (as if it were a directory > > > > > name) between ${SUBDIR_ORDERED} and the rest of the directories. > > > > > > > > > > > > > The patch fails to apply cleanly, but as far as I can tell, it is due to > > > > whitespace. > > > > > > > > I'll hand-patch it, and report back. > > > > > > > > > > Nope, I'm getting conflicts on revisions as far back as r251749. > > > > > > Glen > > > > > > > This one should work better. The lib/Makefile is included this time. > > > > This patch applies fine. > > It seems to already have an effect, but I won't go so far to say it > works until I see the 'World build completed: ' message. > > I'll follow up tomorrow once build is done. > > Thanks! > > Glen > I think the change to lib/Makefile was not sufficient. After looking at the notes on dependenices at the top of the makefile, I think the attached has some chance of helping. The bsd.subdir.mk changes are now commited as r264822. -- Ian --=-P0ekRMkvKRphSvy7bW7G Content-Disposition: inline; filename="lib_makefile_ordering1.diff" Content-Type: text/x-patch; name="lib_makefile_ordering1.diff"; charset="us-ascii" Content-Transfer-Encoding: 7bit Index: lib/Makefile =================================================================== --- lib/Makefile (revision 264768) +++ lib/Makefile (working copy) @@ -31,9 +31,12 @@ # Except it appears bind needs to be compiled last SUBDIR_ORDERED= ${_csu} \ + .WAIT \ libc \ libc_nonshared \ + .WAIT \ libbsm \ + .WAIT \ libauditd \ libutil \ libpjdlog \ @@ -54,6 +57,7 @@ SUBDIR_ORDERED= ${_csu} \ libsbuf \ libtacplus \ ${_libypclnt} \ + .WAIT \ ${_libcxxrt} \ ${_libcplusplus} @@ -62,6 +66,7 @@ SUBDIR_ORDERED+= libcom_err .endif SUBDIR= ${SUBDIR_ORDERED} \ + .WAIT \ libalias \ libarchive \ ${_libatm} \ --=-P0ekRMkvKRphSvy7bW7G--