[PATCH] Pull in ld.so for libresolv

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


For some hosts (possibly depending on GCC version), -fstack-protector
may require '__stack_chk_guard' to be present, as libresolv currently
fails to link for such builds.

This patch pulls in ld.so for __stack_chk_guard; this may not be needed
on all hosts, but should be harmless.

Thanks,
Chung-Lin

2011-09-22  Chung-Lin Tang  <cltang@codesourcery.com>
            Maxim Kuvyrkov  <maxim@codesourcery.com>

	* resolv/Makefile ($(objpfx)libresolv.so): Add $(elfobjdir)ld.so
	dependency when using -fstack-protector.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: resolv-mk.diff
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20110921/06cc5492/attachment.ksh>


More information about the Libc-alpha mailing list