IBM Support

IY99562: MEMORY FAULT WHEN USING XLC128_R AND -BRTL.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A memory fault occurs when the following C++ application is
    compiled with xlC128_r and -brtl, using the runtime shipped in
    the XL C/C++ Enterprise Edition V8.0.0.1
    
    Compile Command:
    xlC128_r -brtl test.C
    
    
    ====Start of test.C=====
    #include <unistd.h>
    
    main()
    {
      fork();
      return 0;
    }
    ====End of test.C=======
    
    Actual Output:
    Memory Fault
    
    Expected Output:
    Should not produce a Memory Fault.
    

Local fix

  • n/a
    

Problem summary

  • Users using xlC128 or xlC128_r with -brtl option to compile
    their applications are affectd by this issue.
    
    On compiling with xlC128 or xlC128_r and -brtl
    option, the application core dumps at initialization.
    

Problem conclusion

  • Some initialization code in xlC128.a is removed to allow -brtl
    to work properly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IY99562

  • Reported component name

    XLC C++ AIX

  • Reported component ID

    5724M1200

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2007-06-04

  • Closed date

    2007-06-04

  • Last modified date

    2007-09-13

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

    IY96361

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

Modules/Macros

  • MODULES/MA800 :   None
    

Fix information

  • Fixed component name

    XLC C++ AIX

  • Fixed component ID

    5724M1200

Applicable component levels

  • R800 PSN U813114

       UP07/09/13 I 1000

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGH2K","label":"XL C for AIX"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Edition":"","Line of Business":{"code":"LOB73","label":"Power TPS"}}]

Document Information

Modified date:
20 August 2024