Re: Re: Really odd PHP problem
| From: | Rasmus Lerdorf | Date: | Mon, 06 Sep 2004 17:04:34 +0000 |
| Subject: | Re: Re: Really odd PHP problem | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12616@lists.php.net to get a copy of this message | ||
On Mon, 6 Sep 2004, Joe Orton wrote:
> On Sun, Sep 05, 2004 at 04:41:44PM -0700, Rasmus Lerdorf wrote:
> > On Sun, 5 Sep 2004, Andi Gutmans wrote:
> > > Yeah I know non-pic doesn't work on all platforms but I gathered that
> > > -prefer-non-pic only uses PIC on platforms where non-PIC dso's aren't
> > > supported. I guess I'm wrong and we do need better autoconf checks.
> >
> > I am not sure what -prefer-non-pic does on all the platforms actually. I
> > generally don't trust libtool to get things right without checking it
> > first. But it could be that simply adding this change as-is would work.
> > Maybe if enough people reading this on non-Linux/FreeBSD platforms could
> > test this and reply back we would get a better idea.
>
> -prefer-non-pic will build non-PIC objects even if the platform requires
> only PIC objects in DSOs (I checked Linux/x86_64).
I am not too worried about Linux. I'd be more interested in seeing if
libtool gets it right on AIX, HPUX, Solaris and OSX.
-Rasmus