From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 3 21:21:30 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 26B54B17; Mon, 3 Jun 2013 21:21:30 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-oa0-x22f.google.com (mail-oa0-x22f.google.com [IPv6:2607:f8b0:4003:c02::22f]) by mx1.freebsd.org (Postfix) with ESMTP id D7BA0184A; Mon, 3 Jun 2013 21:21:29 +0000 (UTC) Received: by mail-oa0-f47.google.com with SMTP id m1so1381108oag.34 for ; Mon, 03 Jun 2013 14:21:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=vZ+IS9kiQJk0ByZmobrXh9DFGqRgeFYsBJN1WVVTMb0=; b=bp3UzqgxOv9YNlekg2I0IdlPqgk5HKaECFQceUh1y/7I+etP5s6tgyBJ/gX/2JPpid SKIf8DzF60t279ZCUIomJc2J1tHI3MYu4it1z7L1ANSlREMpFTSm+r8x+5Jq+p4qxthG 2AXpsxZ//LIAoQouR61hmOMiLrwjMp4Is6kBPmVfxH7v7cjC/f/sGADLBWg5iftnpiOa iID+jr+QKm17oFJNGai3qB/6po1ZraJO3WW9CqC1bBBUOflS10n9oX4f1/J/EJyaQYBh vdlCaXS4oxZnY/VdrF2hIz3McoKnLs4PGPKMOSKpQCCLIz1pqOyRlbK+y7lVc86KauwS LYOw== X-Received: by 10.182.213.10 with SMTP id no10mr5747615obc.76.1370294489514; Mon, 03 Jun 2013 14:21:29 -0700 (PDT) Received: from gloom.sandvine.com ([64.7.137.182]) by mx.google.com with ESMTPSA id jw8sm47533993obb.14.2013.06.03.14.21.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Jun 2013 14:21:28 -0700 (PDT) Date: Mon, 3 Jun 2013 17:21:16 -0400 From: Mark Johnston To: Navdeep Parhar Subject: Re: UNIVERSE_TARGET doesn't seem to work Message-ID: <20130603212116.GB38214@gloom.sandvine.com> References: <20130531014320.GA22257@itx> <51AD0702.2060802@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51AD0702.2060802@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: sjg@freebsd.org, freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2013 21:21:30 -0000 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 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