Edit report at https://bugs.php.net/bug.php?id=80939&edit=1

 ID:                 80939
 Comment by:         le...@php.net
 Reported by:        nbennett25 at yahoo dot com
 Summary:            error: 'asm goto' constructs are not supported yet
 Status:             Open
 Type:               Bug
 Package:            PECL
 Operating System:   Mac 10.15.7
 PHP Version:        7.3.27
 Block user comment: N
 Private report:     N

 New Comment:

To be clear: if you aren't on clang 12, then you need to install updates to 
xcode through the Software Update panel or whatever. I am sure there is a way 
to do it on the CLI, but I don't know what it is -- `xcode-select` does not 
have an update flag or anything like that.


Previous Comments:
------------------------------------------------------------------------
[2021-04-06 18:54:10] le...@php.net

What is the output of `clang --version`? I suspect you need to update xcode. 
Arguably there is still some bug here on PHP's side, but if your clang version 
isn't "Apple clang version 12.0.0" or newer then I suspect upgrading xcode will 
fix the problem on your side.

------------------------------------------------------------------------
[2021-04-06 18:46:22] nbennett25 at yahoo dot com

Description:
------------
php 7.3.26, installed via brew
newest version of Xcode cli tools installed
running sudo pecl install xdebug yields the following error:

/usr/local/Cellar/php@7.3/7.3.26/include/php/Zend/zend_operators.h:486:10: 
error: 'asm goto' constructs are not supported yet
        __asm__ goto(
                ^
/usr/local/Cellar/php@7.3/7.3.26/include/php/Zend/zend_operators.h:536:10: 
error: 'asm goto' constructs are not supported yet
        __asm__ goto(
                ^
/usr/local/Cellar/php@7.3/7.3.26/include/php/Zend/zend_operators.h:593:10: 
error: 'asm goto' constructs are not supported yet
        __asm__ goto(
                ^
/usr/local/Cellar/php@7.3/7.3.26/include/php/Zend/zend_operators.h:683:10: 
error: 'asm goto' constructs are not supported yet
        __asm__ goto(


Test script:
---------------
brew install php@7.3
sudo pecl install xdebug

Expected result:
----------------
sudo pecl install xdebug returns successful

Actual result:
--------------
Error returned


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=80939&edit=1

-- 
PECL development discussion Mailing List (https://pecl.php.net/)
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to