Changing compilation flags

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



>On 2016-10-24 05:56, Allan McRae wrote:
>*> 1) building gcc to enable PIE by default
*>
>I am in the middle of rebuilding gcc with --enable-default-pie. When it
>finishes, I will start a todo for rebuilding packages with static libraries.
>
>I also enabled --enable-default-ssp, which means that
>-fstack-protector-strong will be dropped from our CFLAGS (as it will be
>enforced by gcc) on the next opportunity.
>
>Bartłomiej

Does the -enable-default-ssp enforce also -fstack-check=specific to protect
from stack clash [1], gentoo do it (except on vlc and tcl which not build
but those are upstream bugs) [2]

[1] https://blog.qualys.com/securitylabs/2017/06/19/the-stack-clash
[2] https://wiki.gentoo.org/wiki/Hardened/Gentoo_Hardened_and_Stack_Clash

*Pablo Lezaeta*




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux