This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Pull in ld.so for libresolv


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]