From owner-freebsd-ports@FreeBSD.ORG Tue Dec 6 16:48:15 2011 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFC4C1065673; Tue, 6 Dec 2011 16:48:15 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id DBC558FC1B; Tue, 6 Dec 2011 16:48:14 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id SAA07691; Tue, 06 Dec 2011 18:48:13 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <4EDE474C.8090600@FreeBSD.org> Date: Tue, 06 Dec 2011 18:48:12 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111109 Thunderbird/8.0 MIME-Version: 1.0 To: FreeBSD Ports , FreeBSD current X-Enigmail-Version: undefined Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: binutils-2.22: ld and --copy-dt-needed-entries X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 16:48:15 -0000 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. -- Andriy Gapon