Created attachment 439038 [details] Complete build.log Try to compile php 7.0.7-r1 in my system regulary take this error - In file included from /var/tmp/portage/dev-lang/php-7.0.7-r1/work/sapis-build/apache2/Zend/zend.h:341:0, from /var/tmp/portage/dev-lang/php-7.0.7-r1/work/sapis-build/apache2/Zend/zend_execute.c:28: /var/tmp/portage/dev-lang/php-7.0.7-r1/work/sapis-build/apache2/Zend/zend_vm_execute.h: In function ‘ZEND_SUB_SPEC_TMPVAR_TMPVAR_HANDLER’: /var/tmp/portage/dev-lang/php-7.0.7-r1/work/sapis-build/apache2/Zend/zend_operators.h:600:2: error: ‘asm’ operand has impossible constraints __asm__( ^ Makefile:951: recipe for target 'Zend/zend_execute.lo' failed make: *** [Zend/zend_execute.lo] Error 1 * ERROR: dev-lang/php-7.0.7-r1::gentoo failed (compile phase): * emake failed Similar error found on https://bugs.php.net/bug.php?id=69896 but for other version of php and gcc
I think this was fixed a while ago, and all versions of php in the tree should work with hardened (because I use hardened). Can you please check, so that we can close this?
Oh, right, I worked on the fix: https://github.com/php/php-src/pull/2057 The fix was ultimately just to disable some custom assembly on gcc-4.9. *** This bug has been marked as a duplicate of bug 571658 ***