Bug #74107 [Com]: PGP builds and size

From: Date: Sun, 30 Jul 2017 11:32:20 +0000
Subject: Bug #74107 [Com]: PGP builds and size
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210417@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74107&edit=1 ID: 74107 Comment by: spam2 at rhsoft dot net Reported by: spam2 at rhsoft dot net Summary: PGP builds and size Status: Assigned Type: Bug Package: *Compile Issues PHP Version: 7.1.1 Assigned To: krakjoe Block user comment: N Private report: N New Comment: 7.1.8RC1 suffers from the same problem and NOW with 7.1.9-dev https://git.php.net/?p=php-src.git;a=snapshot;h=c48c638aeb130134345c7f5a7fd843f14ffb7e73;sf=tgz binary sizes are down to noraml values again - so nigle char in the build scripts changed 7.1.8RC1 -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/libphp7.so 7.1.9-dev -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/libphp7.so 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 7.0.21: -rwxr-xr-x 1 root root 3,7M 2017-07-05 18:27 /usr/lib64/httpd/modules/libphp7.so Previous Comments: ------------------------------------------------------------------------ [2017-02-17 17:30:30] cmb@php.net Joe, could you please have a look at this issue? ------------------------------------------------------------------------ [2017-02-16 12:05:20] 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-16 11:55:24] spam2 at rhsoft dot net Description: ------------ * 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 7.1.2RC1: -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 BTW: 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74107&edit=1

« previous php.bugs (#210417) next »