321 Star 490 Fork 361

Huawei LiteOS / LiteOS_Studio

 / 详情

工程里增加了AI模型代码,LitesOS_Studio编译出现错误

待办的
创建于  
2022-10-30 16:54

该问题是怎么引起的?

工程里增加了AI模型代码,LitesOS_Studio编译出现错误

重现步骤

demos->ai下增加了AI模型代码,组件配置->Demos->Ai Demo,使能了 Ai demo,然后一直出现在线组件配置中,直接编译,出现以下报错信息。

报错信息

arm-none-eabi-ld: warning: C:\Users\Administrator.huawei-liteos-studio\tools\arm-none-eabi/lib/gcc/arm-none-eabi/9.2.1/thumb/v7e-m+fp/softfp\libgcc.a(_udivmoddi4.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(pack.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(pack.o)
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(softmax.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(softmax.o)
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(conv_int8.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(conv_int8.o)
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(matmul_int8.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(matmul_int8.o)
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(pooling_int8.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(pooling_int8.o)
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(quant_dtype_cast.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(quant_dtype_cast.o)
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(common_func.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(common_func.o)
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(winograd_transform.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(winograd_transform.o)
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(fixed_point.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(fixed_point.o)
make: *** [Makefile:78: Huawei_LiteOS] Error 1

评论 (0)

bingxingshengge 创建了任务

登录 后才可以发表评论

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

搜索帮助