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 22/09/2011, at 5:28 AM, Roland McGrath wrote:

> This is due to using (IMHO broken) compiler versions (like Ubuntu's)
> that implicitly set -fstack-protector by default.

No, this is due to libresolv now being compiled with -fstack-protector:

--------------------
2011-08-17  Ulrich Drepper  <drepper@gmail.com>

       * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
       * resolv/Makefile: Define CFLAGS-libresolv.

Index: resolv/Makefile
===================================================================
--- resolv/Makefile (revision 15223)
+++ resolv/Makefile (revision 15224)
@@ -79,6 +79,9 @@ CPPFLAGS += -Dgethostbyname=res_gethostb
	    -Dgetnetbyname=res_getnetbyname \
	    -Dgetnetbyaddr=res_getnetbyaddr

+ifeq (yes,$(have-ssp))
+CFLAGS-libresolv += -fstack-protector
+endif
CFLAGS-res_hconf.c = -fexceptions

# The BIND code elicits some harmless warnings.
-------------------


Thank you,

--
Maxim Kuvyrkov
CodeSourcery / Mentor Graphics



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