svn commit: r233391 - head/contrib/libstdc++/libsupc++

Pedro Giffuni pfg at FreeBSD.org
Sat Mar 24 19:36:37 UTC 2012


Ahem..

On 03/23/12 15:10, David Chisnall wrote:
> Author: theraven
> Date: Fri Mar 23 20:10:56 2012
> New Revision: 233391
> URL: http://svn.freebsd.org/changeset/base/233391
>
> Log:
>    Revert ABI breakage in libsupc++.
>
>    Unfortunately, the ABI was broken upstream for the 4.2 release, which we
>    imported.  We then shipped the broken version for several years and certain
>    ports (e.g. libobjc2) depend on it, so we're stuck with it for now...
>
>    We should revisit this for 10.0, since we're allowed to break the ABI then, but
>    until then we should keep the ABI we shipped with 8.x and 9.x.
>
>    Reviewed by:	kan
>    Approved by:	dim (mentor)
>    MFC after:	1 week
>
> Modified:
>    head/contrib/libstdc++/libsupc++/typeinfo
>
>

Let me try to recap:

gcc-4.2.1 broke the ABI and we shipped it for a long time.

The bug was detected by Apple and others:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35081

It was fixed for gcc-4.2.2 (which we didn't ship):
http://gcc.gnu.org/viewcvs?view=revision&revision=129061 
<http://gcc.gnu.org/viewcvs?view=revision&revision=129061>


I inadvertently fixed the bug 3 months ago when I brought in the
last LGPLv2 updates for libstdc++:

http://svnweb.freebsd.org/base?view=revision&revision=228780 
<http://svnweb.freebsd.org/base?view=revision&revision=228780>


The fix hasn't been shipped but was MFC'd and is actually
in 8.3-RC* !!

David's commit actually restores the gcc 4.2.1 bug (?).

Pedro.


More information about the svn-src-head mailing list