Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36995 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54916 invoked from network); 14 Apr 2008 06:29:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Apr 2008 06:29:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=ioplex@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ioplex@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.200.172 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: ioplex@gmail.com X-Host-Fingerprint: 209.85.200.172 wf-out-1314.google.com Received: from [209.85.200.172] ([209.85.200.172:44568] helo=wf-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E5/F3-33575-EA9F2084 for ; Mon, 14 Apr 2008 02:29:03 -0400 Received: by wf-out-1314.google.com with SMTP id 27so1487757wfd.26 for ; Sun, 13 Apr 2008 23:29:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=166UfYr66hPEB7+h++ZINIBCOy+t5TmtjvhMbhdf5qk=; b=xUgvxgN0D2YDl6UIxZGbrCPAKYkFNEfSdoJ2h80kIRmN2lElPbelxfpK3Z1VMgsgiTrbRzZqR9sXWTZ5XnP2YKihsp0e7gY/DqMdjQ8+Dmr2OvwM2U5sqETqsb5iUiqS3MG4JXjSb7OyHQpNACYJtQLxGZ7cNZfMA5WYQGGOxsM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HzqINsHL2gwW/seThEa4JmojD/C84MmHt40cKKdEeGmBo2YMV4AH2ZXQXsOjCE/3K0zfJ++SIi4YLZMzuCQyOmo5fZXD9ibCoAMOMeIrL1mqLSoVvJjWwXCc3WhLwPJ1XLQWKtvkLb3PxsS304BBBq/8a9sAiqMEpgevPI4odN0= Received: by 10.142.109.16 with SMTP id h16mr1686336wfc.190.1208154539989; Sun, 13 Apr 2008 23:28:59 -0700 (PDT) Received: by 10.142.224.18 with HTTP; Sun, 13 Apr 2008 23:28:54 -0700 (PDT) Message-ID: <78c6bd860804132328h76a2e5fbmcd0311d060eeeb01@mail.gmail.com> Date: Mon, 14 Apr 2008 02:28:54 -0400 To: "Antony Dovgal" Cc: internals@lists.php.net In-Reply-To: <78c6bd860804110931g68ad938bqbced7a647db35482@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <78c6bd860804101019p47829b34k46176bfbc5afe9a5@mail.gmail.com> <47FF2EE1.403@daylessday.org> <78c6bd860804110931g68ad938bqbced7a647db35482@mail.gmail.com> Subject: Re: [PHP-DEV] FPE in ld-linux-x86-64.so loading custom extension From: ioplex@gmail.com ("Michael B Allen") On 4/11/08, Michael B Allen wrote: > On 4/11/08, Antony Dovgal wrote: > > On 10.04.2008 21:19, Michael B Allen wrote: > > > > > Can anyone recommend a method for debugging this issue? > > > > > > > I'd start with --enable-debug and valgrind. > > > > > > > It seems to be this one particular server. I have not been able to > > > reproduce the issue here. > > > > > > > What's the difference between this server and the others? > > Do the others use different Apache version/build? > > Other architecture maybe? LD version? > > > Actually it looks like this does have to do with the LD version and > specifically the .hash vs .hash.gnu section in the binaries. I was > building x86_64 binaries on a machine that only used the newer > .hash.gnu section (contrary to the man page which claims sysv style is > the default). I suspect that the client is using an older system who's > loader only supports the traditional sysv style .hash section. It > seems the solution is to use -Wl,--hash-style=both so that the dso and > library it's linked with have both the .hash and .hash.gnu sections > (confirmed with objdump -h foo.so). Confirmed that this is the fix. Thanks, Mike -- Michael B Allen PHP Active Directory SPNEGO SSO http://www.ioplex.com/