Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-12-20 Thread Steph
Derick Rethans" <[EMAIL PROTECTED]>; "Joe Orton" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, December 07, 2004 6:13 PM Subject: Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux} > I believe that there was an all around agreement a

Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-12-07 Thread Ilia Alshanetsky
I believe that there was an all around agreement and this and given that we are nearing release of 5.0.3 and 4.3.10 this would be a perfect opportunity to do it. Otherwise it'll need wait for unknown number of months till the next release. Ilia -- PHP Internals - PHP Runtime Development Mailing

Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-12-07 Thread George Schlossnagle
On Dec 7, 2004, at 10:45 AM, Derick Rethans wrote: Did we ever came to the conclusion whether we should put this patch into CVS. AFAIK everybody agreed with it... That's what I recall as well. George -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/

Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-12-07 Thread Derick Rethans
On Thu, 16 Sep 2004, Joe Orton wrote: > On Thu, Sep 16, 2004 at 06:31:56AM -0700, Rasmus Lerdorf wrote: > > > > There is already a --without-pic/--with-pic flag that just doesn't work. > > I'd key it off of that. > > It doesn't work because PHP prevents AC_PROG_LIBTOOL from interpreting > it by do

Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-09-16 Thread Rasmus Lerdorf
Makes sense to me. On Thu, 16 Sep 2004, Joe Orton wrote: > On Thu, Sep 16, 2004 at 06:31:56AM -0700, Rasmus Lerdorf wrote: > > On Thu, 16 Sep 2004, Joe Orton wrote: > > > > > On Thu, Sep 16, 2004 at 12:39:39PM +0200, Sascha Schumann wrote: > > > > The point is that the current behaviour needs

Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-09-16 Thread Joe Orton
On Thu, Sep 16, 2004 at 06:31:56AM -0700, Rasmus Lerdorf wrote: > On Thu, 16 Sep 2004, Joe Orton wrote: > > > On Thu, Sep 16, 2004 at 12:39:39PM +0200, Sascha Schumann wrote: > > > The point is that the current behaviour needs to be retained > > > for installations which would be negativel

RE: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-09-16 Thread Rasmus Lerdorf
On Thu, 16 Sep 2004, Dmitry Stogov wrote: > All shared extensions (mysql,...) should be DSO, because they can be used by > different Web Server modules and CLI PHP. This is still a memory vs. performance issue. In my case I definitely would prefer the performance, so I am not so sure that this ho

RE: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-09-16 Thread Dmitry Stogov
> Cc: [EMAIL PROTECTED] > Subject: Re: [PHP-DEV] [PATCH] use -prefer-non-pic on > x86-{freebsd,linux} > > > So we should enable pic automatically when the embed SAPI is > selected; otherwise we are safe to go for non-pic, correct? > > --Wez. > > On Thu, 16 Se

Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-09-16 Thread Rasmus Lerdorf
On Thu, 16 Sep 2004, Joe Orton wrote: > On Thu, Sep 16, 2004 at 12:39:39PM +0200, Sascha Schumann wrote: > > The point is that the current behaviour needs to be retained > > for installations which would be negatively affected by your > > patch. Building non-PIC as default is ok, if a

Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-09-16 Thread Wez Furlong
So we should enable pic automatically when the embed SAPI is selected; otherwise we are safe to go for non-pic, correct? --Wez. On Thu, 16 Sep 2004 14:07:42 +0200 (CEST), Sascha Schumann <[EMAIL PROTECTED]> wrote: > On Thu, 16 Sep 2004, Wez Furlong wrote: > > > Something like this sounds right:

Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-09-16 Thread Sascha Schumann
On Thu, 16 Sep 2004, Wez Furlong wrote: Something like this sounds right: --enable-slow-pic Build a slower DSO that can be used to run multiple concurrent Apache instances. You don't need this unless you know why you need it. Which g

Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-09-16 Thread Wez Furlong
Something like this sounds right: --enable-slow-pic Build a slower DSO that can be used to run multiple concurrent Apache instances. You don't need this unless you know why you need it. Which gets me thinking... how does this aff

Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-09-16 Thread Joe Orton
On Thu, Sep 16, 2004 at 12:39:39PM +0200, Sascha Schumann wrote: > The point is that the current behaviour needs to be retained > for installations which would be negatively affected by your > patch. Building non-PIC as default is ok, if a switch is > provided to build PIC. Ah, go

Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-09-16 Thread Sascha Schumann
My understanding is that a single DSO on disk can be "shared" between two instances, but the text sections of such will not be shared in physical RAM between two instances which load it, because the code will get fixed up and hence copied-on-write. Is that not the case? That is the correct und

Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-09-16 Thread Joe Orton
On Thu, Sep 16, 2004 at 11:53:40AM +0200, Sascha Schumann wrote: > On Thu, 16 Sep 2004, Joe Orton wrote: > >This is Rasmus' patch but only enabled on platforms where it's known to > >work. Applies to HEAD: the apache2handler SAPI builds and loads a > >shared extension OK like this on Linux/i686.

Re: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}

2004-09-16 Thread Sascha Schumann
On Thu, 16 Sep 2004, Joe Orton wrote: This is Rasmus' patch but only enabled on platforms where it's known to work. Applies to HEAD: the apache2handler SAPI builds and loads a shared extension OK like this on Linux/i686. It looks like some people preferred a configure flag for this and some prefe