[PATCH] Pull in ld.so for libresolv

Chung-Lin Tang cltang@codesourcery.com
Wed Sep 21 17:50:00 GMT 2011


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



More information about the Libc-alpha mailing list