DSP

DM6467 DSP侧算法编译错误 CCS build error: relocation over

2019-07-13 19:18发布

我在Linux中编译图像处理算法时出现类似如下错误: >> error: relocation overflow occured at address 0x00000074 in section '.text' of input file 'e: imyprojectss_testDebug est.obj'. The 21-bit relocated address 0x11238f is too large to encode in the 15-bit field. You may need to add a mask to the assembly instruction or use other target specific assembly features if you really only need the lowest 15 bits of this symbol. Please see the section on Relocation in the Assembly User's Guide. 后来发现是将ARM侧算法搬到DSP侧时,漏屏蔽了含“OSA_printf()”的一段调试程序,从而导致编译出错。