IBM Support

LI74352: 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

    LI74352

  • 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

    2009-03-31

  • Closed date

    2009-03-31

  • Last modified date

    2009-03-31

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

    LI74197

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

    LI74421

Fix information

  • Fixed component name

    XL C/C++ SLES10

  • Fixed component ID

    5724U8300

Applicable component levels

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A.1","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
17 October 2021