Re: [PHP-DEV] Enabling opcache causes libraries to build as static

2016-04-28 Thread Joe Watkins
Morning David, To confirm it was something to do with opcache, I removed opcache from the source tree: krakjoe@fiji:/usr/src/php-src$ ./configure --disable-all | grep static checking if cc static flag -static works... yes checking whether to build static libraries... yes That

Re: [PHP-DEV] Enabling opcache causes libraries to build as static

2016-04-28 Thread David Zuelke
On 20.03.2016, at 22:10, David Zuelke wrote: > > On 10.03.2016, at 16:56, David Zuelke wrote: >> >>> On 08.03.2016, at 16:18, Andrea Faulds wrote: >>> >>> Hi, >>> >>> David Zuelke wrote: Is this intentional? Related to opcache's "can only be built shared" status? But why would tha

Re: [PHP-DEV] Enabling opcache causes libraries to build as static

2016-03-20 Thread David Zuelke
On 10.03.2016, at 16:56, David Zuelke wrote: > >> On 08.03.2016, at 16:18, Andrea Faulds wrote: >> >> Hi, >> >> David Zuelke wrote: >>> Is this intentional? Related to opcache's "can only be built shared" >>> status? But why would that trigger static builds? Or is it a bug? >> >> While we're

Re: [PHP-DEV] Enabling opcache causes libraries to build as static

2016-03-10 Thread David Zuelke
> On 08.03.2016, at 16:18, Andrea Faulds wrote: > > Hi, > > David Zuelke wrote: >> Is this intentional? Related to opcache's "can only be built shared" status? >> But why would that trigger static builds? Or is it a bug? > > While we're at it, why is Opcache still built as shared? Does somethi

[PHP-DEV] Enabling opcache causes libraries to build as static

2016-03-07 Thread David Zuelke
Hi all, I've been trying to get to the bottom of why even a minimal PHP build (any 5.x or 7 release, or a fresh e.g. 7.0 branch checkout after buildconf) creates .a versions of all shared extensions in addition to .so modules. I've narrowed it down to opcache: $ ./configure --disable-all ... c