<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[调用lib可以中的算法函数编译失败]]></title><description><![CDATA[<p dir="auto">开发环境：keil 5,YTM32B1MC03<br />
问题：在项目代码中调用lib库中的函数，无法通过编译<br />
编译结果大致意思是：因为ARM 编译属性不匹配 错误<br />
项目之前使用的是GD32A503CC，移植到YTM32B1MC03才出现的<br />
编译输出信息如下：<br />
compiling osif_baremetal.c...<br />
linking...<br />
.\Objects\ProTemplatePTC.axf: Error: L6366E: lib_main.o attributes are not compatible with the provided attributes .<br />
Object lib_main.o contains Build Attributes that are incompatible with the provided attributes.<br />
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)<br />
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)<br />
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)<br />
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)<br />
.\Objects\ProTemplatePTC.axf: Error: L6366E: bignum.o attributes are not compatible with the provided attributes .<br />
Object bignum.o contains Build Attributes that are incompatible with the provided attributes.<br />
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)<br />
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)<br />
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)<br />
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)<br />
.\Objects\ProTemplatePTC.axf: Error: L6366E: ctr_drbg.o attributes are not compatible with the provided attributes .<br />
Object ctr_drbg.o contains Build Attributes that are incompatible with the provided attributes.<br />
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)<br />
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)<br />
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)<br />
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)<br />
.\Objects\ProTemplatePTC.axf: Error: L6366E: entropy.o attributes are not compatible with the provided attributes .<br />
Object entropy.o contains Build Attributes that are incompatible with the provided attributes.<br />
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)<br />
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)<br />
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)<br />
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)<br />
.\Objects\ProTemplatePTC.axf: Error: L6366E: rsa.o attributes are not compatible with the provided attributes .<br />
Object rsa.o contains Build Attributes that are incompatible with the provided attributes.<br />
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)<br />
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)<br />
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)<br />
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)<br />
.\Objects\ProTemplatePTC.axf: Error: L6366E: sha256.o attributes are not compatible with the provided attributes .<br />
Object sha256.o contains Build Attributes that are incompatible with the provided attributes.<br />
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)<br />
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)<br />
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)<br />
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)<br />
.\Objects\ProTemplatePTC.axf: Error: L6366E: aes.o attributes are not compatible with the provided attributes .<br />
Object aes.o contains Build Attributes that are incompatible with the provided attributes.<br />
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)<br />
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)<br />
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)<br />
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)<br />
.\Objects\ProTemplatePTC.axf: Error: L6366E: md.o attributes are not compatible with the provided attributes .<br />
Object md.o contains Build Attributes that are incompatible with the provided attributes.<br />
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)<br />
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)<br />
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)<br />
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)<br />
.\Objects\ProTemplatePTC.axf: Error: L6366E: platform_util.o attributes are not compatible with the provided attributes .<br />
Object platform_util.o contains Build Attributes that are incompatible with the provided attributes.<br />
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)<br />
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)<br />
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)<br />
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)<br />
.\Objects\ProTemplatePTC.axf: Error: L6366E: rsa_internal.o attributes are not compatible with the provided attributes .<br />
Object rsa_internal.o contains Build Attributes that are incompatible with the provided attributes.<br />
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)<br />
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)<br />
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)<br />
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)<br />
.\Objects\ProTemplatePTC.axf: Error: L6366E: md_wrap.o attributes are not compatible with the provided attributes .<br />
Object md_wrap.o contains Build Attributes that are incompatible with the provided attributes.<br />
Tag_FP_arch = Use of the ARM v8-A FP ISA was permitted, but only citing registers D0-D15, S0-S31 (=8)<br />
Tag_ABI_HardFP_use = This code should execute on the single-precision variant derived from Tag_FP_arch (=1)<br />
Tag_FP_HP_extension = Use of the optional half-precision extension to VFPv3/Advanced SIMDv1 was permitted (=1)<br />
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)<br />
Not enough information to list image symbols.<br />
Not enough information to list load addresses in the image map.<br />
Finished: 57 information, 0 warning and 11 error messages.<br />
".\Objects\ProTemplatePTC.axf" - 11 Error(s), 0 Warning(s).<br />
Target not created.<br />
Build Time Elapsed:  00:00:05</p>
]]></description><link>https://forum.ytmicro.com/topic/2112/调用lib可以中的算法函数编译失败</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 18:54:54 GMT</lastBuildDate><atom:link href="https://forum.ytmicro.com/topic/2112.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 11 Jul 2026 03:08:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 调用lib可以中的算法函数编译失败 on Sat, 11 Jul 2026 03:10:11 GMT]]></title><description><![CDATA[<p dir="auto">有什么方法可以解决这个问题？</p>
]]></description><link>https://forum.ytmicro.com/post/9204</link><guid isPermaLink="true">https://forum.ytmicro.com/post/9204</guid><dc:creator><![CDATA[Xgq]]></dc:creator><pubDate>Sat, 11 Jul 2026 03:10:11 GMT</pubDate></item></channel></rss>