From owner-svn-src-head@freebsd.org Wed Jan 24 11:51:18 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 15422ECF2FA; Wed, 24 Jan 2018 11:51:18 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A2C2085370; Wed, 24 Jan 2018 11:51:17 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from coleburn.avinity.tv (unknown [77.95.97.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 441C86C09; Wed, 24 Jan 2018 12:51:16 +0100 (CET) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_C5C03FDE-AF29-4317-B0C8-11B1F174B9BC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: svn commit: r328305 - head/lib/libcxxrt Date: Wed, 24 Jan 2018 12:51:16 +0100 In-Reply-To: <201801232241.w0NMfDWW002171@repo.freebsd.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org To: Ed Maste References: <201801232241.w0NMfDWW002171@repo.freebsd.org> X-Mailer: Apple Mail (2.3273) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jan 2018 11:51:18 -0000 --Apple-Mail=_C5C03FDE-AF29-4317-B0C8-11B1F174B9BC Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 23 Jan 2018, at 23:41, Ed Maste wrote: >=20 > Author: emaste > Date: Tue Jan 23 22:41:13 2018 > New Revision: 328305 > URL: https://svnweb.freebsd.org/changeset/base/328305 >=20 > Log: > libcxxrt: Move mangled symbols out of extern "C++" in Version.map >=20 > r260553 added a number of mangled C++ symbols to Version.map inside = of > an existing `extern "C++"` block. >=20 > ld.bfd 2.17.50 treats `extern "C++"` permissively and will match both > mangled and demangled symbols against the strings in the version map > block. ld.lld interprets `extern "C++"` strictly, and matches only > demangled symbols. >=20 > I believe lld's behaviour is correct. Contemporary versions of = ld.bfd > also behave as lld does, so move the mangled symbols out of the > `extern "C++"` block. >=20 > PR: 225128, 185663 > MFC after: 1 week > Sponsored by: The FreeBSD Foundation >=20 > Modified: > head/lib/libcxxrt/Version.map >=20 > Modified: head/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=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/lib/libcxxrt/Version.map Tue Jan 23 22:18:45 2018 = (r328304) > +++ head/lib/libcxxrt/Version.map Tue Jan 23 22:41:13 2018 = (r328305) > @@ -112,19 +112,6 @@ CXXABI_1.3 { > "typeinfo for void"; > "typeinfo for wchar_t const*"; > "typeinfo for wchar_t"; > - # C++11 typeinfo not understood by our linker > - # std::nullptr_t > - _ZTIDn;_ZTIPDn;_ZTIPKDn; Maybe, for readability, we should change these to unmangled form = instead? I didn't really understand why the file had mixed mangled and unmangled = forms. -Dimitry --Apple-Mail=_C5C03FDE-AF29-4317-B0C8-11B1F174B9BC 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----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWmhzNAAKCRCwXqMKLiCW ow+gAKDpL+4heH7EcRafMPwPMyTXLFpEkgCfcZlezMU4zLRIcJXq9Y8+qhK90Xs= =UP1H -----END PGP SIGNATURE----- --Apple-Mail=_C5C03FDE-AF29-4317-B0C8-11B1F174B9BC--