Bug #81120 [NEW]: PGO data for main PHP DLL are not used
| From: | cmb@php.net | Date: | Wed, 09 Jun 2021 17:31:40 +0000 |
| Subject: | Bug #81120 [NEW]: PGO data for main PHP DLL are not used | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-234316@lists.php.net to get a copy of this message | ||
From: cmb
Operating system: Windows
PHP version: 8.0.7
Package: *Compile Issues
Bug Type: Bug
Bug description:PGO data for main PHP DLL are not used
Description:
------------
The main PHP DLL is named php8.dll (or php8ts.dll etc.) as of PHP
8.0.0, but the PGP compile step is still looking for php7!*.pgc
and php7.pgd, what effectively disables the most relevant
profile-guided optimizations.
Test script:
---------------
configure --with-pgo && nmake
Expected result:
----------------
No warnings; profile-guided optimizations should be enabled.
Actual result:
--------------
PGOMGR : warning PG0188: No .PGC files matching
'D:\a\php-ftw\php-ftw\php\vs16\x64\obj\Release\php7!*.pgc' were found.
Reading PGD file 1:
D:\a\php-ftw\php-ftw\php\vs16\x64\obj\Release\php7.pgd
D:\a\php-ftw\php-ftw\php\vs16\x64\obj\Release\php7.pgd(0) : warning
C4961: No profile data was merged into
'D:\a\php-ftw\php-ftw\php\vs16\x64\obj\Release\php7.pgd', profile-guided
optimizations disabled
--
Edit bug report at https://bugs.php.net/bug.php?id=81120&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=81120&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=81120&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=81120&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=81120&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=81120&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=81120&r=support
Expected behavior: https://bugs.php.net/fix.php?id=81120&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=81120&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=81120&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=81120&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81120&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=81120&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=81120&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=81120&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=81120&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=81120&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=81120&r=mysqlcfg