https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125205

--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> Does Solaris libc support stack protector?  If yes, __stack_chk_fail_local is

No, as you could easily find out e.g. on cfarm215 if you just once
tested your patches that are bound to affect non-Linux/x86 targets on at
least one of those systems.

> missing in Solaris libc.  If no, Solaris should use libssp which provides
> stack protector features, including __stack_chk_fail_local, when stack
> protector
> is enabled.

It does use libssp in general via gcc.cc (LINK_SSP_SPEC).  However, this
test doesn't use any of the -fstack-protector* options that are handled
there, but -mstack-protector-guard=global which isn't.

Reply via email to