Keil Logo

ARMCLANG: L6776W: Debug Frame Does Not Describe Executable Section


Information in this knowledgebase article applies to:

  • MDK-ARM v 5.26 and older
  • Arm Compiler 6 (Armclang) v 6.10 and older

ISSUE

Building a project using Arm Compiler 6 produces this linker message:

 Warning: L6776W: The debug frame ... does not describe an executable section

CAUSE

Optimization is done by the Compiler. The Linker resolves references to objects, and removes unused or duplicated code, to reduce the overall code size. The Linker also includes debug information for the objects it links.

Currently, when the linker resolves a duplicate code reference for an executable section, it may leave in debug information (called a debug frame) for this removed duplicate section. This warning at the end of linking identifies the debug frame that no longer describes anything.

RESOLUTION

This is safe to ignore. The only symptom is a bigger debug portion of the AXF file, since the linker did not optimize out the duplicate debug information.

This issue was fixed in Arm Compiler 6 (Armclang) Version 6.11, released October 25, 2018. This will be a part of the next MDK release. Other workarounds are:

  • Update the compiler See Application Note 267:Update Arm compilation tools without updating MDK
  • Increase the optimization level: If the compiler has optimization level -O0, it will not remove duplicate references. At higher optimization levels (for example, -O2), these references may be optimized before they reach the linker, removing a duplicate entry, and therefore removing the cause of this warning.
  • Ignore it: - In µVision, under Project -> Options For Target -> on the top right of the Linker tab, next to disable Warnings, type L6776 in the box and click OK.

STATUS

Fixed in MDK v5.27.

MORE INFORMATION

SEE ALSO

Last Reviewed: Monday, February 4, 2019


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.