Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Feb 2013 00:28:32 +0900
From:      Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>
To:        toolchain@freebsd.org
Subject:   Re: [patch]r246028, libcxxrt's Version.map is broken
Message-ID:  <510BDF20.8010502@kbh.biglobe.ne.jp>
In-Reply-To: <510AF84C.2080702@kbh.biglobe.ne.jp>
References:  <510AF84C.2080702@kbh.biglobe.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------070706020605060209040806
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Add missing symbol and refine.

On 2013/02/01 08:03, Yamaya Takashi wrote:
> Hi
>
> After r246028, make buildworld with -stdlib=libc++ -std=c++11 is failed.
> libcxxrt's Version.map is broken, because some needed symbols are removed.
>
>
>
>
> _______________________________________________
> freebsd-toolchain@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
> To unsubscribe, send any mail to "freebsd-toolchain-unsubscribe@freebsd.org"


--------------070706020605060209040806
Content-Type: text/x-patch;
 name="vmap2.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="vmap2.patch"

Index: lib/libcxxrt/Version.map
===================================================================
--- lib/libcxxrt/Version.map	(revision 246186)
+++ lib/libcxxrt/Version.map	(working copy)
@@ -208,7 +208,6 @@
         "typeinfo name for __cxxabiv1::__vmi_class_type_info";
 
         "std::type_info::type_info(std::type_info const&)";
-        "std::type_info::type_info(std::type_info const&)";
         "std::type_info::operator=(std::type_info const&)";
 
 
@@ -238,19 +237,17 @@
         "std::type_info::operator!=(std::type_info const&) const";
         "std::bad_cast::bad_cast(std::bad_cast const&)";
         "std::bad_cast::bad_cast()";
-        "std::bad_cast::bad_cast(std::bad_cast const&)";
-        "std::bad_cast::bad_cast()";
         "std::bad_cast::operator=(std::bad_cast const&)";
+        "std::bad_typeid::bad_typeid(std::bad_typeid const&)";
+        "std::bad_typeid::bad_typeid()";
+        "std::bad_typeid::operator=(std::bad_typeid const&)";
         "std::exception::exception(std::exception const&)";
         "std::exception::exception()";
-        "std::exception::exception(std::exception const&)";
-        "std::exception::exception()";
         "std::exception::operator=(std::exception const&)";
+        "std::bad_alloc::bad_alloc(std::bad_alloc const&)";
+        "std::bad_alloc::bad_alloc()";
+        "std::bad_alloc::operator=(std::bad_alloc const&)";
 
-
-
-
-
     };
     __cxa_allocate_dependent_exception;
     __cxa_current_primary_exception;
@@ -281,15 +278,16 @@
 
         "std::type_info::~type_info()";
         "std::bad_cast::~bad_cast()";
+        "std::bad_typeid::~bad_typeid()";
         "std::exception::~exception()";
+        "std::bad_alloc::~bad_alloc()";
 
+        "std::exception::what() const";
+
         std::set_new_handler*;
         std::set_terminate*;
         std::set_unexpected*;
-        std::exception*;
-        std::bad_alloc;
-        std::bad_typeid;
-        std::type_info*;
+        std::type_info::__*;
 
         "vtable for std::bad_alloc";
         "vtable for std::bad_cast";
@@ -299,10 +297,10 @@
 
         "typeinfo for std::bad_alloc";
         "typeinfo for std::bad_typeid";
-        "typeinfo for std::exception";
         "typeinfo for std::bad_cast";
         "typeinfo for std::exception";
         "typeinfo for std::type_info";
+        "typeinfo name for std::bad_alloc";
         "typeinfo name for std::bad_typeid";
         "typeinfo name for std::bad_cast";
         "typeinfo name for std::exception";

--------------070706020605060209040806--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?510BDF20.8010502>