Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jan 2010 15:55:54 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        Daniel Eischen <deischen@freebsd.org>, Ed Schouten <ed@FreeBSD.org>, Matt Thyer <matt.thyer@gmail.com>, Dan Nelson <dnelson@allantgroup.com>, current@freebsd.org
Subject:   Re: Buildworld failure with -j24 and ZFS on GPT on Core i7-860 system
Message-ID:  <20100125125554.GA76457@edoofus.dev.vega.ru>
In-Reply-To: <4B5D8A87.6030701@icyb.net.ua>
References:  <fa58e4891001200709s10933634g5ef2820533ed8bc6@mail.gmail.com> <20100120162326.GD50360@dan.emsphone.com> <fa58e4891001201520i32122f7eob37b410c79db21e8@mail.gmail.com> <20100120235024.GE50360@dan.emsphone.com> <fa58e4891001201718q4928617ve5959eb15e51472d@mail.gmail.com> <Pine.GSO.4.64.1001202026010.25041@sea.ntplx.net> <fa58e4891001222352g458688d2gcef940a4400024c5@mail.gmail.com> <fa58e4891001230503h338ec2basa7424e0214c357a1@mail.gmail.com> <4B5D8A87.6030701@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100125125554.GA76457>