Buildworld failure with -j24 and ZFS on GPT on Core i7-860 system

Ruslan Ermilov ru at FreeBSD.org
Mon Jan 25 12:56:21 UTC 2010


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 at FreeBSD.org
FreeBSD committer


More information about the freebsd-current mailing list