This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Add missing symbols for versioned namespace
- From: François Dumont <frs dot dumont at gmail dot com>
- To: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 3 Nov 2016 21:54:30 +0100
- Subject: Add missing symbols for versioned namespace
- Authentication-results: sourceware.org; auth=none
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
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.