IBM Support

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

    IY96361

  • Reported component name

    VA C++ PROF FOR

  • Reported component ID

    5765F5600

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2007-03-21

  • Closed date

    2007-04-10

  • Last modified date

    2007-06-04

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

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

    IY99562

Fix information

  • Fixed component name

    VA C++ PROF FOR

  • Fixed component ID

    5765F5600

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSO198","label":"IBM Visualage C++ Professional for AIX"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
20 August 2024