主题中讨论的其他器件:TMS320F280049C
您好!
因此、我遇到了链接器提出以下错误的问题:
Building target: "f280049c-application.out" Invoking: C2000 Linker "C:/ti/ccs1031/ccs/tools/compiler/ti-cgt-c2000_22.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -O2 --opt_for_speed=2 --fp_mode=relaxed --advice:performance=all OMITTED THE REST OF BUILD OPTIONS FOR PRIVACY <Linking> error #10457-D: Use of variable-length arrays is not thread-safe. error #10010: errors encountered during linking; "f280049c-application.out" not built remark #10205-D: automatic RTS selection: linking in "rts2800_fpu32_eabi.lib" in place of index library "libc.a" FILE: f280049c-application.out CODE size (bytes): 79123 CONST size (bytes): 17016 DATA size (bytes): 20489 >> Compilation failure
此 "错误#10457-D:可变长度数组的使用不安全线程。" Error 没有指向问题数组可能所在位置的进一步上下文。 我还使用了 LDRA 静态分析工具来尝试和找到它、但是我找不到任何与可变长度数组相关的错误。
我正在构建:
C2000 CGT v20.2.5 LTS、
CCS v10.3.1
TMS320F280049C 的构建
我还尝试了使用 v20.2.7 LTS、20.12.0 STS 和22.6.0 LTS 执行编译。 但是、该错误仍然存在。
有人知道这里会发生什么吗?
1.如何从链接器中提取更多信息来告诉我产生此错误的确切原因?
2.这是 工具链 错误吗? 我找到了以下有关类似问题的论坛文章和错误报告:
https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/829820/compiler-tm4c129cnczad-arm-18-12-3-linker-now-produces-error-10457-d-use-of-variable-length-arrays-is-not-thread-safe
https://sir.ext.ti.com/jira/browse/EXT_EP-9517