Date: Tue, 06 Dec 2011 22:24:38 +0100 From: Martin Matuska <mm@FreeBSD.org> To: Andriy Gapon <avg@FreeBSD.org> Cc: FreeBSD current <freebsd-current@FreeBSD.org>, FreeBSD Ports <freebsd-ports@FreeBSD.org> Subject: Re: binutils-2.22: ld and --copy-dt-needed-entries Message-ID: <4EDE8816.7030505@FreeBSD.org> In-Reply-To: <4EDE474C.8090600@FreeBSD.org> References: <4EDE474C.8090600@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6.12.2011 17:48, Andriy Gapon wrote: > Just for your information. > It seems that ld from binutils-2.22 by default has --no-copy-dt-needed-entries > behavior, and so explicit --copy-dt-needed-entries is now needed where the > previous default behavior is relied upon. > > A short excerpt from the man page for your convenience: > >> This option also has an effect on the resolution of symbols in >> dynamic libraries. With --copy-dt-needed-entries dynamic libraries >> mentioned on the command line will be recursively searched, >> following their DT_NEEDED tags to other libraries, in order to >> resolve symbols required by the output binary. With the default >> setting however the searching of dynamic libraries that follow it >> will stop with the dynamic library itself. No DT_NEEDED links will >> be traversed to resolve symbols. What do we do with this? We can go back, patch to behave as before or to continue. Are there any serious complaints? -- Martin Matuska FreeBSD committer http://blog.vx.sk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EDE8816.7030505>