From owner-freebsd-current@FreeBSD.ORG Wed Nov 13 19:40:40 2013 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 854C73E2; Wed, 13 Nov 2013 19:40:40 +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 406B12A71; Wed, 13 Nov 2013 19:40:40 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::e94f:b84:94c0:5083] (unknown [IPv6:2001:7b8:3a7:0:e94f:b84:94c0:5083]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 7256F5C47; Wed, 13 Nov 2013 20:40:31 +0100 (CET) Content-Type: multipart/signed; boundary="Apple-Mail=_483127B8-4ABE-4B28-984B-78383E7B1CC2"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: libc++ vs. libstdc++ usage in the ports tree From: Dimitry Andric In-Reply-To: <5283CA3C.3080201@FreeBSD.org> Date: Wed, 13 Nov 2013 20:40:25 +0100 Message-Id: <352D9465-9840-43F0-A3A9-327DC12B0967@FreeBSD.org> References: <20131112163219.GA2834@troutmask.apl.washington.edu> <77CB2B92-216A-4C80-B033-7E582B5F0DFC@FreeBSD.org> <20131112165422.GA2939@troutmask.apl.washington.edu> <20131112175556.GA3319@troutmask.apl.washington.edu> <20131112201922.GA4330@troutmask.apl.washington.edu> <20131113173143.Horde.a-9M7JQ_vHo3tpDIMsGK6g1@webmail.df.eu> <5283CA3C.3080201@FreeBSD.org> To: Andriy Gapon X-Mailer: Apple Mail (2.1822) Cc: FreeBSD Current , Ryan Stone X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 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: Wed, 13 Nov 2013 19:40:40 -0000 --Apple-Mail=_483127B8-4ABE-4B28-984B-78383E7B1CC2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 13 Nov 2013, at 19:51, Andriy Gapon wrote: > on 13/11/2013 19:52 Ryan Stone said the following: >> In my experience libstdc++ does not have good ABI stability between = versions >=20 > In my experience it does. > In either case compatibility between different versions of relatively = modern > libstdc++ version is no doubt much better than between libstdc++ and = libc++. Well, GNU libstdc++ is backwards compatible, so you can run programs originally linked against our 4.2.1 version of libstdc++.so, using the latest ports version of libstdc++.so, and they should work. (Not vice versa, but that is not a supported use case.)=20 On the other hand, different C++ standard libraries simply cannot be mixed. The internal implementations are usually completely different. This is not really news at all, certainly not to the ports people. :-) -Dimitry --Apple-Mail=_483127B8-4ABE-4B28-984B-78383E7B1CC2 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) iEYEARECAAYFAlKD1a4ACgkQsF6jCi4glqM1nQCeKCI49CEuI9/BWwOYHLHJSKAF RAUAnApgzxrwD1QYig0yMlNUxEPNBoIg =rHvu -----END PGP SIGNATURE----- --Apple-Mail=_483127B8-4ABE-4B28-984B-78383E7B1CC2--