libc++ vs. libstdc++ usage in the ports tree
Steve Kargl
sgk at troutmask.apl.washington.edu
Thu Nov 14 14:45:56 UTC 2013
On Thu, Nov 14, 2013 at 09:54:52AM +0000, David Chisnall wrote:
> On 13 Nov 2013, at 19:40, Dimitry Andric <dim at freebsd.org> wrote:
>
> > 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. :-)
>
> That said, it should still be possible to mix them in different
> libraries. The constraint from the wiki still applies: if you
> don't use STL types at library boundaries, then it should still
> work. If you do, then the libc++ and libstdc++ symbols will be
> mangled differently and so you will get link-time errors.
>
> In theory, if it links it should run...
>
And in practice, it is broken.
http://lists.freebsd.org/pipermail/freebsd-current/2013-November/046565.html
QED
--
Steve
More information about the freebsd-current
mailing list