From owner-freebsd-current@FreeBSD.ORG Thu Jan 30 23:20:03 2014 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B5C4954A; Thu, 30 Jan 2014 23:20:03 +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 6E4CF10B2; Thu, 30 Jan 2014 23:20:03 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::b845:cd7b:51ca:897] (unknown [IPv6:2001:7b8:3a7:0:b845:cd7b:51ca:897]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 0BA205C44; Fri, 31 Jan 2014 00:19:59 +0100 (CET) Subject: Re: System libc++ isn't fully compatible with clang 3.4 from ports Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: multipart/signed; boundary="Apple-Mail=_2A25FAD7-165D-4DAC-93DC-B3F4502F7543"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.1 (6062eb4) From: Dimitry Andric In-Reply-To: <20140129144518.GR52820@hades.panopticon> Date: Fri, 31 Jan 2014 00:19:45 +0100 Message-Id: References: <20140129022743.GO52820@hades.panopticon> <7B2C5E6B-C845-4AFB-845F-AAF6F3C1F239@FreeBSD.org> <20140129144518.GR52820@hades.panopticon> To: Dmitry Marakasov X-Mailer: Apple Mail (2.1827) Cc: freebsd-current@FreeBSD.org, David Chisnall , Brooks Davis 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: Thu, 30 Jan 2014 23:20:03 -0000 --Apple-Mail=_2A25FAD7-165D-4DAC-93DC-B3F4502F7543 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 29 Jan 2014, at 15:45, Dmitry Marakasov wrote: > * Dimitry Andric (dim@FreeBSD.org) wrote: > >>> JFYI, I've just ran into shortcoming of libc++ from 10-RELEASE when used >>> with clang 3.4 from ports: >> ... >>> The cause: http://llvm.org/bugs/show_bug.cgi?id=17798, was fixed in >>> libc++ r194154. We probably need to update libc++ or at least backport >>> this into stable branches if we want to support clang 3.4 in ports. >> >> Hm, which port is having problems with this? I have built quite a large >> set, and never encountered this issue. >> >> In any case: yes, it is quite long overdue for a libc++ update. :-) I >> will have a look tonight. > > New version of games/spring (not in ports yet). > > std::function and lambdas are not that widely used for this problem to > be common, but some time we may run into it for some critical software. Okay, I imported the 3.4 version of libc++, which includes the fix for llvm PR17798, in r261283. I also bumped __FreeBSD_version to 1100007 for it. -Dimitry --Apple-Mail=_2A25FAD7-165D-4DAC-93DC-B3F4502F7543 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) iEYEARECAAYFAlLq3h0ACgkQsF6jCi4glqNmdgCg/YE+BtwOfqjzXK0NHluvFPUn RQEAn0gmmwjcbvZmTEJ6Y74hTpDu+CSH =5YuX -----END PGP SIGNATURE----- --Apple-Mail=_2A25FAD7-165D-4DAC-93DC-B3F4502F7543--