编译工具链和编译构建这块的问题请强哥和 牡丹帮忙解答一下
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目前是否支持RISCV64的CPU架构编译?我们尝试移植OpenHarmonyOS到我们自己的RISCV64 架构的开发板上遇到如下问题?需要请教!
1. Clang的llvm-objcopy编译javascript为obj文件时,生成的ELF格式是soft-float ABI的,有什么办法编译为double-float ABI么?由于CLANG toolchain的obj和so库都是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.iomailto:contact@openharmony.io