RE: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux}
| From: | Dmitry Stogov | Date: | Thu, 16 Sep 2004 13:14:55 +0000 |
| Subject: | RE: [PHP-DEV] [PATCH] use -prefer-non-pic on x86-{freebsd,linux} | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12864@lists.php.net to get a copy of this message | ||
All shared extensions (mysql,...) should be DSO, because they can be used by
different Web Server modules and CLI PHP.
Thanks. Dmitry.
> -----Original Message-----
> From: Wez Furlong [mailto:kingwez@gmail.com]
> Sent: Thursday, September 16, 2004 16:23
> To: Sascha Schumann
> Cc: internals@lists.php.net
> 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 Sep 2004 14:07:42 +0200 (CEST), Sascha Schumann
> <sascha@schumann.cx> wrote:
> > 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 gets me thinking... how does this affect other SAPI
> (like CLI,
> > > embed) and extensions?
> >
> > CLI is a binary (no DSO, no PIC).
> >
> > Embed should probably be always built as PIC as it is
> > supposed to be embedded as a library component.
> >
> > - Sascha
> >
> >
> >
> > --
> > PHP Internals - PHP Runtime Development Mailing List
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>