From owner-freebsd-current@freebsd.org Fri Feb 26 09:16:47 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5CC3255B172 for ; Fri, 26 Feb 2021 09:16:47 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dn3v325rsz3HMs; Fri, 26 Feb 2021 09:16:47 +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 "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 1ED082EAF6; Fri, 26 Feb 2021 09:16:47 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::24c7:1fd9:f554:d26d] (unknown [IPv6:2001:470:7a58:0:24c7:1fd9:f554:d26d]) (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 3116E30BC7; Fri, 26 Feb 2021 10:16:45 +0100 (CET) From: Dimitry Andric Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_0D3FE9D2-4707-4109-9F80-084B5D650A7A"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.17\)) Subject: Re: HEADS-UP: PIE enabled by default on main Date: Fri, 26 Feb 2021 10:16:35 +0100 In-Reply-To: Cc: John Kennedy , Greg 'groggy' Lehey , FreeBSD Current To: Ed Maste References: <20210225231028.GB69550@eureka.lemis.com> X-Mailer: Apple Mail (2.3445.104.17) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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: Fri, 26 Feb 2021 09:16:47 -0000 --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 wrote: >=20 > On Thu, 25 Feb 2021 at 19:23, John Kennedy 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--