IBM Support

IJ36340: V16.1 XLCLANG++ HITS LIBCXXABI TERMINATE WITH V17 RUNTIME

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The xlclang++ V16.1 compiler hits libc++abi terminate on AIX
    when running against the V17.1 C++ runtime.
    
    The Open XL V17.1 C/C++ ships with the new libc++.a using
    libcxxabi/libunwind. The new libc++.a is supposed to be binary
    compatible with the V16.1 libc++.a so the installation of V17.1
    compiler will upgrade the libc++.a on the system to the V17.1
    runtime if it is not already at that level.
    
    After the upgrade, clients may see the error.
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED: Users who run the v16.1 Clangtana compiler
    against the v17.1 C++ runtime on AIX
    

Problem conclusion

  • PROBLEM DESCRIPTION:
    The build compiler of the v16.1 xlclang++
    compiler front end incorrectly generates a call to
    __cxa_rethrow() instead of
    _Unwind_Resume() after the inline cleanup. As a result, when
    the v16.1 xlclang++ front end throws an exception,
    __cxa_rethrow() is called
    after the cleanup code. It then calls terminate() to abort the
    compilation
    because there does not exist a caught exception to be re-thrown.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ36340

  • Reported component name

    XL C/C++ FOR AI

  • Reported component ID

    5725C7200

  • Reported release

    H10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-12-08

  • Closed date

    2021-12-08

  • Last modified date

    2021-12-08

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

    IJ36335

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

Fix information

  • Fixed component name

    XL C/C++ FOR AI

  • Fixed component ID

    5725C7200

Applicable component levels

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

Document Information

Modified date:
09 December 2021