[PATCH] Pull in ld.so for libresolv

Roland McGrath roland@hack.frob.com
Wed Sep 21 18:11:00 GMT 2011


> No, the -fstack-protector is not there because of implicit options. It's
> currently added to CFLAGS-libresolv in resolv/Makefile.

I see.  Well, using __stack_chk_guard from ld.so is not a good idea.  It
won't be initialized, because that's only done if THREAD_SET_STACK_GUARD
isn't defined.  I think you really just need to configure your compiler
correctly.  See TARGET_LIBC_PROVIDES_SSP and the configure check that
sets it.


Thanks,
Roland



More information about the Libc-alpha mailing list