Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2013 17:21:16 -0400
From:      Mark Johnston <markjdb@gmail.com>
To:        Navdeep Parhar <nparhar@gmail.com>
Cc:        sjg@freebsd.org, freebsd-hackers@freebsd.org
Subject:   Re: UNIVERSE_TARGET doesn't seem to work
Message-ID:  <20130603212116.GB38214@gloom.sandvine.com>
In-Reply-To: <51AD0702.2060802@gmail.com>
References:  <20130531014320.GA22257@itx> <51AD0702.2060802@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 03, 2013 at 02:13:38PM -0700, Navdeep Parhar wrote:
> On 05/30/13 18:43, Navdeep Parhar wrote:
> > I build kernel-toolchain and MAKE_JUST_KERNELS (often with NO_CLEAN, but
> > not this time) as part of my pre-commit checklist.  It doesn't seem to
> > work after the switch to bmake.  What am I missing?  This on a system
> > at r251171 with nothing in make.conf or src.conf:
> > 
> > # make -j12 universe UNIVERSE_TARGET=kernel-toolchain
> > --- universe_prologue ---
> > --------------------------------------------------------------
> >>>> make universe started on Thu May 30 18:19:44 PDT 2013
> > --------------------------------------------------------------
> > `universe_amd64_prologue' was not built (made 0, flags 2009, type b000001)!
> > `universe_arm_prologue' was not built (made 0, flags 2009, type b000001)!
> > `universe_i386_prologue' was not built (made 0, flags 2009, type b000001)!
> > `universe_ia64_prologue' was not built (made 0, flags 2009, type b000001)!
> > `universe_mips_prologue' was not built (made 0, flags 2009, type b000001)!
> > `universe_pc98_prologue' was not built (made 0, flags 2009, type b000001)!
> > `universe_powerpc_prologue' was not built (made 0, flags 2009, type b000001)!
> > `universe_sparc64_prologue' was not built (made 0, flags 2009, type b000001)!
> > `universe_epilogue' was not built (made 1, flags 2009, type b000001)!
> >     `universe_epilogue' has .ORDER dependency against universe_amd64 (made 1, flags 3009, type 3000001)
> >     `universe_epilogue' has .ORDER dependency against universe_arm (made 1, flags 3009, type 3000001)
> >     `universe_epilogue' has .ORDER dependency against universe_i386 (made 1, flags 3009, type 3000001)
> >     `universe_epilogue' has .ORDER dependency against universe_ia64 (made 1, flags 3009, type 3000001)
> >     `universe_epilogue' has .ORDER dependency against universe_mips (made 1, flags 3009, type 3000001)
> >     `universe_epilogue' has .ORDER dependency against universe_pc98 (made 1, flags 3009, type 3000001)
> >     `universe_epilogue' has .ORDER dependency against universe_powerpc (made 1, flags 3009, type 3000001)
> >     `universe_epilogue' has .ORDER dependency against universe_sparc64 (made 1, flags 3009, type 3000001)
> > 
> > # make -j12 -DMAKE_JUST_KERNELS JFLAG=-j12 universe 
> > (same result)
> 
> It is the -j<n> causing the problem.  I tried with an empty /usr/obj too
> but that didn't help either.  Does anyone know of a way around this?
> Building without -j is quite tedious.

You can try passing 'JFLAG=-j12' to the make universe invocation. It's
not the same in that each target is built with -j12 rather rather than
building 12 targets at once. But it lets me finish a make universe
overnight on my laptop.

-Mark



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