编译工具链和编译构建这块的问题请强哥和 牡丹帮忙解答一下

 

 

From: Deon Zhang via dev [mailto:dev@openharmony.io]
Sent: Wednesday, March 8, 2023 10:39 AM
To: dev@openharmony.io
Subject: [Dev] Does the openharmony support arch riscv64 now?

 

HarmonyOS,

 

      关于OpenHarmonyOS目前是否支持RISCV64CPU架构编译?我们尝试移植OpenHarmonyOS到我们自己的RISCV64 架构的开发板上遇到如下问题?需要请教!

 

  1. Clangllvm-objcopy编译javascriptobj文件时,生成的ELF格式是soft-float ABI的,有什么办法编译为double-float ABI么?由于CLANG toolchainobjso库都是double-float类型,链接会出错,详细错误信息如下:

[OHOS ERROR] ld.lld: error: obj/developtools/syscap_codec/napi/query_syscap.o: cannot link object files with different floating-point ABI

 

  1. 编译btframework模块时,提示

[OHOS ERROR] Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi)

  遇到如上两个问题,google上搜索了很久,也没有找到解决方法,社区大家有没有遇到这些问题,寻求帮助,感谢!!!

 

Regards,

Deon


From: Deon Zhang
Sent: Wednesday, February 8, 2023 3:04 PM
To: contact@openharmony.io <contact@openharmony.io>
Cc: Jerry Zhang <jerry@siliconwaves.com>
Subject: Does the openharmony support arch riscv64 now?

 

您好,

      我们研发部门想移植我们的OpenharmonyOS到我们的riscv64架构的芯片主板上?目前OpenharmonyOS支持riscv64 cpu架构么? 如果不支持,需要那些技术支持去做?有那些工作需要做?

          我们是OpenharmonyOS的支持者,希望得到移植最新开源架构risc64的技术支持,衷心感谢!

 

Regards,

Deon