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
Date Created 11/22/2011
Last Updated 12/15/2012
Status Active
Type General Article
  • EDK - 13.3