IBM Support

LI77969: STABSTRING TYPES NOT DEFINED ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Linking with -bstabcmpct:2 -bweaklocal, the linker complains
    that certain stabstring types are not defined.
    
    /usr/bin/ld -r -o fake.o -bstabcmpct:2 -bweaklocal a.o b.o
    
    ld: 0711-393 STABSTRING ERROR: Symbol table entry 18940, object
    file libtest.a[a.o]
            A stabstring refers to type 1308, which is not defined.
    ld: 0711-393 STABSTRING ERROR: Symbol table entry 19424, object
    file libtest.a[b.o]
            A stabstring refers to type 1310, which is not defined.
    

Local fix

  • Switch the order of the object file in the link step. i.e.
    
    /usr/bin/ld -r -o fake.o -bstabcmpct:2 -bweaklocal b.o a.o
    

Problem summary

  • PROBLEM DESCRIPTION: Linker did not find the type for global
    debug stabstring
    
    USERS AFFECTED: User who defined the static variable in the
    weak function and this weak function was defined in different
    files.
    

Problem conclusion

  • Promote the scoped type info to the global symbol's csect who
    referenced this type info.
    
    The problem is fixed now.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77969

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5725C7300

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-04-30

  • Closed date

    2014-04-30

  • Last modified date

    2014-04-30

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

    IV56216

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

Fix information

  • Fixed component name

    XL C/C++ FOR LI

  • Fixed component ID

    5725C7300

Applicable component levels

  • RC10 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
16 October 2021