From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 3 21:27:21 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 D54E713D; Mon, 3 Jun 2013 21:27:21 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by mx1.freebsd.org (Postfix) with ESMTP id AD8D4190C; Mon, 3 Jun 2013 21:27:21 +0000 (UTC) Received: by mail-pd0-f179.google.com with SMTP id q11so6211952pdj.38 for ; Mon, 03 Jun 2013 14:27:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=17FsyWCdf2oPzCIXA9KzHr9txwPOXO+wO6waOz8LXrA=; b=w2iloYHzbw3fSvYqNv2qQOIya8bVfSfiZfTHDFfpEFGCAEWaArILCIR4iOZf3Ut5Ou o5ETHOAU/lGq05EdxHOjEEC9Dcv4j9F31T3MRpKNERMGvTwukryL2ahza6Bt/pnmxlo3 cZ9r6YOWCnBZaNS2MRZClYGn2XC6s4unw8+hWSS6kYS4VZ81PJusf0yutlycfGFafsoB ls0MXA/jCNs2mREm9qqF3iJvbWIm27LGzZ7VcoJhu7fQzNTjJbkH6HX/sPInjE93uA8w suFTXOxq4JdceNpeV42YpKWo2snaJeAebtm9YQLPLydA1wo2n0s7K/m9uDgSDsXB0RlS GgUQ== X-Received: by 10.68.224.228 with SMTP id rf4mr2656500pbc.50.1370294841186; Mon, 03 Jun 2013 14:27:21 -0700 (PDT) Received: from [10.192.166.0] (stargate.chelsio.com. [67.207.112.58]) by mx.google.com with ESMTPSA id al2sm60382764pbc.25.2013.06.03.14.27.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 03 Jun 2013 14:27:19 -0700 (PDT) Message-ID: <51AD0A35.9070602@gmail.com> Date: Mon, 03 Jun 2013 14:27:17 -0700 From: Navdeep Parhar User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: Eitan Adler Subject: Re: UNIVERSE_TARGET doesn't seem to work References: <20130531014320.GA22257@itx> <51AD0702.2060802@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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:27:21 -0000 On 06/03/13 14:20, Eitan Adler wrote: > On 3 June 2013 23:13, 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. > > 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. But I want to build the architectures in parallel and run multiple jobs within each architecture in parallel as well (which is why you see both -j12 and JFLAG=-j12 in the command that I posted above). It used to work till fairly recently. Regards, Navdeep