Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jun 2013 23:20:09 +0200
From:      Eitan Adler <lists@eitanadler.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:  <CAF6rxgmTEqmnXM_gjgaVXaG%2B3iYMP_T2mbCnMkwYAxLpK_8xYw@mail.gmail.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 3 June 2013 23:13, Navdeep Parhar <nparhar@gmail.com> 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.

try the parameter JFLAG ?

from man build:
     JFLAG              Pass the value of this variable to each make(1) invo-
                        cation used to build worlds and kernels.  This can be
                        used to enable multiple jobs within a single architec-
                        ture's build while still building each architecture
                        serially.

-- 
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgmTEqmnXM_gjgaVXaG%2B3iYMP_T2mbCnMkwYAxLpK_8xYw>