IBM Support

LI74197: Compiler failure: non-specific diagnostic

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Some C++ programs can cause the compiler to fail without giving
    a meaningful error message.
    
    e.g.:
    $ xlC_r -c tc.cxx
    1540-0505 (S) The build failed and there are no messages.
    1540-0527 (I) The build failure may be because of an Internal
    Compiler Error or because a tool failed to generate a message.
    $
    

Local fix

  • N/A
    

Problem summary

  • Clients who are on Linux based platforms using not-in-charge
    ctors and dtors (ie bg, cbe, etc), and allowing friend access
    to private or protected membervariables in a class are affected
    by this issue.
    
    In such cases. the compiler fails with no message, and no
    indication of what's wrong.
    

Problem conclusion

  • The compiler has been fixed by changing the friend access lookup
    to properly handly not-in-charge ctors and dtors in Linux.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI74197

  • Reported component name

    XL C/C++ AE BG/

  • Reported component ID

    5799HJE00

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-02-13

  • Closed date

    2009-03-20

  • Last modified date

    2009-03-20

Fix information

  • Fixed component name

    XL C/C++ AE BG/

  • Fixed component ID

    5799HJE00

Applicable component levels

  • R900 PSY

       UP



Document information

More support for: XL C/C++
Compiler

Software version: 9.0

Reference #: LI74197

Modified date: 20 March 2009


Translate this page: