IBM Support

IZ92711: SEGMENTATION FAULT PROBLEM AT -O2

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The application compiled and linked with -O (-O2) is crashing,
    it works OK with noopt.
    

Local fix

  • N/A
    

Problem summary

  • PROBLEM DESCRIPTION: With optimization, a segmentation
    Violation in the first call after returning from a function
    that used floating point and called a shared library function
    also using floating point.
    
    USERS AFFECTED: AIX users of shared libraries built with
    twolink and with the default of exporting everything.
    

Problem conclusion

  • Use -qxflag=no_restfn if affected by the problem.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ92711

  • Reported component name

    XLC C++ AIX

  • Reported component ID

    5724M1200

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-01-20

  • Closed date

    2011-05-11

  • Last modified date

    2011-05-12

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

    IZ67430

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

Fix information

  • Fixed component name

    XLC AIX

  • Fixed component ID

    5724M1100

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":"8.0"}]

Document Information

Modified date:
06 October 2021