[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: In Stretch, gcc producing position independent binaries by default?



>They patched gcc to produce PIE by default - and that's one of Debian
>stretch release goals. See:
>
>https://wiki.debian.org/Hardening/PIEByDefaultTransition


Ah thanks! New to Debian so I was not aware of this. My problem though
is that filers like ROX and pcmanfm do not start PIE executables by
clicking on them because they are seen as shared objects. 


Anyhow, I expect there are now recommended CFLAGS for gcc when compiling
binaries for Debian, right?


--
Best Regards
Neoklis - Ham Radio Call:5B4AZ
http://www.5b4az.org/


Reply to: