Retiring static libpam support
From: Dag-Erling Smørgrav (des_at_des.no)
Date: 06/08/05
- Previous message: Garance A Drosihn: "NOTE: Upcoming changes to kinfo_proc"
- Next in thread: Ruslan Ermilov: "Re: Retiring static libpam support"
- Reply: Ruslan Ermilov: "Re: Retiring static libpam support"
- Reply: Julian Elischer: "Re: Retiring static libpam support"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: arch@freebsd.org Date: Wed, 08 Jun 2005 09:48:27 +0200
Currently, libpam is built both dynamically (with modules in separate
files which it dlopen()s, like everybody else does) and statically
(with the modules compiled-in). This is a major headache, because the
static modules need to be built before the static library, but the
dynamic library needs to be built before the dynamic modules, so we
have quite a bit of magic (thanks ru!) to build libpam in two passes.
There's also quite a bit of highly non-portable magic in OpenPAM to
support static linkage.
The funny thing, though, is that nothing in our tree acutally uses the
static libpam (unless you have NO_SHARED= in make.conf). Therefore,
I'd like to remove the ability to build a static libpam altogether,
unless someone can come up with a very good reason not to.
DES
-- Dag-Erling Smørgrav - des@des.no _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Garance A Drosihn: "NOTE: Upcoming changes to kinfo_proc"
- Next in thread: Ruslan Ermilov: "Re: Retiring static libpam support"
- Reply: Ruslan Ermilov: "Re: Retiring static libpam support"
- Reply: Julian Elischer: "Re: Retiring static libpam support"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: Retiring static libpam support
... libpam is built both dynamically (with modules in separate ... > (with the
modules compiled-in). ... > dynamic library needs to be built before the
dynamic modules, ... > have quite a bit of magic to build libpam in two passes. ...
(freebsd-arch) - Re: Retiring static libpam support
... libpam is built both dynamically (with modules in separate ... >> have
quite a bit of magic to build libpam in two passes. ... IIRC jdp did most of the work to
support static linkage. ... miss any dynamically loaded PAM modules since I don't
need them. ... (freebsd-arch) - Re: compiling world with optimization
... David O'Brien writes: ... > Can you look at his other patches? ...
> world being built with -O2. ... I have a ton of libpam patches in my tree already
(some of which ... (freebsd-current)