IBM Support

PH54981: ENABLE USE OF ATTRIBUTE CONSTRUCTOR/DESTRUCTOR WITH -MNORENT

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • Enable use of attribute constructor/destructor with -mnorent
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: IBM Open XL C/C++ 1.1 users who want to use  *
    *                 clang attribute((constructor)) or            *
    *                 attribute((destructor)) when compiling with  *
    *                 -mno-rent option.                            *
    ****************************************************************
    * PROBLEM DESCRIPTION: Users who use attribute((constructor))  *
    *                      or attribute((destructor)) when         *
    *                      compiling with -mno-rent option, may    *
    *                      experience run-time crashes.            *
    ****************************************************************
    * RECOMMENDATION: Install the PTF if you use the               *
    *                 contructor|destructor attribue when          *
    *                 compiling with the -mno-rent option.         *
    ****************************************************************
    attribute((constructor)) and attribute(destructor) were
    unsupported when compiling with the -mno-rent option and
    crashes could occur if both of these features are used.
    

Problem conclusion

  • IBM is releasing a cumulative update to IBM Open XL C/C++ 1.1
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH54981

  • Reported component name

    C/C++ FOR MVS

  • Reported component ID

    56551210A

  • Reported release

    7C2

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    YesSpecatt / New Function / Xsystem

  • Submitted date

    2023-06-06

  • Closed date

    2023-08-25

  • Last modified date

    2023-11-01

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

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

    UI93306

Modules/Macros

  • CNWPHPAX CNWSNPAX
    

Fix information

  • Fixed component name

    C/C++ FOR MVS

  • Fixed component ID

    56551210A

Applicable component levels

  • R7C2 PSY UI93306

       UP23/10/03 P F310  

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSTLTF","label":"z\/OS XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7C2","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
01 November 2023