From owner-freebsd-stable@freebsd.org Sun Oct 11 17:27:06 2015 Return-Path: Delivered-To: freebsd-stable@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 C1AED9D2EDF for ; Sun, 11 Oct 2015 17:27:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8491CBB7 for ; Sun, 11 Oct 2015 17:27:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::9403:ea0b:fbc7:5e71] (unknown [IPv6:2001:7b8:3a7:0:9403:ea0b:fbc7:5e71]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 49FD8342C0; Sun, 11 Oct 2015 19:27:03 +0200 (CEST) Subject: Re: STABLE clang planned update MFC path (3.4.1 STABLE, 3.7.0, CURRENT) Mime-Version: 1.0 (Mac OS X Mail 9.0 \(3094\)) Content-Type: multipart/signed; boundary="Apple-Mail=_2C580982-8DC5-4B29-BA6E-C7C32A9580E7"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.6b2 From: Dimitry Andric In-Reply-To: <561A508B.1060408@riseup.net> Date: Sun, 11 Oct 2015 19:26:54 +0200 Cc: freebsd-stable@freebsd.org, jakub.lach@mailplus.pl Message-Id: <9AC8D4B2-2817-4B4C-BB5C-AADB401A01D4@FreeBSD.org> References: <561A508B.1060408@riseup.net> To: Piotr Kubaj X-Mailer: Apple Mail (2.3094) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2015 17:27:06 -0000 --Apple-Mail=_2C580982-8DC5-4B29-BA6E-C7C32A9580E7 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 11 Oct 2015, at 14:05, Piotr Kubaj wrote: > > AFAIK if there had been such plans, they were dropped long ago. The > reasoning it can't be done (at least for now) is that versions 3.5.0+ > require C++11-capable stack and that would break upgrades from 9-STABLE > (if the user still uses GCC, as is by default). So, LLVM in stable/10 > will probably be upgraded when stable/9 goes EOL. If stable/10 had clang 3.5 or higher, you could still upgrade from stable/9. It would only require you to do the upgrade in two steps: * Rebuild and reinstall your stable/9 world using WITH_CLANG, WITH_CLANG_IS_CC, and WITH_LIBCPLUSPLUS. This will install clang 3.4.1 and libc++, and make clang the default compiler. * Checkout stable/10 (or even head), and build/install it in the regular fashion. I am personally not against merging newer llvm/clang versions into stable/10. But the "silent agreement" has always been that you could upgrade easily from the latest stable/X to stable/X+1, and the above two-step process breaks that, or at least makes it more complicated. Last but not least, note that this would only apply to the architectures that *can* actually build clang 3.4.1 and libc++ on stable/9. This is currently limited to x86, little-endian arm and powerpc (64 bit, I'm unsure about 32 bit). -Dimitry --Apple-Mail=_2C580982-8DC5-4B29-BA6E-C7C32A9580E7 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.28 iEYEARECAAYFAlYam+YACgkQsF6jCi4glqOJBwCgj5UMrt8nC7XA8UWfpQvLmIQe SesAoN2xG7degCYryXx6+1tVSTwz5gOC =cEFY -----END PGP SIGNATURE----- --Apple-Mail=_2C580982-8DC5-4B29-BA6E-C7C32A9580E7--