IBM Support

LI76880: DWARF ERROR: MANGLED LINE NUMBER SECTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Incorrect Dwarf debug information was being generated for an
    executable that resulted in "Dwarf Error: mangled line number
    section" when debugging the executable with certain debug tools
    such as addr2line.
    

Local fix

  • n/a
    

Problem summary

  • USER AFFECTED:
    Users compiling a program with -g and using the addr2line tool
    on the resulting object/executable.
    
    PROBLEM DESCRIPTION:
    The addr2line tool issues an error message related to bad file
    number:
    'BFD: Dwarf Error: mangled line number section (bad file
    number).'
    This was because the compiler was generating an incorrect line
    number mapping for
    DWARF debug information.
    

Problem conclusion

  • Fixed the line number mapping when we generate the DWARF
    debugging information.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI76880

  • Reported component name

    XL C/C++ SLES10

  • Reported component ID

    5724U8300

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-07-16

  • Closed date

    2012-07-16

  • Last modified date

    2012-07-16

  • APAR is sysrouted FROM one or more of the following:

    LI74723

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    XL C/C++ SLES10

  • Fixed component ID

    5724U8300

Applicable component levels

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A.1","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
16 October 2021