From owner-svn-src-all@FreeBSD.ORG Wed Nov 23 07:14:18 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E400E106566B; Wed, 23 Nov 2011 07:14:18 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 5E82C8FC15; Wed, 23 Nov 2011 07:14:17 +0000 (UTC) Received: from alf.home (alf.kiev.zoral.com.ua [10.1.1.177]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id pAN7ECvW057064 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Nov 2011 09:14:13 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from alf.home (kostik@localhost [127.0.0.1]) by alf.home (8.14.5/8.14.5) with ESMTP id pAN7ECTG042930; Wed, 23 Nov 2011 09:14:12 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by alf.home (8.14.5/8.14.5/Submit) id pAN7ECYf042929; Wed, 23 Nov 2011 09:14:12 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: alf.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 23 Nov 2011 09:14:12 +0200 From: Kostik Belousov To: Dag-Erling Sm??rgrav Message-ID: <20111123071412.GV50300@deviant.kiev.zoral.com.ua> References: <201111211640.pALGedXg051270@svn.freebsd.org> <20111122204154.GA14090@stack.nl> <861uszkfgw.fsf@ds4.des.no> <86wrarj0sl.fsf@ds4.des.no> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="t/cwt9bjzs+oxMrl" Content-Disposition: inline In-Reply-To: <86wrarj0sl.fsf@ds4.des.no> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Jilles Tjoelker Subject: Re: svn commit: r227798 - in head: . lib/libpam lib/libpam/modules X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2011 07:14:19 -0000 --t/cwt9bjzs+oxMrl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 22, 2011 at 10:38:02PM +0100, Dag-Erling Sm??rgrav wrote: > Dag-Erling Sm??rgrav writes: > > Jilles Tjoelker writes: > > > Although this will work, I think it trades the quality of the binaries > > > for a cleaner build system. It is better to pass all libraries to ld(= 1) > > > even though a .so may have unresolved references: the NEEDED entry > > > serves as an additional protection against version mismatches and sym= bol > > > versioning (if you ever add it) requires ld(1) to have access to the = .so > > > containing the definition so it knows the version name to store in the > > > output file. > > These are plugins. The names and prototypes of the functions they > > export were set in stone 15 years ago. >=20 > Sorry, that was a bit unclear. What I was trying to say is that symbol > versioning is not and will never be an issue. Does plugin depend on the library which loaded it ? In other words, does it reference the symbols from the library ? If yes, then plugin _must_ have a dependency on the library recorded as DT_NEEDED. --t/cwt9bjzs+oxMrl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk7MnUQACgkQC3+MBN1Mb4h14gCg1/fvfqohmTg+kPWcGccnjGq0 YPUAoMqQGob0DGji73U4mXSySspYT6ST =rR2l -----END PGP SIGNATURE----- --t/cwt9bjzs+oxMrl--