https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125205
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to [email protected] from comment #2) > > On Linux/x86, it's provided by libc.so.6 instead: > > > > readelf -sW /lib32/libc.so.6|grep __stack_chk > > 562: 00135410 25 FUNC GLOBAL DEFAULT 14 > > __stack_chk_fail@@GLIBC_2.4 > > > > Seems like a bug in the map file to me. > > Scratch that of course ;-( Does Solaris libc support stack protector? If yes, __stack_chk_fail_local is 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.
