IBM Support

LI77268: DWARF ERROR MANGLED LINE NUMBER GPROF MESSAGE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • gprof issues multiple error message regarding bad dwarf file
    number
    
    BFD: Dwarf Error: mangled line number section (bad file
    number).
    BFD: Dwarf Error: mangled line number section (bad file
    number).
    BFD: Dwarf Error: mangled line number section (bad file
    number).
    
    The problem affects the users invoking compiler options -pg
    together with -O2.
    

Local fix

  • Pre-process the source file to .i file first or use -O2
    together with -g8 or -g only.
    

Problem summary

  • gprof complains about bad dwarf file number
    

Problem conclusion

  • The compiler no longer generates bad file number for optimized
    out variables, so that gprof does not issue messages.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77268

  • Reported component name

    XL C/C++ FOR BG

  • Reported component ID

    5799AG100

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-04-02

  • Closed date

    2013-05-29

  • Last modified date

    2013-05-29

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

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

    IV44281 LI77671 LI77678

Fix information

  • Fixed component name

    XL C/C++ FOR BG

  • Fixed component ID

    5799AG100

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS2LWA","label":"XL C\/C++ for Blue Gene\/Q"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1","Edition":"","Line of Business":{"code":"LOB73","label":"Power TPS"}}]

Document Information

Modified date:
05 September 2024