Date: Thu, 14 Nov 2013 06:45:55 -0800 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: David Chisnall <theraven@FreeBSD.org> Cc: Ryan Stone <rysto32@gmail.com>, FreeBSD Current <freebsd-current@FreeBSD.org>, Dimitry Andric <dim@FreeBSD.org>, Andriy Gapon <avg@FreeBSD.org> Subject: Re: libc++ vs. libstdc++ usage in the ports tree Message-ID: <20131114144555.GA22093@troutmask.apl.washington.edu> In-Reply-To: <B2F7EDA4-DF34-4D5D-B995-5ADA1A9898D8@FreeBSD.org> References: <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> <352D9465-9840-43F0-A3A9-327DC12B0967@FreeBSD.org> <B2F7EDA4-DF34-4D5D-B995-5ADA1A9898D8@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 14, 2013 at 09:54:52AM +0000, David Chisnall wrote: > On 13 Nov 2013, at 19:40, Dimitry Andric <dim@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131114144555.GA22093>