libc++ vs. libstdc++ usage in the ports tree

Dimitry Andric dim at FreeBSD.org
Wed Nov 13 19:40:40 UTC 2013


On 13 Nov 2013, at 19:51, Andriy Gapon <avg at 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
> 
> 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.) 

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131113/14dd5cf5/attachment.sig>


More information about the freebsd-current mailing list