From owner-freebsd-ppc@freebsd.org Tue May 31 15:57:24 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 017E2B563AF; Tue, 31 May 2016 15:57:24 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id E58E514DF; Tue, 31 May 2016 15:57:23 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id DC75D1ABA; Tue, 31 May 2016 15:57:23 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 5ADE41E9F7; Tue, 31 May 2016 15:57:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id hfek-rEoldbq; Tue, 31 May 2016 15:57:15 +0000 (UTC) Subject: Re: [CFT] WITH_META_MODE: Working incremental build [only on i386 and amd64] DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com D52881E9ED To: Mark Millard , FreeBSD Current References: Cc: FreeBSD PowerPC ML , freebsd-arm From: Bryan Drewery Organization: FreeBSD Message-ID: <8835f09a-4e52-5bd0-ba8e-763eb6a92db7@FreeBSD.org> Date: Tue, 31 May 2016 08:57:10 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2016 15:57:24 -0000 On 5/29/16 3:53 PM, Mark Millard wrote: > Quoting the original note about WITH_META_MODE ( https://lists.freebsd.org/pipermail/freebsd-current/2016-May/061481.html ): > >> You will also need to load the filemon(4) module with 'kldload filemon'. > > But head's sys/modules/Makefile says: > >> .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) >> SUBDIR=${MODULES_OVERRIDE} >> .else >> SUBDIR= \ > > . . . >> ${_filemon} \ > > . . . >> .if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" > . . . >> _filemon= filemon > . . . > > as the only contexts that provide a filemon.ko to use with kldload. > > Thus, for example, arm variants (32 bit and 64 bit) and powerpc variants (32bit and 64 bit) do not have WITH_META_MODE as an option as things are set up. > > I had been hoping to cut down on the time for clang-related rebuilds during native buildworld runs on my slower buildworld contexts (armv7a/cortex-a7, powerpc, powerpc64). But it was not to be. > > It appears that, once some arm variants are officially tier 1, WITH_META_MODE will not span all tier 1 platforms. > > [Since I tend to use non-tier-1 platforms I tend to notice some of the statements about FreeBSD that are true of only tier 1 without being explicit about it. But initially it takes some research to discover that status for each such point. WITH_META_MODE is an example.] > Ah, I wasn't aware of the restriction. I am testing building it for other archs now. Most of the arch-dependent code has been removed since the restriction was added. -- Regards, Bryan Drewery