Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Nov 2017 12:52:59 +0000 (UTC)
From:      Alex Richardson <arichardson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325356 - head/lib/libcxxrt
Message-ID:  <201711031252.vA3Cqxim047090@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



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