From: spam2 at rhsoft dot net
Operating system: Linux
PHP version: 7.0.11
Package: Compile Failure
Bug Type: Bug
Bug description:make prof-use don't work -> still profiling code
Description:
------------
make prof-gen
make test
make prof-use
the "make prof-use" just takes a second while i would expect a full
compile using the gcda-files filled with informations wude running "make
test" and that part works becuase while "make test" is running the
timestamps of that files are changing
after that there is still the profiling code in the binaries because
running it on another machine at httpd startup you see these messages in
the apache-errorlog
profiling:/home/builduser/rpmbuild/BUILD/php-7.0.11/ext/zlib/.libs/zlib.gcda:Skip
profiling:/home/builduser:Cannot create directory
profiling:/home/builduser/rpmbuild/BUILD/php-7.0.11/ext/pcre/.libs/php_pcre.gcda:Skip
profiling:/home/builduser:Cannot create directory
profiling:/home/builduser/rpmbuild/BUILD/php-7.0.11/ext/libxml/.libs/libxml.gcda:Skip
profiling:/home/builduser:Cannot create directory
profiling:/home/builduser/rpmbuild/BUILD/php-7.0.11/ext/date/lib/.libs/interval.gcda:Skip
profiling:/home/builduser:Cannot create directory
profiling:/home/builduser/rpmbuild/BUILD/php-7.0.11/ext/date/lib/.libs/parse_iso_intervals.gcda:Skip
profiling:/home/builduser:Cannot create directory
profiling:/home/builduser/rpmbuild/BUILD/php-7.0.11/ext/date/lib/.libs/unixtime2tm.gcda:Skip
profiling:/home/builduser:Cannot create directory
profiling:/home/builduser/rpmbuild/BUILD/php-7.0.11/ext/date/lib/.libs/tm2unixtime.gcda:Skip
profiling:/home/builduser:Cannot create directory
profiling:/home/builduser/rpmbuild/BUILD/php-7.0.11/ext/date/lib/.libs/timelib.gcda:Skip
profiling:/home/builduser:Cannot create directory
profiling:/home/builduser/rpmbuild/BUILD/php-7.0.11/ext/date/lib/.libs/parse_tz.gcda:Skip
profiling:/home/builduser:Cannot create directory
profiling:/home/builduser/rpmbuild/BUILD/php-7.0.11/ext/date/lib/.libs/parse_date.gcda:Skip
profiling:/home/builduser:Cannot create directory
profiling:/home/builduser/rpmbuild/BUILD/php-7.0.11/ext/date/lib/.libs/dow.gcda:Skip
profiling:/home/builduser:Cannot create directory
profiling:/home/builduser/rpmbuild/BUILD/php-7.0.11/ext/date/lib/.libs/astro.gcda:Skip
profiling:/home/builduser:Cannot create directory
profiling:/home/builduser/rpmbuild/BUILD/php-7.0.11/ext/date/.libs/php_date.gcda:Ski
Test script:
---------------
make prof-gen
make test
make prof-use
yes, i know that "make test" is probably not the best thing for PGO but
a good start to get the build-process implemented and then replace it
with running custom php-code and "make test" at the end with the final
build
Expected result:
----------------
a final PGO build without the profiling code
Actual result:
--------------
binaries which stil contain profiling code after "make prof-use"
--
Edit bug report at https://bugs.php.net/bug.php?id=73111&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73111&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73111&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73111&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=73111&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=73111&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=73111&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=73111&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=73111&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=73111&r=support
Expected behavior: https://bugs.php.net/fix.php?id=73111&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=73111&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=73111&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=73111&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73111&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=73111&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=73111&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=73111&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73111&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=73111&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=73111&r=mysqlcfg