IBM Support

LI76280: BAD STABSTRING WITH FORTRAN PARAMETER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When compiling the scenario test case below with debug
    information (using -g), the compiler is generating an invalid
    stabstring for the RCSid variable.  The disassembly of the
    stabstring reads:
    
      .stabx "rcsid:c=s""TESTBADSTABSTRING""",0x03,0x81,0x0
    
    As a constant object, the stabstring grammar requires a ';' at
    the end of the string:
    
      .stabx "rcsid:c=s""TESTBADSTABSTRING"";",0x03,0x81,0x0
    
    Applications that use object file stabstring debug information
    may encounter problems when parsing the invalid stabstring.  For
    example, the AIX linker's -bstabcmpct:2 feature outputs the
    following error with the -bloadmap option:
    
    ld: 0711-397 STABSTRING ERROR: Symbol table entry 24, object
    file foo.o
            Character ; expected in production Stabstring.
            ASCII 0 seen.
            Remainder of stabstring is:
    
    
       =====  TESTCASE  =====
    program test
    CHARACTER*(*) RCSid
    parameter (RCSid = 'TESTBADSTABSTRING')
    write (*,*) 'TEST'
    stop
    end
    
    
    $ xlf90 -g foo.f -bstabcmpct:2
    ** test   === End of Compilation 1 ===
    1501-510  Compilation successful for file foo.f.
    ld: 0711-395 STABSTRING ERROR in object foo.o
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain
    more information.
    ld: 0711-937 SEVERE ERROR: Severe errors have occurred.
    $
    

Local fix

  • - Avoid usage of the -bstabcmpct:2 feature
    - Manually edit the object file/disassembly to read the missing
    ';' character
    - Do not use debug information
    

Problem summary

  • PROBLEM DESCRIPTION:
    A truncated stabstring is making the linker -bstabcmpct:2
    feature fail.
    
    USERS AFFECTED:
    Users with a string in a parameter statement, compiling with
    stabstring debug information, and using the -bstabcmpct:2 linker
    feature.
    

Problem conclusion

  • The stabstring generation was corrected.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI76280

  • Reported component name

    XL FORTRAN LINU

  • Reported component ID

    5724X1600

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2011-07-13

  • Closed date

    2011-07-13

  • Last modified date

    2011-07-13

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

    IZ96981

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

Fix information

  • Fixed component name

    XL FORTRAN LINU

  • Fixed component ID

    5724X1600

Applicable component levels

  • RD10 PSY

       UP

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

Document Information

Modified date:
16 October 2021