svn commit: r261801 - head/contrib/libc++/include
Bryan Drewery
bdrewery at FreeBSD.org
Fri Feb 14 01:27:16 UTC 2014
On 2/12/2014 12:14 PM, Dimitry Andric wrote:
> Author: dim
> Date: Wed Feb 12 18:14:49 2014
> New Revision: 261801
> URL: http://svnweb.freebsd.org/changeset/base/261801
>
> Log:
> An ABI incompatibility crept into the libc++ 3.4 import in r261283. It
> was caused by upstream libc++ commit r194536, which aimed to make the
> headers more standards-compliant, by making std::pair's copy constructor
> trivial. Unfortunately, this could cause certain C++ applications using
> shared libraries built against the previous version of libc++ to crash.
>
> Fix the ABI incompatibility by making std::pair's copy constructor
> non-trivial again.
>
> Please note: Any C++ applications or shared libraries built with libc++
> between r261283 and this revision should be recompiled.
*Please* bump __FreeBSD_version__ for ABI changes and notify portmgr@ of
such cases that clearly affect package building.
>
> Reported by: stefanf
> MFC after: 3 weeks
> X-MFC-With: r261283
>
> Modified:
> head/contrib/libc++/include/__config
>
> Modified: head/contrib/libc++/include/__config
> ==============================================================================
> --- head/contrib/libc++/include/__config Wed Feb 12 16:39:56 2014 (r261800)
> +++ head/contrib/libc++/include/__config Wed Feb 12 18:14:49 2014 (r261801)
> @@ -567,7 +567,7 @@ template <unsigned> struct __static_asse
> #define _LIBCPP_WCTYPE_IS_MASK
> #endif
>
> -#if defined(__APPLE__)
> +#if defined(__APPLE__) || defined(__FreeBSD__)
> #ifndef _LIBCPP_TRIVIAL_PAIR_COPY_CTOR
> # define _LIBCPP_TRIVIAL_PAIR_COPY_CTOR 0
> #endif
>
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20140213/6cc9bc66/attachment.sig>
More information about the svn-src-all
mailing list