From owner-freebsd-toolchain@FreeBSD.ORG Sun Jan 27 16:01:57 2013 Return-Path: Delivered-To: toolchain@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 68989FD for ; Sun, 27 Jan 2013 16:01:57 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) by mx1.freebsd.org (Postfix) with ESMTP id 2D30388B for ; Sun, 27 Jan 2013 16:01:56 +0000 (UTC) Received: from [192.168.0.2] (cpc10-cmbg15-2-0-cust123.5-4.cable.virginmedia.com [86.30.246.124]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id r0RG1sS5090026 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Sun, 27 Jan 2013 16:01:56 GMT (envelope-from theraven@FreeBSD.org) Subject: Re: C++ runtime version patch for testing Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: multipart/signed; boundary="Apple-Mail=_85DC9841-CC71-49AA-B83E-2E1887D1BE7D"; protocol="application/pgp-signature"; micalg=pgp-sha1 From: David Chisnall In-Reply-To: <20130127155206.GN2522@kib.kiev.ua> Date: Sun, 27 Jan 2013 16:01:48 +0000 Message-Id: <864783A2-E48D-49A6-AD3E-6EABE6EB5313@FreeBSD.org> References: <20130127150313.GM2522@kib.kiev.ua> <90749775-2C2E-4E8B-9BC2-670BE5F2798B@FreeBSD.org> <20130127155206.GN2522@kib.kiev.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.1278) Cc: toolchain@FreeBSD.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jan 2013 16:01:57 -0000 --Apple-Mail=_85DC9841-CC71-49AA-B83E-2E1887D1BE7D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 27 Jan 2013, at 15:52, Konstantin Belousov wrote: > On Sun, Jan 27, 2013 at 03:17:51PM +0000, David Chisnall wrote: >=20 > Apparently c++filt from 2.23.1 binutils has bug, c++filt is > not able to demangle the set_new_handler. I'm using the one from head, which may be the elftoolchain project one? = It seems to be missing a man page... > You need to add 'std::bad_typeid::what() const' to 3.4.9 as well, it > seems. Added > Do readelf -d and look for the needed tags. If libcxxrt > is not passed on the linker command line and not recorded as needed > in the libc++/libstdc++, it should be fine. 0x0000000000000001 (NEEDED) Shared library: [libcxxrt.so.1] This is with something compiled with -stdlib=3Dlibc++. It seems the = (NEEDED) is there even if I compile with clang -lc++, instead of = clang++, so the linker is adding it via the indirect dependency? Or = does it show up because libc++ has that line too? > Your changes to libcxxrt obviously break the ABI, removing the symbols > from the version namespace, but my hope is that namespace for libcxxrt > is actually not part of the _system_ ABI. Thus the question. I'm okay with breaking the libcxxrt ABI at this point. libc++ is not = part of the standard install, and is there for testing in 9.1. libcxxrt = isn't linked against anything unless you use libc++ (or libstdc++ and a = line in libmap.conf) so nothing non-experimental should use it. For = 9.2, I'd like to have an ABI that we can support long term. David= --Apple-Mail=_85DC9841-CC71-49AA-B83E-2E1887D1BE7D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) iQIcBAEBAgAGBQJRBU9tAAoJEKx65DEEsqIdffgQAJ4+khCb0NKqnx69ZPThOwAI ++V1Mw5ZnB7noe9K53ndV5Pt8zjLMgLDC33SoDD6O2IWpzIS2sUFUXCcYpM8TvFb oVuIYTTKsQ62yYMBPMKluDhwa23I9BvNlt3VlKE2AnIaNOiLHfUwghadZj/rWCCY vGVNcu63RVAjrXoH/hBcu7NgoEC0WS+8yv3MnnIRdhpvHysFPS11KDmqQVRD2/d0 XScLrnMt9x4ZKVAZDMIZtBrnxGbxeRgvq83IymZdEwVbK+rXXnOokerDd5ZbP7PY GhQyVTszN/Voat9mJzif198fk9r0qBeR7OvVpVQ686urBrmmbFO+c7wAu7LEhuvq OCd2UnCunD0+vtou8+AWsg3YIIE75IsSOjOoUbs+/MafYZbyAzs08MxA2xdlfNG3 3929Pbdmfq+yJ54/jU730w2AFYUiASFPSdwam8ZROE374/MAiJ8EUqF8Jefi1rvV PSTV3EsWuvkyP47A775XTOE7oXUPwq3nMhJLDDmxR7EVVlM/uFgfdc7IiE0x3rQF CfJQ59KDG8uosiEWs2NytP926/O1bEOK2jHRYyPmNQ3N6YCmV7hQo4FFoG7vx4qp F4IzXJU8fieHcYViOfoMhwPIteHsNxa/5zqrqup+1oHnq+9eH5OLqSrjTjS0g9qq q7rkyL1nDQUEFCuvoqSo =LPgt -----END PGP SIGNATURE----- --Apple-Mail=_85DC9841-CC71-49AA-B83E-2E1887D1BE7D--