Re: HEADS-UP: PIE enabled by default on main

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Fri, 26 Feb 2021 10:16:35 +0100
On 26 Feb 2021, at 03:22, Ed Maste <emaste_at_freebsd.org> wrote:
> 
> On Thu, 25 Feb 2021 at 19:23, John Kennedy <warlock_at_phouka.net> wrote:
>> 
>>  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.
> 
> 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


Received on Fri Feb 26 2021 - 08:16:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC