UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 58107

14.7 SDK BSP - compiling standalone BSP with armcc compiler fails

Description

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?

Solution

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

Attachments

Associated Attachments

Name File Size File Type
AR58107.zip 4 KB ZIP
AR# 58107
Date Created 10/23/2013
Last Updated 06/16/2014
Status Active
Type Known Issues
Devices
  • Zynq-7000
Tools
  • EDK - 14.7