Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 20:40:25 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        FreeBSD Current <freebsd-current@FreeBSD.org>, Ryan Stone <rysto32@gmail.com>
Subject:   Re: libc++ vs. libstdc++ usage in the ports tree
Message-ID:  <352D9465-9840-43F0-A3A9-327DC12B0967@FreeBSD.org>
In-Reply-To: <5283CA3C.3080201@FreeBSD.org>
References:  <20131112163219.GA2834@troutmask.apl.washington.edu> <77CB2B92-216A-4C80-B033-7E582B5F0DFC@FreeBSD.org> <20131112165422.GA2939@troutmask.apl.washington.edu> <E0FE40D9-726C-4501-B31A-3622510C1C68@FreeBSD.org> <20131112175556.GA3319@troutmask.apl.washington.edu> <20131112201922.GA4330@troutmask.apl.washington.edu> <20131113173143.Horde.a-9M7JQ_vHo3tpDIMsGK6g1@webmail.df.eu> <CAFMmRNxk25AJ3TMuceSG=EmL3qSE9Xhk_wpL5pAD8YvZrA6gkg@mail.gmail.com> <5283CA3C.3080201@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <avg@freebsd.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?352D9465-9840-43F0-A3A9-327DC12B0967>