|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74107 PGP builds and size
Submitted: 2017-02-16 11:55 UTC Modified: 2017-02-17 17:30 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: spam2 at rhsoft dot net Assigned: krakjoe (profile)
Status: Assigned Package: *Compile Issues
PHP Version: 7.1.1 OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2017-02-16 11:55 UTC] spam2 at rhsoft dot net
* make prof-clean
* run profile code with intermediate binary
* make prof-clean
* make prof-use

normally the binary is noticeable slower which is true for the whole PHP 7.0.x series

PHP 7.1.0RC6 was larger
PHP 7.1.0GA as expected
PHP 7.1.1 was larger
PHP 7.1.2RC was as expected
PHP 7.1.2GA is again larger

-rwxr-xr-x 1 root root 4,9M 2017-02-01 14:16 /usr/bin/php

7.1.2 GA:
-rwxr-xr-x 1 root root 5,4M 2017-02-16 12:41 /usr/bin/php

while the whole buildoutputs look OK (-fprofile-use in the second make) inluding the outputs and logs of the profiling scripts running our webapplication the size difference is very similar to a non PGO build and when it changes randomly between each upstream tarball it leaves a bad taste

the release process is broken by design - in the rest of the world the last RC-tarball is just renamed and there are no commits between RC and GA release


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-02-16 12:05 UTC] spam2 at rhsoft dot net
- noticeable slower which is true for the whole PHP 7.0.x series
+ noticeable smaller which is true for the whole PHP 7.0.x series
 [2017-02-17 17:30 UTC]
-Assigned To: +Assigned To: krakjoe
 [2017-02-17 17:30 UTC]
Joe, could you please have a look at this issue?
 [2017-07-30 11:32 UTC] spam2 at rhsoft dot net
7.1.8RC1 suffers from the same problem and NOW with 7.1.9-dev;a=snapshot;h=c48c638aeb130134345c7f5a7fd843f14ffb7e73;sf=tgz binary sizes are down to noraml values again - so nigle char in the build scripts changed

-rwxr-xr-x 1 root root 4,4M 2017-07-21 14:06 /usr/bin/php
-rwxr-xr-x 1 root root 4,3M 2017-07-21 14:06 /usr/lib64/httpd/modules/

-rwxr-xr-x 1 root root 3,9M 2017-07-30 13:15 /usr/bin/php
-rwxr-xr-x 1 root root 3,9M 2017-07-30 13:15 /usr/lib64/httpd/modules/

the sizes are in general lower than in the initial report because more extensions are built shared but you can clearly see the difference above

compared to PHP 7.0.21 below (exactly same build config) 7.1 is no longer that bloated and given that binaries are always stripped (strip -s --strip-unneeded) at the end of the rpmbuild i really have no idea what's going on here

-rwxr-xr-x 1 root root 3,7M 2017-07-05 18:27 /usr/lib64/httpd/modules/
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC