From owner-freebsd-arch@freebsd.org Thu Jun 30 16:42:42 2016 Return-Path: Delivered-To: freebsd-arch@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 131E9B87609 for ; Thu, 30 Jun 2016 16:42:42 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) 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 EB21B2D6A for ; Thu, 30 Jun 2016 16:42:41 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id EA661B87608; Thu, 30 Jun 2016 16:42:41 +0000 (UTC) Delivered-To: arch@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 E9FE7B87607 for ; Thu, 30 Jun 2016 16:42:41 +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 D2A622D69; Thu, 30 Jun 2016 16:42:41 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id ACEBF1D0C; Thu, 30 Jun 2016 16:42:41 +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 3B6A71C9B2; Thu, 30 Jun 2016 16:42:41 +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 GIRAF_QyQh1d; Thu, 30 Jun 2016 16:42:37 +0000 (UTC) Subject: Build work 11.0 plans status update DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com BB4021C99B To: arch@FreeBSD.org References: <201605270001.u4R01mKT087678@repo.freebsd.org> <20160527182543.GB4025@FreeBSD.org> From: Bryan Drewery Organization: FreeBSD Message-ID: <0d639d52-3ed4-a86d-3d45-b93c02939ce7@FreeBSD.org> Date: Thu, 30 Jun 2016 09:42:35 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <20160527182543.GB4025@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="q86OWKqMmbhFCEm4SGFn4iWS5u5n6lDeC" X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2016 16:42:42 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --q86OWKqMmbhFCEm4SGFn4iWS5u5n6lDeC Content-Type: multipart/mixed; boundary="bMI01pmiVVXs9c7autOaqWMAAAG9tiuP9" From: Bryan Drewery To: arch@FreeBSD.org Message-ID: <0d639d52-3ed4-a86d-3d45-b93c02939ce7@FreeBSD.org> Subject: Build work 11.0 plans status update References: <201605270001.u4R01mKT087678@repo.freebsd.org> <20160527182543.GB4025@FreeBSD.org> In-Reply-To: <20160527182543.GB4025@FreeBSD.org> --bMI01pmiVVXs9c7autOaqWMAAAG9tiuP9 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable (bcc'd some specific interested parties) This is from a private mail I sent to re@ a while back and is a status update for upcoming work. > On Fri, May 27, 2016 at 11:18:58AM -0700, Bryan Drewery wrote: >> Heads up, I intend to continue adding a few new features during the >> slush/stable period since they are so impactful. They will be >> off-by-default for stable/11 at this point I guess. I feel this is fi= ne >> since it is not ABI-related. >> >> - AUTO_OBJ: For subdir builds and buildworld, automatically create obj= >> dirs without needing 'make obj'. I wanted to enable this by default b= ut >> can wait for the branch to be created. There is some work pending for= this. >> - Using objdir pattern of /usr/obj/usr/src/TARGET.TARGET_ARCH/bin/sh f= or >> all archs, not just non-native. I'd prefer this made it into stable/1= 1. >> Very little work remaining for this. >> - WITH_META_MODE: Fixed incremental (with default -DNO_CLEAN) build >> (mail pending to current@ soon). No work remaining except 1 pending >> commit. Not planning on-by-default for stable/11. >> - Build clang once for universe regardless of WITH_SYSTEM_COMPILER. >> On-by-default. I really intend to make this into stable/11. It will = be >> too great of a time savings to ignore for 11 release testing IMO. >> >=20 Just an update... - WITH_SYSTEM_COMPILER is now on by default. There has been some unexpected fallout from this such as with ppc64 thinking it was using a newer gcc (fixed), or the xlint build failing for 1 user (still not fixed). - META_MODE should mostly be done now. Some fixes/tweaks may still trickle in for edge cases, such as allowing WITH_SYSTEM_COMPILER to work with it. The problem is that flip-flopping between using an internal and external compiler and it adding -target/--sysroot flags in on the 2nd build and meta mode detecting the changed build command. I would like to always pass these flags, even with the internal cross-compiler, to fix the problem. I think the lld effort would be happy with this too.= - Building clang once in universe isn't coming soon. Likely 3-4 weeks out. I'll cross the question of merging once it is done and how intrusive it is. I believe it may be a bit more complex than I imagined to make it clean and easily maintained. It would need a pre-universe "universe-toolchain" phase that changes how universe works a lot. I consider it overall trivial but don't want to duplicate too much code. It somewhat relies on the new AUTO_OBJ work too. More time is needed on = it. - AUTO_OBJ I am splitting into 3 separate patches after feedback. 1. Removing 'make obj' treewalks from buildworld/buildkernel. This is coming in the next few days. No risk to it. 2. Unifying the objtree as like /usr/obj/usr/src/TARGET.TARGET_ARCH/bin/sh. This I will bring in an option of UNIFIED_OBJDIR to flip between the old and new patterns. Some tools such as picobsd and the options survey will rely on the old pattern. A CFT is needed to discover what else relies on the old patterns still. There's also a problem of migrating from the old tree to the new. I will bring this patch as off-by-default to re@ in the next week. 3. Default AUTO_OBJ in subdirs. This one is kind of tricky and needs some more thought. Non-root especially may be problematic since it will try to write to /usr/obj by default. I likely will hold off on this and not propose it for 11.0. --=20 Regards, Bryan Drewery --bMI01pmiVVXs9c7autOaqWMAAAG9tiuP9-- --q86OWKqMmbhFCEm4SGFn4iWS5u5n6lDeC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJXdUv8AAoJEDXXcbtuRpfPCAIIALBiJQO0MmXOsVEqr2JY2EpC +8xeakR5uX/PEKGC9ajBwiF7lBxGmIxyGw0vY/DhPab9tEURtUxnqirJ9LYZBEoj 6fw/NtRFAcKW0nxLxfihb6vUjmz8DT++wtTwnCaQeoRHLnpi9Rhj6DU9sXCPblNv nboCNSpsMr71lFGjIPaq/F/wJgiP2crh04GM/2k3yzPh2MjrS13Dz4thDSDz9/ur C47+lwE6A6ZIkhjMCDd6bw1artaX/JAdQH2p8NzX7uu9hyRG+PrLqh3bw+Na+AKN YRM781apkBD/19Dm1VBzLy1jHKstvDSSskN5qR5IibggU9NgOf3jb8ZJ3QrVJFc= =zm3b -----END PGP SIGNATURE----- --q86OWKqMmbhFCEm4SGFn4iWS5u5n6lDeC--