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# 45110

13.3 EDK - Building C-code in SDK results in "ld.exe: BFD 2.16 assertion fail" error

描述

I receive the following errorwhen building my C-code in SDK:

"\xilinx\13.3\sdk\sdk\gnu\microblaze\nt64\bin\..\lib\gcc\microblaze-xilinx-elf\4.1.2\..\..\..\..\microblaze-xilinx-elf\bin\ld.exe: BFD 2.16 assertion fail /proj/epdsw/gnu/mb_gnu/src/binutils/bfd/dwarf2.c:2058"

解决方案

This error is related to debugging information in the assembler.

A work-around is to change the debugging level in SDK to "g1" or "none" by performing the following steps:

  1. Right-click on your application.
  2. Click on C/C++ Build Settings.
  3. From the "Tool Settings" tab, select MicroBlaze gcc compiler -> Debugging.
  4. Set the Debug level to "g1" or "none".
Alternatively, this issue is not seen on Linux systems. Therefore, you can use a support Linux OS instead.
AR# 45110
日期 12/15/2012
状态 Active
Type 综合文章
Tools
  • EDK - 13.3
的页面