diff mbox

Add missing symbols for versioned namespace

Message ID 13173c71-40eb-7276-c748-6438496a9bff@gmail.com
State New
Headers show

Commit Message

François Dumont Nov. 3, 2016, 8:54 p.m. UTC
Hi

     I might not be the right one to propose this patch as I am not sure 
that I fully understand gnu-versioned-namespace.ver organization. But 
with it following test failures when using versioned namespace vanish:

FAIL: 20_util/allocator/overaligned.cc (test for excess errors)
FAIL: ext/bitmap_allocator/overaligned.cc (test for excess errors)
FAIL: ext/mt_allocator/overaligned.cc (test for excess errors)
FAIL: ext/new_allocator/overaligned.cc (test for excess errors)
FAIL: ext/pool_allocator/overaligned.cc (test for excess errors)

     Ok to commit ?

     * config/abi/pre/gnu-versioned-namespace.ver: Export C++17 new of
     over-aligned types symbols.

François

Comments

Jonathan Wakely Nov. 7, 2016, 1:53 p.m. UTC | #1
On 03/11/16 21:54 +0100, François Dumont wrote:
>Hi

>

>    I might not be the right one to propose this patch as I am not 

>sure that I fully understand gnu-versioned-namespace.ver organization. 

>But with it following test failures when using versioned namespace 

>vanish:

>

>FAIL: 20_util/allocator/overaligned.cc (test for excess errors)

>FAIL: ext/bitmap_allocator/overaligned.cc (test for excess errors)

>FAIL: ext/mt_allocator/overaligned.cc (test for excess errors)

>FAIL: ext/new_allocator/overaligned.cc (test for excess errors)

>FAIL: ext/pool_allocator/overaligned.cc (test for excess errors)

>

>    Ok to commit ?


This looks correct. OK for trunk, thanks.
diff mbox

Patch

diff --git a/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver b/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver
index 34d58ae..bffb35c 100644
--- a/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver
+++ b/libstdc++-v3/config/abi/pre/gnu-versioned-namespace.ver
@@ -348,6 +348,18 @@  CXXABI_2.0 {
 
     # __gnu_cxx::__freeres()
     _ZN9__gnu_cxx9__freeresEv;
+
+    # C++17 aligned new/delete
+    _Znw[jmy]St11align_val_t;
+    _Znw[jmy]St11align_val_tRKSt9nothrow_t;
+    _Zna[jmy]St11align_val_t;
+    _Zna[jmy]St11align_val_tRKSt9nothrow_t;
+    _ZdlPvSt11align_val_t;
+    _ZdlPvSt11align_val_tRKSt9nothrow_t;
+    _ZdlPv[jmy]St11align_val_t;
+    _ZdaPvSt11align_val_t;
+    _ZdaPvSt11align_val_tRKSt9nothrow_t;
+    _ZdaPv[jmy]St11align_val_t;
 };
 
 # Symbols in the support library (libsupc++) supporting trans-mem.