IBM Support

LI75587: COMPILER ERROR WHEN GENERATING ASSEMBLY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When generating an assembler language file with the -S compiler
    option, the compiler is encountering an internal error:
    
    $ xlC -S -c foo.C
    xlC: 1501-230 (S) Internal compiler error; please contact
    your Service Representative
    
    Removing -S and compiling to an object file is successful, but
    attempting to disassemble the object file with the compiler's
    'dis' utility causes a segmentation fault:
    
    $ /usr/vac/exe/dis foo.o
    Segmentation fault
    $
    

Local fix

  • Use the -qlist listing file for assembly information
    

Problem summary

  • PROBLEM DESCRIPTION:
    Internal Compiler Error when compiling with C++ and the -S
    option.
    
    USERS AFFECTED:
    C++ users of the -S option using templates that produce long
    symbol names.
    

Problem conclusion

  • Increased buffer sizes to greater than the longest possible
    symbol names, thereby correcting the error.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI75587

  • 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

    2010-07-28

  • Closed date

    2010-07-28

  • Last modified date

    2010-07-28

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

    IZ73424

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

Fix information

  • Fixed component name

    XL C/C++ SLES10

  • Fixed component ID

    5724U8300

Applicable component levels

  • RA10 PSY

       UP

[{"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