From owner-freebsd-arch@FreeBSD.ORG Wed Jun 8 07:48:32 2005 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B226316A41F for ; Wed, 8 Jun 2005 07:48:32 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 410D743D1F for ; Wed, 8 Jun 2005 07:48:32 +0000 (GMT) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 6A20360F3 for ; Wed, 8 Jun 2005 09:48:27 +0200 (CEST) Received: from xps.des.no (des.no [80.203.228.37]) by tim.des.no (Postfix) with ESMTP id 56D8C60F2 for ; Wed, 8 Jun 2005 09:48:27 +0200 (CEST) Received: by xps.des.no (Postfix, from userid 1001) id 47F4333C3B; Wed, 8 Jun 2005 09:48:27 +0200 (CEST) To: arch@freebsd.org From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) Date: Wed, 08 Jun 2005 09:48:27 +0200 Message-ID: <864qc9mgqc.fsf@xps.des.no> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on tim.des.no X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.0.2 Cc: Subject: Retiring static libpam support X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2005 07:48:32 -0000 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=3D 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 --=20 Dag-Erling Sm=F8rgrav - des@des.no