|  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: 2021-03-14 04:22 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: spam2 at rhsoft dot net Assigned: cmb (profile)
Status: No Feedback Package: *Compile Issues
PHP Version: 7.1.1 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: spam2 at rhsoft dot net
New email:
PHP Version: OS:


 [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/
 [2021-03-04 12:56 UTC]
-Status: Assigned +Status: Feedback -Assigned To: krakjoe +Assigned To: cmb
 [2021-03-04 12:56 UTC]
So, has this been resolved, or did the binary sizes increase
 [2021-03-14 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue May 11 06:01:24 2021 UTC