Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Mar 2017 07:58:29 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r314898 - in stable: 10/lib/libcxxrt 11/lib/libcxxrt
Message-ID:  <201703080758.v287wTv3022336@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dim
Date: Wed Mar  8 07:58:29 2017
New Revision: 314898
URL: https://svnweb.freebsd.org/changeset/base/314898

Log:
  MFC r314061:
  
  Add __int128-related symbols to libcxxrt's version map.  Put these into
  the same CXXABI verions as recent libstdc++.
  
  Note that __int128 types are only available on arches where long long is
  128 bit wide.
  
  Noticed by:	harti
  
  MFC r314104:
  
  Surround any unmangled C++ names in libcxxrt's version map with 'extern
  "C++"', otherwise ld refuses to make the symbols global in the final
  library.  This causes the __int128-related symbols to go missing when
  the library is stripped during installation.
  
  Helpful hints:	emaste

Modified:
  stable/10/lib/libcxxrt/Version.map
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/lib/libcxxrt/Version.map
Directory Properties:
  stable/11/   (props changed)

Modified: stable/10/lib/libcxxrt/Version.map
==============================================================================
--- stable/10/lib/libcxxrt/Version.map	Wed Mar  8 07:23:15 2017	(r314897)
+++ stable/10/lib/libcxxrt/Version.map	Wed Mar  8 07:58:29 2017	(r314898)
@@ -254,10 +254,31 @@ CXXABI_1.3.1 {
     __cxa_get_exception_ptr;
 } CXXABI_1.3;
 
+CXXABI_1.3.5 {
+    extern "C++" {
+        "typeinfo for __int128 const*";
+        "typeinfo for __int128";
+        "typeinfo for __int128*";
+        "typeinfo for unsigned __int128 const*";
+        "typeinfo for unsigned __int128";
+        "typeinfo for unsigned __int128*";
+    };
+} CXXABI_1.3.1;
+
 CXXABI_1.3.6 {
     __cxa_deleted_virtual;
-} CXXABI_1.3.1;
+} CXXABI_1.3.5;
 
+CXXABI_1.3.9 {
+    extern "C++" {
+        "typeinfo name for __int128 const*";
+        "typeinfo name for __int128";
+        "typeinfo name for __int128*";
+        "typeinfo name for unsigned __int128 const*";
+        "typeinfo name for unsigned __int128";
+        "typeinfo name for unsigned __int128*";
+    };
+} CXXABI_1.3.6;
 
 CXXRT_1.0 {
 



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