首页
下载
文档
社区
视频
捐赠
源代码
赞助商
AOT 编译器
AI 助理
商业产品
PHP AOT 原生编译器
Swoole-Compiler 代码加密器
CRMEB 新零售社交电商系统
登录
注册
全部
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
发表新帖
php7.4.11 编译报错
### 问题描述 /usr/local/Cellar/php/7.4.11/include/php/Zend/zend_operators.h:523:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /usr/local/Cellar/php/7.4.11/include/php/Zend/zend_operators.h:586:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /usr/local/Cellar/php/7.4.11/include/php/Zend/zend_operators.h:656:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /usr/local/Cellar/php/7.4.11/include/php/Zend/zend_operators.h:766:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ ### Swoole版本,PHP版本,以及操作系统版本信息 swoole.4.5.5 php7.4.11 macos 10.15.7 ### 相关代码 ```php 请将代码粘贴至此处(请勿用截图) ``` ### 你期待的结果是什么?实际看到的错误信息又是什么?
发布于5年前 · 4 次浏览 · 来自
提问
大海哥
### 问题描述 /usr/local/Cellar/php/7.4.11/include/php/Zend/zend_operators.h:523:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /usr/local/Cellar/php/7.4.11/include/php/Zend/zend_operators.h:586:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /usr/local/Cellar/php/7.4.11/include/php/Zend/zend_operators.h:656:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /usr/local/Cellar/php/7.4.11/include/php/Zend/zend_operators.h:766:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ ### Swoole版本,PHP版本,以及操作系统版本信息 swoole.4.5.5 php7.4.11 macos 10.15.7 ### 相关代码 ```php 请将代码粘贴至此处(请勿用截图) ``` ### 你期待的结果是什么?实际看到的错误信息又是什么?
赞
0
收藏
提问
分享
讨论
建议
公告
开发框架
CodeGalaxy
登录
后参与评论
评论
2020-10-27
鲁飞
clang编译不过,可以用gcc。 7.4.11的好几个人反馈了,可以用低版本
赞
0
回复
2020-10-27
大海哥
回复
鲁飞
具体怎么操作?请指教
赞
0
回复
2020-10-27
Rango
这是 PHP 的问题,试试更新 php 版本
赞
0
回复
2020-10-27
大海哥
回复
Rango
那就等下个php下个版本了
赞
0
回复
2021-01-07
鲁飞
解决方法参考:https://wiki.swoole.com/#/question/install?id=asm_goto
赞
0
回复