http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51673

--- Comment #8 from Kai Tietz <ktietz at gcc dot gnu.org> 2011-12-28 21:24:25 
UTC ---
(In reply to comment #7)
> please apply following obvious patch:
> 
> --- gcc-4.6.0/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver.orig    
>  
> 2011-12-28 12:43:50.000000000 +0100
> +++ gcc-4.6.0/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver  
> 2011-12-28 20:25:36.603040153 +0100
> @@ -42,9 +42,9 @@
>      __once_proxy;
> 
>      # operator new(size_t)
> -    _Znw[jm];
> +    _Znw[jmy];
>      # operator new(size_t, std::nothrow_t const&)
> -    _Znw[jm]RKSt9nothrow_t;
> +    _Znw[jmy]RKSt9nothrow_t;
> 
>      # operator delete(void*)
>      _ZdlPv;
> @@ -52,9 +52,9 @@
>      _ZdlPvRKSt9nothrow_t;
> 
>      # operator new[](size_t)
> -    _Zna[jm];
> +    _Zna[jmy];
>      # operator new[](size_t, std::nothrow_t const&)
> -    _Zna[jm]RKSt9nothrow_t;
> +    _Zna[jmy]RKSt9nothrow_t;
> 
>      # operator delete[](void*)
>      _ZdaPv;
> 
> 
> it fixes new/delete exports for x86_64-pc-mingw32.
> mt-allocator needs more exports...

Thanks. Yes, confirmed patch fixes reported new/delete issue.  From my side
this patch is ok.  If C++ maintainer ok-s it too, I will apply it.

Kai

Reply via email to