IBM Support

LI74723: 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

    LI74723

  • Reported component name

    XL C/C++ AE BG/

  • Reported component ID

    5799HJE00

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-07-21

  • Closed date

    2010-01-12

  • Last modified date

    2010-01-12

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

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

    LI75685 LI76880 LI76899

Fix information

  • Fixed component name

    XL C/C++ AE BG/

  • Fixed component ID

    5799HJE00

Applicable component levels

  • R900 PSY

       UP



Document information

More support for: XL C/C++
Compiler

Software version: 9.0

Reference #: LI74723

Modified date: 12 January 2010


Translate this page: