跳转至内容
  • 版块
  • 最新
  • 标签
  • 热门
折叠
品牌标识

YunTu Forum

YTMicro.com
  1. 主页
  2. Discussion & Question
  3. YTM32B1M系列
  4. 调用lib可以中的算法函数编译失败

调用lib可以中的算法函数编译失败

已定时 已固定 已锁定 已移动 未解决 YTM32B1M系列
2 帖子 1 发布者 17 浏览
  • 从旧到新
  • 从新到旧
  • 最多赞同
登录后回复
此主题已被删除。只有拥有主题管理权限的用户可以查看。
  • XgqX 离线
    XgqX 离线
    Xgq
    编写于 最后由 编辑
    #1

    开发环境: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

    1 条回复 最后回复
    0
    • XgqX 离线
      XgqX 离线
      Xgq
      编写于 最后由 编辑
      #2

      有什么方法可以解决这个问题?

      1 条回复 最后回复
      0

    • 云途开发生态介绍

      快速上手云途开发生态

    • 云途论坛规则/Yuntu Forum Rules

      发帖前请查看

    • YT CONFIG TOOL调查问卷

      帮助改进和优化YT CONFIG TOOL,有机会抽取YTM32B1ME0 EVB哦...

    • can
      28
      demo
      23
      uds
      14
      lin stack
      13
      md14
      6
      yt-link
      6
      fbl
      5
      adc模块
      4
      Online Users
      • 登录

      • 登录或注册以进行搜索。
      • 第一个帖子
        最后一个帖子
      0
      • 版块
      • 最新
      • 标签
      • 热门