调用lib可以中的算法函数编译失败
-
开发环境:keil 5,YTM32B1MC03
问题:在项目代码中调用lib库中的函数,无法通过编译
编译结果大致意思是:因为ARM 编译属性不匹配 错误
项目之前使用的是GD32A503CC,移植到YTM32B1MC03才出现的
编译输出信息如下:
compiling osif_baremetal.c...
linking...
.\Objects\ProTemplatePTC.axf: Error: L6366E: lib_main.o attributes are not compatible with the provided attributes .
Object lib_main.o contains Build Attributes that are incompatible with the provided attributes.
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)
Tag_DSP_extension = This code was permitted to use Thumb DSP functions as an optional architecture extension above the base architecture as indicated by Tag_CPU_arch (=1)
.\Objects\ProTemplatePTC.axf: Error: L6366E: bignum.o attributes are not compatible with the provided attributes .
Object bignum.o contains Build Attributes that are incompatible with the provided attributes.
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)
Tag_DSP_extension = This code was permitted to use Thumb DSP functions as an optional architecture extension above the base architecture as indicated by Tag_CPU_arch (=1)
.\Objects\ProTemplatePTC.axf: Error: L6366E: ctr_drbg.o attributes are not compatible with the provided attributes .
Object ctr_drbg.o contains Build Attributes that are incompatible with the provided attributes.
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)
Tag_DSP_extension = This code was permitted to use Thumb DSP functions as an optional architecture extension above the base architecture as indicated by Tag_CPU_arch (=1)
.\Objects\ProTemplatePTC.axf: Error: L6366E: entropy.o attributes are not compatible with the provided attributes .
Object entropy.o contains Build Attributes that are incompatible with the provided attributes.
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)
Tag_DSP_extension = This code was permitted to use Thumb DSP functions as an optional architecture extension above the base architecture as indicated by Tag_CPU_arch (=1)
.\Objects\ProTemplatePTC.axf: Error: L6366E: rsa.o attributes are not compatible with the provided attributes .
Object rsa.o contains Build Attributes that are incompatible with the provided attributes.
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)
Tag_DSP_extension = This code was permitted to use Thumb DSP functions as an optional architecture extension above the base architecture as indicated by Tag_CPU_arch (=1)
.\Objects\ProTemplatePTC.axf: Error: L6366E: sha256.o attributes are not compatible with the provided attributes .
Object sha256.o contains Build Attributes that are incompatible with the provided attributes.
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)
Tag_DSP_extension = This code was permitted to use Thumb DSP functions as an optional architecture extension above the base architecture as indicated by Tag_CPU_arch (=1)
.\Objects\ProTemplatePTC.axf: Error: L6366E: aes.o attributes are not compatible with the provided attributes .
Object aes.o contains Build Attributes that are incompatible with the provided attributes.
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)
Tag_DSP_extension = This code was permitted to use Thumb DSP functions as an optional architecture extension above the base architecture as indicated by Tag_CPU_arch (=1)
.\Objects\ProTemplatePTC.axf: Error: L6366E: md.o attributes are not compatible with the provided attributes .
Object md.o contains Build Attributes that are incompatible with the provided attributes.
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)
Tag_DSP_extension = This code was permitted to use Thumb DSP functions as an optional architecture extension above the base architecture as indicated by Tag_CPU_arch (=1)
.\Objects\ProTemplatePTC.axf: Error: L6366E: platform_util.o attributes are not compatible with the provided attributes .
Object platform_util.o contains Build Attributes that are incompatible with the provided attributes.
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)
Tag_DSP_extension = This code was permitted to use Thumb DSP functions as an optional architecture extension above the base architecture as indicated by Tag_CPU_arch (=1)
.\Objects\ProTemplatePTC.axf: Error: L6366E: rsa_internal.o attributes are not compatible with the provided attributes .
Object rsa_internal.o contains Build Attributes that are incompatible with the provided attributes.
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)
Tag_DSP_extension = This code was permitted to use Thumb DSP functions as an optional architecture extension above the base architecture as indicated by Tag_CPU_arch (=1)
.\Objects\ProTemplatePTC.axf: Error: L6366E: md_wrap.o attributes are not compatible with the provided attributes .
Object md_wrap.o contains Build Attributes that are incompatible with the provided attributes.
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)
Tag_DSP_extension = This code was permitted to use Thumb DSP functions as an optional architecture extension above the base architecture as indicated by Tag_CPU_arch (=1)
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 57 information, 0 warning and 11 error messages.
".\Objects\ProTemplatePTC.axf" - 11 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:05
快速上手云途开发生态
发帖前请查看
帮助改进和优化YT CONFIG TOOL,有机会抽取YTM32B1ME0 EVB哦...