Bug #80939 [Opn->Csd]: error: 'asm goto' constructs are not supported yet

[email protected] ("nbennett25 at yahoo dot com")
Newsgroups php.pecl.dev
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=80939&edit=1

 ID:                 80939
 User updated by:    nbennett25 at yahoo dot com
 Reported by:        nbennett25 at yahoo dot com
 Summary:            error: 'asm goto' constructs are not supported yet
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            PECL
 Operating System:   Mac 10.15.7
 PHP Version:        7.3.27
 Block user comment: N
 Private report:     N

 New Comment:

Thx [email protected] - that did the trick. 

I had updated the Xcode cli tools using Xcode-select install via the cli, but that did *not* install the updated clang. I updated Xcode through the App Store, and clang was updated to 12.x, and the xdebug install worked as expected.


Previous Comments:
------------------------------------------------------------------------
[2021-04-06 18:56:03] [email protected]

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.

------------------------------------------------------------------------
[2021-04-06 18:54:10] [email protected]

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/[email protected]/7.3.26/include/php/Zend/zend_operators.h:486:10: error: 'asm goto' constructs are not supported yet
        __asm__ goto(
                ^
/usr/local/Cellar/[email protected]/7.3.26/include/php/Zend/zend_operators.h:536:10: error: 'asm goto' constructs are not supported yet
        __asm__ goto(
                ^
/usr/local/Cellar/[email protected]/7.3.26/include/php/Zend/zend_operators.h:593:10: error: 'asm goto' constructs are not supported yet
        __asm__ goto(
                ^
/usr/local/Cellar/[email protected]/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 [email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.