Edit report at https://bugs.php.net/bug.php?id=75951&edit=1
ID: 75951
Comment by: danack@php.net
Reported by: serghei at phalconphp dot com
Summary: The 'asm goto' constructs are not supported by LLVM
Status: Open
Type: Bug
Package: *General Issues
Operating System: Linux
PHP Version: master-Git-2018-02-11 (Git)
Block user comment: N
Private report: N
New Comment:
The asm goto is wrapped inside a #if defined(HAVE_ASM_GOTO)
Asking a project to avoid using a construct to support a particular compiler is unlikely to get the
result you want.
You (or someone else) who cares about compiling on LLVM would be better off asking for (or even
better submitting) a patch to the build configuration to stop HAVE_ASM_GOTO being defined for the
LLVM compiler.
Previous Comments:
------------------------------------------------------------------------
[2018-02-11 13:05:32] serghei at phalconphp dot com
There are a few places with code like __asm__ goto. For example Zend/zend_operators.h:532
__asm__ goto(
"decq (%0)\n\t"
"jo %l1\n"
:
: "r"(&op1->value)
: "cc", "memory"
: overflow);
return;
Please avoid using 'asm goto' as it not supported by LLVM.
Refs: https://bugs.llvm.org/show_bug.cgi?id=9295
------------------------------------------------------------------------
[2018-02-11 12:53:10] serghei at phalconphp dot com
Description:
------------
There is a few places with code like __asm__ goto. For example
Zend/zend_operators.h:532
```
__asm__ goto(
"decq (%0)\n\t"
"jo %l1\n"
:
: "r"(&op1->value)
: "cc", "memory"
: overflow);
return;
```
Please avoid using asm goto as it not supported by LLVM.
Refs: https://bugs.llvm.org/show_bug.cgi?id=9295
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75951&edit=1