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


On 2011/9/22 01:28 AM, Roland McGrath wrote:
> This is due to using (IMHO broken) compiler versions (like Ubuntu's)
> that implicitly set -fstack-protector by default.  We really never want
> to compile glibc with implicit magic compiler flags we don't know about.
> You should use CFLAGS='-g -O2 -fno-stack-protector' at configure time
> when using such a compiler.
> 
> We might at some point decide that compiling glibc with
> -fstack-protector makes sense.  If we do, then we'll enable it
> explicitly and resolve any fallout then.  Unless and until we do that,
> a change like this is not desireable.
> 
> 
> Thanks,
> Roland
> 

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

Thanks,
Chung-Lin


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