IBM Support

LI81577: COMPILE USING -MD -MMD WITH -O DEPENDENCY FILES 19 CHARS AS OBJECT FILE NAME CRASH THE COMPILE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The driver did not preallocate a large
    enough buffer when building the string
    for -MF option which is added by
    driver
    when -MD or -MMD is used.
    

Local fix

  • Change the length of object file name to any other number than
    19
    

Problem summary

  • USERS AFFECTED:
    Users using -MD or -MMD to generate dependency files with -o
    option followed by
    19 characters as object file name are affected by this issue.
    
    PROBLEM DESCRIPTION:
    The compiler driver program did not preallocate a large enough
    buffer when building the string
    for -MF option which is added by driver when -MD or -MMD is
    used.
    

Problem conclusion

  • The program driver has been fixed to handle the above scenario
    by increasing the buffer size.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI81577

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5725C7300

  • Reported release

    G11

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-08-26

  • Closed date

    2020-11-03

  • Last modified date

    2020-11-03

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

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

Fix information

  • Fixed component name

    XL C/C++ LINUX

  • Fixed component ID

    5725C7310

Applicable component levels

[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXVZZ","label":"XL C\/C++ for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"G11"}]

Document Information

Modified date:
04 November 2020