IBM Support

IZ97343: STABSTRING ENTRY MISSING TYPE WITH -QRECUR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When compiling the following test case with debug info and the
    -qrecur option, the stabstring generated for the
    'badstabstring' variable does not contain a Class type, i.e.
    
     .stabx "badstabstring:",0x048,0x81,0x0
    
    Compiling without -qrecur generates a Class type:
    
     .stabx "badstabstring:V28",0x00,0x85,0x0
    
    The incorrect stabstring is making the linker's stabstring
    compaction feature, -bstabcmpct:2 fail:
    
    ld: 0711-389 STABSTRING ERROR: Symbol table entry 27, object
      file test2.o
    Unexpected end of stabstring in production Stabstring.
    
    
       =====  TEST CASE  =====
    subroutine test(max)
    character*(max) badstabstring
    write (*,*) 'TEST'
    return
    end
    
    program test2
    call test(4)
    stop
    end
    
    
    Compile with:  xlf90 test2.f -g -bstabcmpct:2 -qrecur
    

Local fix

  • - Do not compile with -qrecur
    - Do not use the linker's stabstring compaction feature, or use
    a lower level, such as -bstabcmpct:1
    

Problem summary

  • PROBLEM DESCRIPTION:
    Debug data is incomplete for runtime length fortran character
    array variables when compiling with -qrecur.
    
    USERS AFFECTED:
    Users encountering a variable not recognized or understood by a
    debugger, or linker errors when using -bstabcmpct:2.
    

Problem conclusion

  • The issue was corrected, and the stabstring output is now valid.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ97343

  • Reported component name

    XL FORTRAN FOR

  • Reported component ID

    5724X1500

  • Reported release

    D10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-03-26

  • Closed date

    2011-08-09

  • Last modified date

    2011-08-10

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

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

    LI76283

Fix information

  • Fixed component name

    XL FORTRAN FOR

  • Fixed component ID

    5724X1500

Applicable component levels

  • RD10 PSY U844586

       UP C

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH4D","label":"XL Fortran for AIX"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"13.1","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
10 August 2011