IBM Support

IZ37163: Static constructors do not execute

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • For some programs, that use runtime linking (-brtl option),
    static constructors are not run when the program starts.
    

Local fix

  • n/a
    

Problem summary

  • A program affected by this problem has the following properties:
    1. the program uses -binitfini to identify an initialization
       function and that function calls loadAndInit() (or dlopen()).
    2. the internal tables that keep track of static
       initialization need to grow in size to handle the
       initialization of library being loaded by the call to
       loadAndInit() from the function in 1.
    

Problem conclusion

  • The static initialization tables are now grown in this
    circumstance so that all static initializations are completed.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ37163

  • Reported component name

    XLC C++ AIX

  • Reported component ID

    5724S7100

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-11-11

  • Closed date

    2008-11-12

  • Last modified date

    2009-05-12

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

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

    LI74334 IZ39395 IZ39394

Fix information

  • Fixed component name

    XL C++ RUNTIME

  • Fixed component ID

    5724U8101

Applicable component levels

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

Document Information

Modified date:
04 October 2021