IBM Support

IJ02718: FUNCTION CALL NOT USING -QPIC=LARGE TOC ACCESS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In a large application with more than 64k TOC data the
    -qpic=large option is used to generate two instructions for
    each TOC access to avoid TOC overflow code-fixes by the linker.
    
    In most cases the two instruction TOC access is used, however in
    certain cases related to compiler-generated C++ helper
    functions, the old one instruction TOC access is used, causing
    the linker to generate fix-up code and issue a warning:
    
    
       ld: 0711-783 WARNING: TOC overflow. TOC size: 160240
       Maximum size: 65536
         Extra instructions are being generated for each reference
         to a TOC symbol if the symbol is in the TOC overflow area.
    

Local fix

Problem summary

  • PROBLEM DESCRIPTION:
    When building -qpic=large large TOC code, the compiler is not
    generating the correct two instruction sequence for
    compiler-generated thunk functions.
    
    USERS AFFECTED:
    Users compiling with -qpic=large
    

Problem conclusion

  • The problem has been fixed, and the correct code sequence is
    now generated.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ02718

  • Reported component name

    XL C/C++ FOR AI

  • Reported component ID

    5725C7200

  • Reported release

    D13

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-12-20

  • Closed date

    2018-08-02

  • Last modified date

    2018-08-02

  • 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 FOR AIX

  • Fixed component ID

    5725C7100

Applicable component levels

  • RD13 PSY

       UP

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

Document Information

Modified date:
24 August 2021