Re: Fortify_source and stack-protector-strong

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

 



On Fri, 2022-03-11 at 11:01 -0800, Reinoud Koornstra wrote:
> One more question, for FORTIFY_SOURCE=2, can I use either -O1 or -O2
> optimization flags?
> I noticed it doesn't like -Os. Thanks,

Anything other than -O0 will work.  But you should have asked this
question in a Glibc mail list because _FORTIFY_SOURCE is a feature of
Glibc, not GCC.
-- 
Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux