Re: [PATCH] primitive load order deps for unix build system
| From: | Rasmus Lerdorf | Date: | Fri, 21 May 2004 20:22:26 +0000 |
| Subject: | Re: [PATCH] primitive load order deps for unix build system | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10012@lists.php.net to get a copy of this message | ||
On Fri, 21 May 2004, Edin Kadribasic wrote:
> On Friday 21 May 2004 20:25, Rasmus Lerdorf wrote:
> > What is the incentive to build it static? Performance? If you simply
> > build a non-pic shared library there is no performance benefit at all.
> > In fact, we should probably consider making this the default on platforms
> > that support non-pic shared libs as our libs aren't general-purpose shared
> > libraries, they are very much single-purpose libs designed to just be
> > linked into a single binary.
>
> 1. You cannot simply build non-pic shared library.
If we changed our default to non-pic it would be trivial.
> 2. For debugging purposes having .so's suck.
It's only marginally more inconvenient. You can always just preload them
and then you won't be able to tell the difference at all.
-Rasmus