Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91533 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82564 invoked from network); 8 Mar 2016 01:57:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Mar 2016 01:57:38 -0000 Authentication-Results: pb1.pair.com header.from=dz@heroku.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dz@heroku.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain heroku.com designates 74.125.82.49 as permitted sender) X-PHP-List-Original-Sender: dz@heroku.com X-Host-Fingerprint: 74.125.82.49 mail-wm0-f49.google.com Received: from [74.125.82.49] ([74.125.82.49:33273] helo=mail-wm0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F5/72-59133-1913ED65 for ; Mon, 07 Mar 2016 20:57:38 -0500 Received: by mail-wm0-f49.google.com with SMTP id l68so131394223wml.0 for ; Mon, 07 Mar 2016 17:57:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heroku-com.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:subject:message-id:date:to :mime-version; bh=Hi1BSAsJ/Fq3QD+KHTwOdjTVfW0DpWGoOOZWPBG2Rxg=; b=Qk9ZbJekoUG6nPUodC8xESzZlltxUhI7JKKgvdykETNfvBbVJYtSknt73+6TYvAwaz EsbqwsCsH9IPN3icNCRi7JzI5Cj/lGxU++OXhvN42EYlpAD1aR4tM1Kamwma63X+Fo8O ldo90fgAqd+1cplQ6K7fb5P0Xmlm1q8IAOD0y7G11gjO+VswRNd82oW/6s1ZUYIIgEzZ aIEiuJtVAR9+t//hGoF+mwMEvWPuZ6IeGM58iqns1+1OqVp8Ql+lUMJQvhBVaWSe98tb gD8S7fPrBoOJO40y/3O2U8bWs33hF9PJi2wZ7vIggX+t2jwsMLwyfTpOqwYdvsaBm27J btAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=Hi1BSAsJ/Fq3QD+KHTwOdjTVfW0DpWGoOOZWPBG2Rxg=; b=SwRuC5rdUCL5CD21btCa11yhpKJ1vuLvEJvZ3EjHVGzs53iISi5AeZ/6nLoR0gWdo3 zfCRUY4+QBht8caCvdKXgHvqaW7O0a/Mf8vIO/ZguYPVUmGZAXLSqJu+UbMBusx9O9aE FFLLqCvECBvOygW6A0QbBs7BhFsCGHhiloXm6l54jcrNIqRjVYAyhuiBsXG1TSRQ/56j VQiGp0YaWtGliy26Y6iQyfSbRA0OjDJnnlmGVArUXqogNV/cdv7RmtQNUh+Fjs/JlBOo 6WyOUHwPXHBvU8upqetCB3yVS2XYcY9MlWFvrd+K6gA1PnZG50cGnDPFiQ73i+5W0I5/ b2cA== X-Gm-Message-State: AD7BkJIM4tPF9uwIyWKM2jUdjwYgkhdvwSx8gFM9CvyW4Xxxv3sPLcZmSWnUk+Oexv1Dy9rS X-Received: by 10.194.75.164 with SMTP id d4mr25486717wjw.15.1457402254543; Mon, 07 Mar 2016 17:57:34 -0800 (PST) Received: from [192.168.19.20] (ipb21b5588.dynamic.kabel-deutschland.de. [178.27.85.136]) by smtp.gmail.com with ESMTPSA id n10sm413727wjf.28.2016.03.07.17.57.32 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Mar 2016 17:57:32 -0800 (PST) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-ID: <7D13E7EB-910D-42DD-ACF1-3872C1CE55C1@heroku.com> Date: Tue, 8 Mar 2016 02:57:31 +0100 To: PHP Developers Mailing List Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-Mailer: Apple Mail (2.3112) Subject: Enabling opcache causes libraries to build as static From: dz@heroku.com (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 ... checking whether to build shared libraries... yes checking whether to build static libraries... no versus $ ./configure --disable-all --enable-opcache=3Dshared ... checking whether to build shared libraries... yes checking whether to build static libraries... yes but I cannot figure out why this is happening (both on OS X and Ubuntu = 14.04). 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? I've been wading through config.m4s, generated configures etc but still = haven't found the reason; any pointers or explanations would be much = appreciated! Cheers, David