From owner-freebsd-current@freebsd.org Thu Feb 23 11:20:26 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 7B78ECEAB7F for ; Thu, 23 Feb 2017 11:20:26 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) 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 6174D1E84 for ; Thu, 23 Feb 2017 11:20:26 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: by mailman.ysv.freebsd.org (Postfix) id 5DE42CEAB7E; Thu, 23 Feb 2017 11:20:26 +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 5D877CEAB7D for ; Thu, 23 Feb 2017 11:20:26 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from mailhost.dlr.de (mailhost.dlr.de [129.247.252.32]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mailhost.dlr.de", Issuer "DLR CA - G02" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C55141E83; Thu, 23 Feb 2017 11:20:25 +0000 (UTC) (envelope-from Hartmut.Brandt@dlr.de) Received: from DLREXHUB02.intra.dlr.de (172.21.152.140) by mailhost.dlr.de (172.21.163.100) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 23 Feb 2017 12:20:10 +0100 Received: from DLREXMBX01.intra.dlr.de ([fe80::d198:77e5:d411:fccd]) by dlrexhub02.intra.dlr.de ([::1]) with mapi id 14.03.0319.002; Thu, 23 Feb 2017 12:20:16 +0100 From: To: CC: Subject: RE: int128_t and uint128_t typeinfo Thread-Topic: int128_t and uint128_t typeinfo Thread-Index: AQHSjEDY+7DpxbI4aEG00x8gONJ6iqFzpd4AgABKOgCAATT04IAAKlIAgAElqfA= Date: Thu, 23 Feb 2017 11:20:15 +0000 Message-ID: <611243783F62AF48AFB07BC25FA4B1061CEED2E2@DLREXMBX01.intra.dlr.de> References: <54594A33-C1DE-4491-8AD2-04E354EC5FAE@FreeBSD.org> <3EBF6862-8DEC-4F96-9C95-78FEE5242A6C@FreeBSD.org> <611243783F62AF48AFB07BC25FA4B1061CEECBB6@DLREXMBX01.intra.dlr.de> <201471EF-D383-49C0-B03B-64B91BAA4F0A@FreeBSD.org> In-Reply-To: <201471EF-D383-49C0-B03B-64B91BAA4F0A@FreeBSD.org> Accept-Language: en-US, de-DE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-11.0.0.4283-8.100.1062-22902.006 X-TM-AS-Result: No--7.359800-5.000000-31 X-TM-AS-MatchedID: 150567-705388-700107-139006-708497-704746-106660-703586-7 05178-703788-188199-136070-700470-703371-702801-700075-139010-709584-121338 -700752-188019-704421-710272-701005-705167-106230-148004-148050-20043-42000 -42003 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No 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: Thu, 23 Feb 2017 11:20:26 -0000 Now that appears to work. Thanks, harti -----Original Message----- From: Dimitry Andric [mailto:dim@FreeBSD.org]=20 Sent: Wednesday, February 22, 2017 7:49 PM To: Brandt, Hartmut Cc: current@freebsd.org Subject: Re: int128_t and uint128_t typeinfo I had to commit a follow-up fix in r314104: when C++ names are used in the = version script, they have to be surrounded by an extern "C++" {} block, oth= erwise the symbols end up as locals in the final library, and thus get stri= pped out of the installed version. -Dimitry On 22 Feb 2017, at 16:19, Hartmut.Brandt@dlr.de wrote: >=20 > Looks like they are still not there. I've rebuilt world. >=20 > nm -D -C /usr/lib/libcxxrt.so | grep 128 >=20 > should show me the symbols, right? It does not. >=20 > harti >=20 > -----Original Message----- > From: Dimitry Andric [mailto:dim@FreeBSD.org] > Sent: Tuesday, February 21, 2017 10:52 PM > To: Brandt, Hartmut > Cc: current@freebsd.org > Subject: Re: int128_t and uint128_t typeinfo >=20 > On 21 Feb 2017, at 18:26, Dimitry Andric wrote: >>=20 >> On 21 Feb 2017, at 13:48, Hartmut Brandt wrote: >>>=20 >>> it looks like the typeinfo for __int128_t and __uint128_t is missing fr= om our dynamically linked libcxxrt. > ... >> * We also need to add the typeinfo for __u?int128_t * and=20 >> __u?int128_t const * >> * Maybe these should be under the CXXABI_2.0 version, since that is=20 >> where newer libstdc++ places them >> * Maybe these should be dependent on whether the architecture=20 >> supports >> 128 bit integers at all >>=20 >> I need to think a bit on the above, then I'll commit a fix. >=20 > Okay, can you please try r314061? >=20 > -Dimitry >=20