This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Pull in ld.so for libresolv
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Chung-Lin Tang <cltang at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>, Maxim Kuvyrkov <maxim at codesourcery dot com>
- Date: Wed, 21 Sep 2011 10:28:13 -0700 (PDT)
- Subject: Re: [PATCH] Pull in ld.so for libresolv
- References: <4E7A1BFA.6010209@codesourcery.com>
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