AR# 58107

|

14.7 SDK BSP - compiling standalone BSP with armcc compiler fails

描述

Compiling Standalone BSP with the ARM compiler fails with the following error:

make all 
'Building target: HelloWorld.axf'
'Invoking: ARM Linker'
armlink --cpu=Cortex-A9 --fpu=vfpv3_fp16 --info=sizes -o "HelloWorld.axf" ./helloworld.o ./platform.o C:/Users/user/Documents/DS-5_Exp6/ZynqBsp/Debug/ZynqBsp.lib
Error: L6218E: Undefined symbol mfcpsr (referred from xil_cache.o).
Finished: 0 information, 0 warning and 1 error messages.
make: *** [HelloWorld.axf] Error 1

Is there a work-around for this issue?

解决方案

This is a known issue.

To work around the problem, download the patch attached at the end of this answer record and follow the instructions below:

EDK:

Unzip the contents of the zip file and replace the xpseudo_asm_rvct.c and xpseudo_asm_rvct.h files in
<EDK Install Directory>\sw\lib\bsp\standalone_v3_11_a\src\cortexa9\armcc

Standalone SDK:

Unzip the contents of the zip file and replace the xpseudo_asm_rvct.c and xpseudo_asm_rvct.h files in
<SDK Install Directory>\sw\lib\bsp\standalone_v3_11_a\src\cortexa9\armcc

附件

文件名 文件大小 File Type
AR58107.zip 4 KB ZIP
AR# 58107
日期 06/16/2014
状态 Active
Type 已知问题
器件
Tools
People Also Viewed