IBM Support

IZ97394: MISSING STABSTRING TYPE FOR FORTRAN ENTRY

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 information
    enabled, the compiler is generating invalid stabstrings for the
    ENTRY statement, func2.
    
    When using the AIX linker's option -bstabcmpct:2, the following
    error is output:
    
    ld: 0711-393 STABSTRING ERROR: Symbol table entry 30, object
    file test.o
            A stabstring refers to type 6, which is not defined.
    
    Looking at the object file shows the following stabstrings for
    func2:
    
      .stabx  ":t27=*6",0x00,0x8c,0x0
      .stabx  "func2:V27",0x00,0x85,0x0
    
    There is no definition for a type '6', and therefore an error is
    thrown.
    
    
       =====  TEST CASE  =====
          CHARACTER*20 FUNCTION func1 ()
    
           CHARACTER*20 func2
           ENTRY func2 ()
    
           func1 = 'a'
           func2 = 'b'
    
          RETURN
          END
    
          PROGRAM MAIN
           REAL*4 RET2
           RET2 = func1()
          END
    
    
    Compile with:  xlf -g -bstabcmpct:2 -bloadmap:output test.f
    

Local fix

  • - Compile with a lower stabstring compaction level,
    -bstabcmpct:1
    

Problem summary

  • PROBLEM DESCRIPTION:
    Missing stabstring type definition.
    
    USERS AFFECTED:
    Users with functions that contain ENTRY statements, compile
    with stabstring debug information, and use the -bstabcmpct:2
    linker feature.
    

Problem conclusion

  • The stabstring generation was corrected.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ97394

  • 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-28

  • 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:

    LI76284

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