Bug #81614 [NEW]: PHP 8.0.12 build failed with PGO

From: Date: Fri, 12 Nov 2021 06:48:29 +0000
Subject: Bug #81614 [NEW]: PHP 8.0.12 build failed with PGO
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237708@lists.php.net to get a copy of this message
From: lin dot a dot yang at intel dot com Operating system: PHP version: 8.0.12 Package: *Compile Issues Bug Type: Bug Bug description:PHP 8.0.12 build failed with PGO Description: ------------ I tried to build php-fpm 8.0.12 with gcc 9.3.0 to enable PGO optimization. $ gcc --version gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 The commands I used show as below. $ make prof-gen -j # run workload $ make prof-clean $ make prof-use -j However, "make prof-use -j" complain a lot of warning about cannot found profile count data file .gcda file on the expected location. /opt/pkb/git/hhvm-perf/php-src/Zend/zend_extensions.c: In function 'zend_extensions_op_array_persist': /opt/pkb/git/hhvm-perf/php-src/Zend/zend_extensions.c:338:1: warning: '/home/build/php-src/Zend/.libs/zend_extensions.gcda' profile count data file not found [-Wmissing-profile] Above example shows that it search gcda file in php-src/Zend/.libs/zend_extensions.gcda. But I only found this corresponding file in php-src/Zend/zend_extensions.gcda, not in .libs directory. $ ls /home/build/php-src/Zend/.libs/zend_extensions.gcda ls: cannot access '/home/build/php-src/Zend/.libs/zend_extensions.gcda': No such file or directory $ ls /home/build/php-src/Zend/zend_extensions.gcda /home/build/php-src/Zend/zend_extensions.gcda If manually move gcda file to the .libs directory, it will give another kind of warning about not found the profile counter inside those gcda files. The php build process can be completed if ignore those warnings, but php and php-fpm binary generated will fail to run any script. Really appreiate any suggestion aobut how to fix this issue. -- Edit bug report at https://bugs.php.net/bug.php?id=81614&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=81614&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=81614&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=81614&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=81614&r=needscript Try newer version: https://bugs.php.net/fix.php?id=81614&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=81614&r=support Expected behavior: https://bugs.php.net/fix.php?id=81614&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=81614&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=81614&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=81614&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=81614&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=81614&r=dst IIS Stability: https://bugs.php.net/fix.php?id=81614&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=81614&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=81614&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=81614&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=81614&r=mysqlcfg

« previous php.bugs (#237708) next »