Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26268 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69661 invoked by uid 1010); 27 Oct 2006 17:07:54 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69646 invoked from network); 27 Oct 2006 17:07:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Oct 2006 17:07:54 -0000 Authentication-Results: pb1.pair.com smtp.mail=mba2000@ioplex.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mba2000@ioplex.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ioplex.com from 66.220.1.142 cause and error) X-PHP-List-Original-Sender: mba2000@ioplex.com X-Host-Fingerprint: 66.220.1.142 www.ioplex.com Linux 2.4/2.6 Received: from [66.220.1.142] ([66.220.1.142:1496] helo=www.ioplex.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 72/7A-00625-8EC32454 for ; Fri, 27 Oct 2006 13:07:53 -0400 Received: from quark.foo.net (c-69-142-196-170.hsd1.nj.comcast.net [69.142.196.170]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by www.ioplex.com (Postfix) with ESMTP id F173142B65; Fri, 27 Oct 2006 13:07:48 -0400 (EDT) Date: Fri, 27 Oct 2006 13:07:42 -0400 To: "Brian J. France" Cc: internals@lists.php.net Message-ID: <20061027130742.1cf61793.mba2000@ioplex.com> In-Reply-To: <3F51F1DD-7B25-4302-975A-2F8E276D5EC9@firehawksystems.com> References: <20061027115704.5160b509.mba2000@ioplex.com> <3F51F1DD-7B25-4302-975A-2F8E276D5EC9@firehawksystems.com> X-Mailer: Sylpheed version 1.0.6 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] What version introduced RTLD_DEEPBIND? From: mba2000@ioplex.com (Michael B Allen) On Fri, 27 Oct 2006 12:12:46 -0400 "Brian J. France" wrote: > On Oct 27, 2006, at 11:57 AM, Michael B Allen wrote: > > Is there any way to determine exactly which version of PHP first > > used the > > RTLD_DEEPBIND flag to dlopen(3)? Can webcvs be used somehow. I *think* > > it's between 4.3 and 4.4 but I'm not sure. > > 4.4: > > http://cvs.php.net/viewvc.cgi/Zend/zend.h?view=log&pathrev=PHP_4_4 > > and > > 5.1: > > http://cvs.php.net/viewvc.cgi/ZendEngine2/zend.h? > view=log&pathrev=PHP_5_1 > > and I plan on removing it from our internal builds as it causes more > problems than I think it fixes (on RHEL only). Err, that'll break my module. My module is linked with Heimdal kerberos. I need Heimdal because it has proper support for SPNEGO (amnong other reasons). But if PHP or any other module is linked with a different Kerberos library (e.g. MIT) symbol collisions will occur resulting in all sorts of strange behavior. If you are going to remove RTLD_DEEPBIND, can you recommend an alternative method for linking a module so that said symbol collisions do not result? What problems are you seeing with RTLD_DEEPBIND? Perhaps it could be an extension specific ini option like: extension = mymodule.so:RTLD_DEEPBIND or extension.deepbind = mymodule.so ? Mike -- Michael B Allen PHP Active Directory SSO http://www.ioplex.com/