svn commit: r325356 - head/lib/libcxxrt

Alex Richardson arichardson at FreeBSD.org
Fri Nov 3 12:53:00 UTC 2017


Author: arichardson
Date: Fri Nov  3 12:52:59 2017
New Revision: 325356
URL: https://svnweb.freebsd.org/changeset/base/325356

Log:
  Export std::get_new_handler() from libcxxrt.so
  
  When trying to build world for MIPS64 with clang I was getting
  linker errors because of a missing reference to std::get_new_handler().
  It turns out std::get_new_handler() was not listed in Version.map so it was
  marked as a local symbol in libcxxrt.so.
  
  Reviewed by:	theraven, brooks (mentor), emaste
  Approved by:	trasz
  Obtained from:	CheriBSD
  Differential Revision:	https://reviews.freebsd.org/D11925

Modified:
  head/lib/libcxxrt/Version.map

Modified: head/lib/libcxxrt/Version.map
==============================================================================
--- head/lib/libcxxrt/Version.map	Fri Nov  3 11:33:13 2017	(r325355)
+++ head/lib/libcxxrt/Version.map	Fri Nov  3 12:52:59 2017	(r325356)
@@ -377,9 +377,15 @@ GLIBCXX_3.4.9 {
     };
 } GLIBCXX_3.4;
 
+GLIBCXX_3.4.20 {
+    extern "C++" {
+        "std::get_new_handler()";
+    };
+} GLIBCXX_3.4.9;
+
 GLIBCXX_3.4.22 {
     extern "C++" {
         "std::uncaught_exceptions()";
     };
-} GLIBCXX_3.4.9;
+} GLIBCXX_3.4.20;
 


More information about the svn-src-head mailing list