Date: Tue, 20 Nov 2018 21:19:49 -0500 From: Shawn Webb <shawn.webb@hardenedbsd.org> To: Konstantin Belousov <kib@FreeBSD.org> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r339898 - head/lib/libc/amd64/sys Message-ID: <20181121021949.vk7u5mji375fsy7h@mutt-hbsd> In-Reply-To: <201810300011.w9U0BUui038857@repo.freebsd.org> References: <201810300011.w9U0BUui038857@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--v5kqyhyamip2vsp4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 30, 2018 at 12:11:30AM +0000, Konstantin Belousov wrote: > Author: kib > Date: Tue Oct 30 00:11:30 2018 > New Revision: 339898 > URL: https://svnweb.freebsd.org/changeset/base/339898 >=20 > Log: > Convert amd64_get/set_fs/gsbase to ifunc. > =20 > Note that this is the first use of ifuncs in our userspace. Hey Kostik, It appears this commit broke building/linking libc with LTO. I'm running into this assertion from clang/lld 7.0.0 (from the projects/clang700-import feature branch): https://github.com/HardenedBSD/hardenedBSD-playground/blob/hardened/current= /cross-dso-cfi/contrib/llvm/include/llvm/Support/Casting.h#L255 I'm likely going to file a bug report upstream in llvm. I'm wondering if lld doesn't support mixing ifuncs and LTO. Thanks, --=20 Shawn Webb Cofounder and Security Engineer HardenedBSD Tor-ified Signal: +1 443-546-8752 Tor+XMPP+OTR: lattera@is.a.hacker.sx GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE --v5kqyhyamip2vsp4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKrq2ve9q9Ia+iT2eaoRlj1JFbu4FAlv0wL8ACgkQaoRlj1JF bu5AqBAAtZ0R+MwC6p5ufuDk+gUGjYxTQkHqnf4wTWZ4Vu+AfxOqNe5MS+mNbMhQ xJqJ4TM8+lKXwx85WcS1+l4tlGUxDGiNPRDZKEl6QHJDElgBeFUR0YUZuzsePitD dkUeb4GOVp7cn6TYiwn4rduvWBzis+IBDHOe2M+TcIlE//Jy+B+3N9PbUh/pASp3 KiTjnvH5fpXsJ+QYGug2L1Cw45gONpmWvZutEYpPWD5bp/GwLaKSDnJvnsbBs8HA djcQuKiVVSLSeg6q0tNBUrR4hHGG9GQ0cs/T/F7tNBqjIprF0U+8lLCsmvEHuD7C Af4RPX2tS5WZ7pYr0DcDkBRRINsNY6k3O8uWz/vpal2NufkqHKvwfuggj/PVEysz WQ77LS8p1dEt8qVhD0ek1joD28e0fvuUvEhWjOxZxj0VN9I3cTHPfsuitli8oxMY sL6e5BvgWRnW5VWortLC8jLTuRLORydEiwtzaZj9IdEEgjQAy7ANthfAk+HQe9/A ACAgtiObkFXbLcoz+E+YxfWa66tZxVNfLnwWyFov5DLyz71uNdzVPUhZTVdzmYjw OJnHyLBUtfjF6fcELHjr5IgUi8H6WfN9rBxc6SHxt1+6rWv8zPrL03HpBKgC3NaZ J3if1t4Pn6hpDlC1FjrkPLqu2z5zbJnZfUCHNHz5Nf9tVF8efK0= =njfv -----END PGP SIGNATURE----- --v5kqyhyamip2vsp4--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181121021949.vk7u5mji375fsy7h>