This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] PROCESSOR-SDK-AM62X:GNU AArch64编译器中的链接器错误

Guru**** 2470830 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1467430/processor-sdk-am62x-linker-bug-in-gnu-aarch64-compiler

器件型号:PROCESSOR-SDK-AM62X

工具与软件:

我正在为 AM62X 和 AM62D SoC 开发软件、在集成 A53的第三方库期间、我遇到了一些链接器问题。

 

linker stubs: file class ELFCLASSNONE incompatible with ELFCLASS64

final link failed: file in wrong format
 

我发现这是一个与编译器标志不匹配相关的已知工具链问题:
-mfix-cortex-A53-835669
-mfix-cortex-A53-843419

这些标志在 MCU SDK 中用于这两个 SDK、但在对其进行说明后、我可以看到只有 A53内核的早期修订版才会受到影响。

我想问您是否能够确认 SoC AM6254和 XAM62D24确实受到了此问题的影响。