IBM Support

LI76234: GENERATED EXECUTABLE FAILS TO RUN AT -O5

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Compilation at -O5 optimization results in the generation of an
    executable that hanges at run-time.
    

Local fix

  • Use a lower optimization level.
    

Problem summary

  • PROBLEM DESCRIPTION:
    A runtime failure (incorrect results, seg faults, or hang) is
    encountered due to incorrect aliasing.
    
    USERS AFFECTED:
    Users who compile at -O5 optimization.
    

Problem conclusion

  • The problem occurs when there is a call in the code to a known
    library functions which returns an address with the value of
    one of the address argument, the compiler may miss the link of
    these two pointers and get their aliasing wrong. The fix is to
    link these kinds of pointers, and thus their aliasing. The
    performance impact should be minimal.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI76234

  • Reported component name

    XL C/C++ SLES10

  • Reported component ID

    5724U8300

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-10

  • Closed date

    2011-06-10

  • Last modified date

    2011-06-10

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

    IZ87170

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

Fix information

  • Fixed component name

    XL C/C++ SLES10

  • Fixed component ID

    5724U8300

Applicable component levels



Document information

More support for: XL C/C++

Software version: A.1

Reference #: LI76234

Modified date: 10 June 2011