From owner-freebsd-toolchain@freebsd.org Fri Nov 13 21:53:02 2015 Return-Path: Delivered-To: freebsd-toolchain@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 40C46A2E652 for ; Fri, 13 Nov 2015 21:53:02 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D02E21DE4 for ; Fri, 13 Nov 2015 21:53:01 +0000 (UTC) (envelope-from sjg@juniper.net) Received: by mailman.ysv.freebsd.org (Postfix) id CB698A2E651; Fri, 13 Nov 2015 21:53:01 +0000 (UTC) Delivered-To: toolchain@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 B2951A2E650 for ; Fri, 13 Nov 2015 21:53:01 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0132.outbound.protection.outlook.com [157.56.111.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C4EE1DE3; Fri, 13 Nov 2015 21:52:59 +0000 (UTC) (envelope-from sjg@juniper.net) Received: from BY2PR05CA062.namprd05.prod.outlook.com (10.141.250.52) by BY2PR0501MB1672.namprd05.prod.outlook.com (10.163.154.15) with Microsoft SMTP Server (TLS) id 15.1.325.17; Fri, 13 Nov 2015 21:38:37 +0000 Received: from BN1BFFO11FD054.protection.gbl (2a01:111:f400:7c10::1:184) by BY2PR05CA062.outlook.office365.com (2a01:111:e400:2c5f::52) with Microsoft SMTP Server (TLS) id 15.1.325.17 via Frontend Transport; Fri, 13 Nov 2015 21:38:38 +0000 Authentication-Results: spf=softfail (sender IP is 66.129.239.17) smtp.mailfrom=juniper.net; FreeBSD.org; dkim=none (message not signed) header.d=none;FreeBSD.org; dmarc=none action=none header.from=juniper.net; Received-SPF: SoftFail (protection.outlook.com: domain of transitioning juniper.net discourages use of 66.129.239.17 as permitted sender) Received: from p-emfe01a-sac.jnpr.net (66.129.239.17) by BN1BFFO11FD054.mail.protection.outlook.com (10.58.145.9) with Microsoft SMTP Server (TLS) id 15.1.325.5 via Frontend Transport; Fri, 13 Nov 2015 21:38:37 +0000 Received: from magenta.juniper.net (172.17.27.123) by p-emfe01a-sac.jnpr.net (172.24.192.21) with Microsoft SMTP Server (TLS) id 14.3.123.3; Fri, 13 Nov 2015 13:38:36 -0800 Received: from chaos.jnpr.net (chaos.jnpr.net [172.21.16.28]) by magenta.juniper.net (8.11.3/8.11.3) with ESMTP id tADLcZD90841; Fri, 13 Nov 2015 13:38:35 -0800 (PST) (envelope-from sjg@juniper.net) Received: from chaos (localhost [IPv6:::1]) by chaos.jnpr.net (Postfix) with ESMTP id 169CA580A9; Fri, 13 Nov 2015 13:38:35 -0800 (PST) To: Bryan Drewery CC: , , , , Subject: Re: Meta mode toolchain bootstrapping [was Re: FreeBSD targets/ out-of-date] In-Reply-To: <5646423C.2000601@FreeBSD.org> References: <55E769EF.7090908@FreeBSD.org> <4924.1441306006@chaos> <56450AB8.90402@FreeBSD.org> <13427.1447371730@chaos> <56453F0D.90206@FreeBSD.org> <21917.1447435324@chaos> <5646423C.2000601@FreeBSD.org> Comments: In-reply-to: Bryan Drewery message dated "Fri, 13 Nov 2015 12:04:12 -0800." From: "Simon J. Gerraty" X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 24.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16231.1447450715.1@chaos> Date: Fri, 13 Nov 2015 13:38:35 -0800 Message-ID: <29005.1447450715@chaos> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD054; 1:vfYQoAlJHUrmOfbsJkVfE5I4iY9mEeYnA5SUeh2JHFqp9qUq7QbYbWZgOA/QCMGkRkU2V7H/JbtR3CeV6J7V9VBxW6BknrWY+eBybx1iaEYgmZ+Mk5EWC5sjox2iCLAu40pO8XfGwSIC3OLhDw63HI0x6nCuuG9HzZ5HrcC5JvAHnAZmo8jCCrQ990/OP5JgOi1UKtItzHGriGl8JZDAKYekBeSVb5MeBnpOvTvKb7aWu3EPk91sRw4cdpPS0qfSetRpP5Ztep+zg9atGPBZxjAAxcXOgBESG+rf9G8UUSLtEwYccfHNuwV8HQ5f+faZp6OlHElK/JBXF3OuA5vsMw== X-Forefront-Antispam-Report: CIP:66.129.239.17; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(24454002)(199003)(479174004)(377454003)(189002)(23726002)(105596002)(230783001)(33716001)(50466002)(106466001)(46406003)(97756001)(93886004)(86362001)(5008740100001)(50986999)(92566002)(76176999)(117636001)(50226001)(47776003)(11100500001)(69596002)(6806005)(5007970100001)(97736004)(81156007)(87936001)(4001430100002)(450100001)(57986006)(76506005)(77096005)(2950100001)(19580405001)(107886002)(5001960100002)(5001920100001)(19580395003)(189998001)(110136002)(586003)(62816006)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR0501MB1672; H:p-emfe01a-sac.jnpr.net; FPR:; SPF:SoftFail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0501MB1672; 2:e6oaRTrsH5pC3QqRtKQqVHms9xnQJnUx2k437lekM9wTt8iRwW5PTeAV7sqxQcZcOmgcZ1XJ9CPK03tWSs/PePEQNsMordaNx35nZzNR663I6kPyuCWAW11JL11x13BFpRckO61Efy98TPLARJ6L/uPuepSCofkeBOIJdpfKDVk=; 3:sfELiF7kdzGUppP0bNyj/YrkytM+KqzNPTP38dXc+hiDRq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p/5YNDb26arMZi1673X2; 4:bXn6pch4EgfJVUpVtaI89hIkZBbp7Gu8qpimUYm8HCNg+8BMd3GKVHAfxe/dtwVtGnBABokgcUhsfzNo33Nf+OXy/BpgLRP4V30Fwjgt0DII7erFkkGaVuggGvu6f2Vt4pdNHaBqwVFP6oz8XIS5eAq/Blv6u46HOsSXj9JPNuVbUHmbFrZWI2fthLZAGAedLKzESCYXPm5ZPZA1hmAwT+CQMqCO3P1mB6HuWiVU2CblyvFMZCrMTC9AFIvyGcAbuG92Ei4xycgX5HAgFuK6zcAU1JmCCr9HaVqvy+Qww/is8tvZJX2RqTpmNEaBCStndfkXoY3UH0VXVtNztHH2c936rL+spHyNsN8/gVLolzbBPO5xWNEe99dPOa6gtqml X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(520078)(3002001)(10201501046); SRVR:BY2PR0501MB1672; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0501MB1672; X-Forefront-PRVS: 0759F7A50A X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0501MB1672; 23:Cs724ziMzmZIREBAQxxgE/JHqXjFrFBQfDUuvhx?= =?us-ascii?Q?1pNTzqJI9T49T02ErrwnukMzbphX2DusepTo8khukBUtpvq7dH34sbxlD2fJ?= =?us-ascii?Q?F8rbyORIxYrLCjTID6jjuf13cH+X/wYPXeBri95cphG/YirKlXjxmKEn3eFj?= =?us-ascii?Q?x4+FuLBdB5GiLeJDDOomOYI+JNEF99BV3JcQjKdU4K6JfhYhUA11dY3Gju58?= =?us-ascii?Q?4zjVnozCzrNiyxJkolcVL9Wa6T7INiBI8KFPzze1CKlxk5pfjmylYn7QlVZa?= =?us-ascii?Q?uLHpS/cYP5+WXUa54AbFL0hS+Nh2y7NQdLDp6XqzLvPeM7C/zXWbatS/llI6?= =?us-ascii?Q?3YgsZuP9LSO3HFQ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c8iDl6FadN?= =?us-ascii?Q?7lqmIc6PfOicyt1P0q/U=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR0501MB1672; 5:NpU/5eq0pe5uJdeaLPXz54MBCaj1HoSzIMdMLZp8M8dVgspXwrI8E0/Lx5YSd/FsfXxnFW6WuscVp6NKoZoeUbRHH9WhtJbbmKCA20ef/tWmKefQZ7qKdwy87/EQ7PVG90oND05w+uQg7yBXJdN/oA==; 24:VMF6A67OH0juS2UwMDWko4piPXoTN+Ke5X//3QoGElchZy1PswGAP4i580JSvMSxAuoPo7oybKc+yg9V7tXA1I9pYdrBZ8j5KWDIvQBAilw=; 20:BuXASro5Z4s4yVtfgmuHrBgYdCoVASH2Mfqfs4OaypdTkSaRP637t5xRm8cXVLVkf/+maELDj2tpZXz068fS7A== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Nov 2015 21:38:37.1741 (UTC) X-MS-Exchange-CrossTenant-Id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=bea78b3c-4cdb-4130-854a-1d193232e5f4; Ip=[66.129.239.17]; Helo=[p-emfe01a-sac.jnpr.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0501MB1672 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Nov 2015 21:53:02 -0000 Bryan Drewery wrote: > On 11/13/2015 9:22 AM, Simon J. Gerraty wrote: > > Bryan Drewery wrote: > >>> WITH_META_FILES should give you improvements already in that regard. > >> > >> Yes, it's a step. We'll need cookies in a lot of places too. I wish > >> WITH_META_MODE had been WITH_META_BUILD or WITH_DIRDEPS_BUILD so I could > > > > WITH_DIRDEPS_BUILD would be more accurate. > > > > Its not too late to rename/add it. > > My hesitation was really only due to all of the documentation and The diff is pretty small actually - only 8 files affected. I suspect renaming tools/build/options/WITH_META_{FILES,MODE} might need to be done in a couple of steps? At least svn diff cannot correctly represent svn mv WITH_META_MODE WITH_DIRDEPS_BUILD svn mv WITH_META_FIES WITH_META_MODE > > I think I mentioned the otherday of having something like: > > > > .if ${MK_META_MODE} == "yes" > > # we can safely use cookies to avoid always > > # re-running targets. > > META_COOKIE_TOUCH= touch ${COOKIE.${.TARGET}:U${.TARGET}} > > .else > > META_COOKIE_TOUCH= > > .endif > > > > in meta.sys.mk so you could just add ${META_COOKIE_TOUCH} > > to the end of suitable targets. > > Great, thanks. Definitely will be useful. Better name welcome Also this probably wants to go somewhere other than meta.sys.mk not needed during sys.mk anyway.