[PATCH] Pull in ld.so for libresolv

Maxim Kuvyrkov maxim@codesourcery.com
Wed Sep 21 17:50:00 GMT 2011


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




More information about the Libc-alpha mailing list