From owner-freebsd-current@FreeBSD.ORG Mon Jan 25 12:56:21 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65AFB10656A3; Mon, 25 Jan 2010 12:56:21 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from mail.vega.ru (mail.vega.ru [90.156.167.5]) by mx1.freebsd.org (Postfix) with ESMTP id 185628FC1C; Mon, 25 Jan 2010 12:56:20 +0000 (UTC) Received: from [10.100.124.99] (helo=edoofus.dev.vega.ru) by mail.vega.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NZOUL-000DdZ-Bd; Mon, 25 Jan 2010 15:56:17 +0300 Date: Mon, 25 Jan 2010 15:55:54 +0300 From: Ruslan Ermilov To: Andriy Gapon Message-ID: <20100125125554.GA76457@edoofus.dev.vega.ru> References: <20100120162326.GD50360@dan.emsphone.com> <20100120235024.GE50360@dan.emsphone.com> <4B5D8A87.6030701@icyb.net.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B5D8A87.6030701@icyb.net.ua> Cc: Daniel Eischen , Ed Schouten , Matt Thyer , Dan Nelson , current@freebsd.org Subject: Re: Buildworld failure with -j24 and ZFS on GPT on Core i7-860 system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jan 2010 12:56:21 -0000 On Mon, Jan 25, 2010 at 02:11:51PM +0200, Andriy Gapon wrote: > on 23/01/2010 15:03 Matt Thyer said the following: > [snip] > > r202214 works with make -j24 buildworld. > > r202215 fails make -j24 buildworld as does every revision since then: > > > > make: don't know how to make /usr/obj/usr/src/tmp/usr/lib/libmd.a. Stop > > *** Error code 2 > [snip] > > I can only assume there is a problem with "/usr/src/lib/libulog/Makefile". > > Hmm, I am not sure about how we enforce build order between libraries under lib/ > that have interdependencies. Is it solely by SUBDIR ordering in lib/Makefile? > In that case, could it be that the distance between libmd and libulog is too short > for this number of tasks? I.e. libulog build starts and completes before libmd > build completes (despite libulog being further down on the list)? The problem is already fixed in r202755 by Ed. When libulog was first added, it was needed for libpam (pam_lastlog), so it had to be built before libpam in Makefile.inc1:_prebuild_libs. What broke parallel builds is that Ed forgot to add an inter-library dependency of libulog on libmd. Now that libpam no longer required libulog it was removed from Makefile.inc1 completely, and the problem is resolved. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer