On Mon, 28 May 2012 12:11:01 +0000 (UTC) David Chisnall <thera...@freebsd.org> wrote:
> Author: theraven > Date: Mon May 28 12:11:00 2012 > New Revision: 236177 > URL: http://svn.freebsd.org/changeset/base/236177 > > Log: > Correctly export operator new / delete for things linking against > libsupc++ but not libstdc++. > > Unfortunately, it appears that libsupc++ / libstdc++ have a > different idea of the type of size_t to the rest of the world, which > may cause problems later on... > > Reported by: des > MFC after: 1 week > > Modified: > head/gnu/lib/libsupc++/Version.map > > Modified: head/gnu/lib/libsupc++/Version.map > ============================================================================== > --- head/gnu/lib/libsupc++/Version.map Mon May 28 10:45:51 > 2012 (r236176) +++ head/gnu/lib/libsupc++/Version.map > Mon May 28 12:11:00 2012 (r236177) @@ -126,6 +126,16 @@ > CXXABI_1.3 { # __gnu_cxx::_verbose_terminate_handler() > _ZN9__gnu_cxx27__verbose_terminate_handlerEv; > > + # new / delete operators > + _Znaj; > + _ZnajRKSt9nothrow_t; > + _Znwj; > + _ZnwjRKSt9nothrow_t; > + _ZdaPv; > + _ZdaPvRKSt9nothrow_t; > + _ZdlPv; > + _ZdlPvRKSt9nothrow_t; > + > local: > *; > }; Please do not MFC this just yet. This commit is wrong and should be backed out. -- Alexander Kabaev
signature.asc
Description: PGP signature