On 4/11/08, Antony Dovgal <[EMAIL PROTECTED]> 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).

But I'm waiting to hear back from the client for the verdict. I'll
post a followup.

Mike

-- 
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to