From owner-freebsd-current@FreeBSD.ORG Sun Feb 16 20:07:22 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 35B774D4 for ; Sun, 16 Feb 2014 20:07:22 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E0E771A24 for ; Sun, 16 Feb 2014 20:07:21 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::21c3:44c8:db38:e11b] (unknown [IPv6:2001:7b8:3a7:0:21c3:44c8:db38:e11b]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id C36165C45 for ; Sun, 16 Feb 2014 21:07:13 +0100 (CET) From: Dimitry Andric Content-Type: multipart/signed; boundary="Apple-Mail=_A64F6D5F-88DC-4AA3-9F89-04E832341CB0"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: HEADS UP: Updated llvm/clang to 3.4 in r261991 Message-Id: <6FA0FC8C-ABAA-433A-94AF-43AF84AD2AE4@FreeBSD.org> Date: Sun, 16 Feb 2014 21:06:58 +0100 To: FreeBSD Current Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) X-Mailer: Apple Mail (2.1827) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Feb 2014 20:07:22 -0000 --Apple-Mail=_A64F6D5F-88DC-4AA3-9F89-04E832341CB0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Hi, I have just upgraded our copy of llvm/clang to 3.4 release, in r261991. This version supports all of the features in the current working draft of the upcoming C++ standard, provisionally named C++1y. The code generator's performance is greatly increased, and the loop auto-vectorizer is now enabled at -Os and -O2 in addition to -O3. The PowerPC backend has made several major improvements to code generation quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ backends have all seen major feature work. Release notes for llvm and clang can be found here: Note that building lldb (using WITH_LLDB) will not work at this point, since our lldb snapshot was locally modified to be able to work with the old llvm 3.3 API. Ed Maste will most likely fix this very soon (and maybe import a new snapshot, I hope :-). Another important aspect for end-users and ports maintainers is the new compiler flag handling in clang 3.4. It has become more strict, in the sense that it will now error out on flags it does not recognize, in particular most gcc-specific optimization fine-tuning flags. Some ports which blindly use such gcc-specific flags will therefore be broken, but these are usually very easy to fix. During the exp-run which was done with this new version of clang, several ports with the highest number of dependent ports (open-motif, libtheora, boost-libs, etc) have already been handled, but more work still needs to be done. Last but not least, I hope we can now start using clang for more of our existing architectures, like powerpc, mips, and possibly even new ones like arm64. Enjoy! -Dimitry --Apple-Mail=_A64F6D5F-88DC-4AA3-9F89-04E832341CB0 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.22 (Darwin) iEYEARECAAYFAlMBGmYACgkQsF6jCi4glqPLBQCcD6vHZTgqcrtekSJhhEp/+yC0 nPEAoNa0lQ/GlIGSrQib2WerZVEvzsxV =njzp -----END PGP SIGNATURE----- --Apple-Mail=_A64F6D5F-88DC-4AA3-9F89-04E832341CB0--