Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2011 09:14:12 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Dag-Erling Sm??rgrav <des@des.no>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, Jilles Tjoelker <jilles@stack.nl>
Subject:   Re: svn commit: r227798 - in head: . lib/libpam lib/libpam/modules
Message-ID:  <20111123071412.GV50300@deviant.kiev.zoral.com.ua>
In-Reply-To: <86wrarj0sl.fsf@ds4.des.no>
References:  <201111211640.pALGedXg051270@svn.freebsd.org> <20111122204154.GA14090@stack.nl> <861uszkfgw.fsf@ds4.des.no> <86wrarj0sl.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <des@des.no> writes:
> > Jilles Tjoelker <jilles@stack.nl> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111123071412.GV50300>