1.4K Star 7.6K Fork 1.4K

GVP方舟编译器 / OpenArkCompiler

 / 详情

新版本方舟编译器无法编译

待办的
创建于  
2024-03-01 15:46

ThirdParty库无法下载
在执行make setup的过程中,ThirdParty(commitID:7dde737d8282e23185587bce9fa1a6fcd83bb06f 2023.11.28)Gitee 中的大文件无法下载,因为gitee中的 git-lfs仅供付费企业使用。
因此使用同一天的上一次提交,commitID(commitID:de5b52feea81d080cf02eaf885f0884ba9ef9e6b 2023.11.28)的ThirdParty版本进行编译。

方舟编译器编译错误
在本地拉取最新的方舟编译器版本 (commitID:2d28f2607881b6c249c5a845fc36436a7111c456 2023年12月25日),在执行make过程中报错,提示 No member named "getIcallHintStatus" 。全局搜索代码后,无果。谷歌查询相关变量和函数,也无该方法。
make报错

构建IR时,ast文件输入hir2mpl报错
在出现舟编译器编译错误,查看报错文件ast_parser的提交历史:
在2023-11-06 commitID:557547455f2e5f25d1890c6477088e75c775de77引入该方法,此时THIRD-PARTY版本符号要求。
回退编译器版本至2023-10-30的1c13fc379346a396cf1a1eb7abbbdcaa1ac6ab45 编译器编译成功。
然而,使用hir2mpl编译mpl文件时,提示as
t content format is Non-conformance or astfile version is different from hir2mpl version。此时编译ast的clang版本为15.0.4 ,Maple FE Version : 1.0.0 1c13fc379346a396cf1a1eb7abbbdcaa1ac6ab45。
具体编译的项目为github的fzyzlibmemcached
编译的本地命令为:
/root/newMaple/OpenArkCompiler/output/aarch64-clang-release/bin/hir2mpl /share_files/talon-test-projects/newest_maple_ir/fzy/.IRGEN/ast/9b8ccdbf0857074534a341f9bd625894.ast -o /share_files/talon-test-projects/newest_maple_ir/fzy/.IRGEN/maple/9b8ccdbf0857074534a341f9bd625894.mpl --enable-variable-array
输入图片说明

评论 (0)

CR7-source 创建了任务

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(1)
C++
1
https://gitee.com/openarkcompiler/OpenArkCompiler.git
git@gitee.com:openarkcompiler/OpenArkCompiler.git
openarkcompiler
OpenArkCompiler
OpenArkCompiler

搜索帮助