Date: Fri, 26 Feb 2021 10:16:35 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Ed Maste <emaste@freebsd.org> Cc: John Kennedy <warlock@phouka.net>, Greg 'groggy' Lehey <grog@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: HEADS-UP: PIE enabled by default on main Message-ID: <A20210F1-0B96-46F0-AC3D-AE0EEEF0983F@FreeBSD.org> In-Reply-To: <CAPyFy2BaXoO0tVd2auHKFKZ17suTDAVzpvGdESaeu4GUFvdJ7Q@mail.gmail.com> References: <CAPyFy2CyxG=Bj8T22ixW3=E3dv6mPoZRwJ_VSN%2BTwky95rUYYw@mail.gmail.com> <20210225231028.GB69550@eureka.lemis.com> <YDg/JkvXdCXNa1Hk@phouka1.phouka.net> <CAPyFy2BaXoO0tVd2auHKFKZ17suTDAVzpvGdESaeu4GUFvdJ7Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_0D3FE9D2-4707-4109-9F80-084B5D650A7A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 26 Feb 2021, at 03:22, Ed Maste <emaste@freebsd.org> wrote: >=20 > On Thu, 25 Feb 2021 at 19:23, John Kennedy <warlock@phouka.net> wrote: >>=20 >> Not sure if Ed Maste just wants to make sure that all the = executables >> are rebuilt as PIE (vs hit-and-miss) or there is a sneaker = corner-case that >> he knows about. >=20 > The issue is that without a clean build you may have some .o files > left around that are built without PIE enabled (i.e., compiled without > -fPIE), and attempting to link them into a PIE executable will fail Hmm, maybe it is time for a ".pieo" extension? (I disliked .pico at first, but now I see the sense in it; might as well make clear that plain ".o" is meant for 'static' object files.) -Dimitry --Apple-Mail=_0D3FE9D2-4707-4109-9F80-084B5D650A7A 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 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYDi8dAAKCRCwXqMKLiCW o1B1AKDxH13gjoNjRTIT1HeIZyHTbASyxQCgiCYHSb/oLvBkbKJS1W32uFl/2c4= =4E8t -----END PGP SIGNATURE----- --Apple-Mail=_0D3FE9D2-4707-4109-9F80-084B5D650A7A--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A20210F1-0B96-46F0-AC3D-AE0EEEF0983F>