Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2014 13:42:20 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Dimitry Andric <dim@FreeBSD.org>, src-committers@freebsd.org,  svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r261801 - head/contrib/libc++/include
Message-ID:  <52FBC08C.30309@FreeBSD.org>
In-Reply-To: <201402121814.s1CIEo5A016765@svn.freebsd.org>
References:  <201402121814.s1CIEo5A016765@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2014-02-12 13:14:50 -0500, 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.
> 
> 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

It seems Apple removed it later.

http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20131125/094181.html

Do you know what they did?

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJS+8CMAAoJEHyflib82/FGHckH/3knT4PPbIwJ8vgTqtENbp7o
Z9nK2UVwdk9EpXwx0d8Uy2eX6hs/2c5xEKqHHuuGlFBjHmwDUBsaW6746y8lWVaD
VtOtwRAN/wxyocA9kGscFBJv/dhmXpkvNUELjyQIOdgNWKdr5yYkOVF/blfpMTpn
49RIyFTj5IgxoedTp48lykpmYV95PF0TciqFFB8s78xCMVritHNzqk4au02z1olf
LmKLdmVHKqoU4wSMbmxzF+dv6MyfqkTtBxqV8HFUtVluHg2zhMZghPA0atmyMho3
7jlIFEYvjNmSVdicvXFtlmw61rE2XoKGx7G9m2hs1xLfyFTeYPpLxh2TWZaAHq4=
=o9xx
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52FBC08C.30309>