From owner-freebsd-current@freebsd.org Tue Feb 21 17:26:13 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3EE4CE8EA9 for ; Tue, 21 Feb 2017 17:26:12 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DC6481376 for ; Tue, 21 Feb 2017 17:26:12 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id DBBF4CE8EA8; Tue, 21 Feb 2017 17:26:12 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DB67FCE8EA7 for ; Tue, 21 Feb 2017 17:26:12 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from springbank.echomania.com (springbank.echomania.com [IPv6:2a01:7c8:aab2:81::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "springbank.echomania.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A61331375 for ; Tue, 21 Feb 2017 17:26:12 +0000 (UTC) (envelope-from dim@FreeBSD.org) X-Virus-Scanned: Debian amavisd-new at springbank.echomania.com Received: from [IPv6:2001:7b8:3a7::8181:e0b5:11f9:155c] (unknown [IPv6:2001:7b8:3a7:0:8181:e0b5:11f9:155c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by springbank.echomania.com (Postfix) with ESMTPSA id D56E95801D4; Tue, 21 Feb 2017 18:26:08 +0100 (CET) From: Dimitry Andric Message-Id: <54594A33-C1DE-4491-8AD2-04E354EC5FAE@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_E5BA89B5-8489-4A93-86A3-7B7846A3AB0E"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\)) Subject: Re: int128_t and uint128_t typeinfo Date: Tue, 21 Feb 2017 18:26:00 +0100 In-Reply-To: Cc: current@freebsd.org To: Hartmut Brandt References: X-Mailer: Apple Mail (2.3259) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 17:26:13 -0000 --Apple-Mail=_E5BA89B5-8489-4A93-86A3-7B7846A3AB0E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 21 Feb 2017, at 13:48, Hartmut Brandt wrote: >=20 > it looks like the typeinfo for __int128_t and __uint128_t is missing = from our dynamically linked libcxxrt. I added it like: >=20 > Index: lib/libcxxrt/Version.map > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- lib/libcxxrt/Version.map (revision 313007) > +++ lib/libcxxrt/Version.map (working copy) > @@ -192,6 +192,11 @@ > "typeinfo name for unsigned short"; > "typeinfo name for double"; >=20 > + "typeinfo for __int128"; > + "typeinfo for unsigned __int128"; > + "typeinfo name for __int128"; > + "typeinfo name for unsigned __int128"; > + > "typeinfo name for bool*"; > "typeinfo name for wchar_t*"; > "typeinfo name for short*"; >=20 > I'm not sure whether this is the right place in the file where to add = it. Could somebody please check? Yes, this is the right place, though with a few caveats: * We also need to add the typeinfo for __u?int128_t * and __u?int128_t const * * Maybe these should be under the CXXABI_2.0 version, since that is where newer libstdc++ places them * Maybe these should be dependent on whether the architecture supports 128 bit integers at all I need to think a bit on the above, then I'll commit a fix. -Dimitry P.S.: I'm going to ignore libstdc++ in base, since it is obsolete. --Apple-Mail=_E5BA89B5-8489-4A93-86A3-7B7846A3AB0E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAliseDAACgkQsF6jCi4glqNzhwCeI4ATx4sLJp2cf2Q+E+5HH0oP otYAn3HGOkVXwXQNB6mCdvtcDVW7Qb2W =c6Ll -----END PGP SIGNATURE----- --Apple-Mail=_E5BA89B5-8489-4A93-86A3-7B7846A3AB0E--