Subject: Re: apache, ap-perl and threads (again)
To: None <tech-pkg@NetBSD.org>
From: Dieter Baron <dillo@danbala.tuwien.ac.at>
List: tech-pkg
Date: 10/02/2007 20:59:13
In article <20071002180958.GA27819@britannica.bec.de> Joerg wrote:
: On Tue, Oct 02, 2007 at 07:46:10PM +0200, Dieter Baron wrote:
: >   That is not the correct test.  Rahter, test wether apache can load
: > ap-php.  If Netbsd-4 is fixed, linking to libpthread is no longer
: > needed.

  Make that ap-perl (is ap-php even linked against libpthread)?

: That is not the correct test either. The real test is whether ap-php has
: to link against libpthread.

  It seems we are testing two different things here:

  1: Wether NetBSD-4 needs to be added to
_BLNK_DLOPEN_REQUIRE_PTHREAD_PLATFORMS.  For that testing wether a
program that does not link against libpthread can dlopen a module that
does link against libpthread is exactly the right test.

  2: Wether a particular program/module really needs libpthread or
just links against it out of laziness.  Tnis might solve this
particular instance, but does not solve the problem in general.  (That
is not to say that it is useeless, just that it is not a replacement
for 1.)

					yours,
					dillo