Closed nono303 closed 6 years ago
I've overridden problematic dependencies with MSVC 15.7 and without /GL & /LTCG ones: and it's works ;)
the 4 deps are available @ https://github.com/nono303/phpwin-perfbuild/tree/php-7.2.6/vc15/x64/deps & https://github.com/nono303/phpwin-perfbuild/tree/php-7.2.6/vc15/x86/deps
fyi, php 7.2.6 bench results with Zend/micro_bench.php give an average of 4.595 for unoptimized build and 4.169 for /GL & /LTCG one
Thanks for the report. We didn't switch to 15.7 for the official builds yet because of some other compatibility issues. It's going to be upgraded after the test phase. Of course any dep issues are going to be fixed, too.
Regarding performance - do you have benchmarks with some real apps? For the builds from windows.php.net /LTCG is used for the PGO builds, too. Did you use PGO as well? It would probably make sense to describe in some more detail the methodology of your test. Synthetic benchmarks are often not representative, what matters are the real apps where one wants to see the effect.
Thanks.
@weltling
In truth, i play with php compilation for fun & knowledge ^^
Upgraded dependencies have been put into staging, so the issue is fixed now.
Thanks.
@weltling Thanks! All sounds good with php-sdk-2.1.7 and php-7.2.8 ;) fyi, find attached my phpsdk-local.bat & output.log phpsdk-local.bat.txt x64_TS-0_LTCG-1_20180724-111549.log
Hi, @weltling fyi, same problem with MSVC 15.8 update. I've uploaded x86 & x64 15.8 build deps on https://github.com/nono303/phpwin-perfbuild/tree/php-7.2.9
Hi, Since MSVC 15.7 update, I can't anymore build with Link-time Code Generation Ex.
fatal error C1047: Le fichier objet ou le fichier bibliothèque 'C:\php72-sdk\phpmaster\vc15\x86\deps\lib\libiconv_a.lib' a été créé à l'aide d'un compilateur antérieur à celui d'autres objets ; régénérez les objets et bibliothèques obsolètes
libiconv_a.lib(iconv1.obj) : .netmodule ou module MSIL compilé avec /GL trouvé ; redémarrage de l'édition de liens avec /LTCG ; ajoutez /LTCG à la ligne de commande de l'édition de liens pour améliorer les performances de l'Éditeur de liens
For details about MSVC version, here are
Do you think it would be possible to update libiconv and freetype dependencies build either with:
Don't hesitate to come back to me if needed.