Bug #69896 [Csd]: zend_operators.h:685:2: error: 'asm' operand has impossible constraints
| From: | fh-phpbugs at fholzhauer dot de | Date: | Sun, 02 Aug 2015 19:25:28 +0000 |
| Subject: | Bug #69896 [Csd]: zend_operators.h:685:2: error: 'asm' operand has impossible constraints | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-194908@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69896&edit=1
ID: 69896
User updated by: fh-phpbugs at fholzhauer dot de
Reported by: fh-phpbugs at fholzhauer dot de
Summary: zend_operators.h:685:2: error: 'asm' operand has
impossible constraints
Status: Closed
Type: Bug
Package: Compile Failure
Operating System: Ubuntu Linux - Trusty 14.04.1
PHP Version: 7.0.0beta2
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
I can also confirm that the new patch fixes the problem for me.
Previous Comments:
------------------------------------------------------------------------
[2015-08-02 15:32:58] ab@php.net
@clicky, hm, I don't reproduce it, fetched a fresh stretch iso just now. Tried with your
description in #69765 as well. Another way to keep asm for 4.8 could be maybe removing
--with-layout=GNU, as I've observed. But either way, no issue with gcc 4.9 for me.
Ondrej, can you check as well please?
Thanks.
------------------------------------------------------------------------
[2015-08-02 11:02:37] clicky at erebot dot net
The build is still broken for me on Debian Stretch 64 bits (gcc version 4.9.2 (Debian 4.9.2-10)).
Using the attached patch did not fix the issue (obviously, since the patch is specifically targetted
towards GCC 4.8.x).
It only triggers when building a 32 bits version of PHP.
------------------------------------------------------------------------
[2015-08-02 07:50:18] ab@php.net
Thanks for the checks, Remi. So the part is broken at least in two distros. Probably fair enough to
disable for all i386 gcc-4.8 as no guarantee what happens elsewhere.
Thanks.
------------------------------------------------------------------------
[2015-08-02 07:31:37] ab@php.net
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ee2e1691080dad2a3110107dd8bd02ee23b41fa0
Log: Fixed bug #69896 'asm' operand has impossible constraints
------------------------------------------------------------------------
[2015-08-02 06:11:10] remi@php.net
I didn't encounter this issue, mostly because I don't have any gcc 4.8 / 32bits target ;)
Fedora use gcc 4.9 or 5.1
RHEL 6 use gcc 4.4
RHEL 7 use gcc 4.8 but is 64bits only.
So I run some test builds
Fedora 18 (gcc 4.7.2): build ok
Fedora 20 (gcc 4.8.3): same error, fixed by the proposed patch
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=69896
--
Edit this bug report at https://bugs.php.net/bug.php?id=69896&edit=1