Fixes are available
August 2011 PTF for XL Fortran for AIX, V13.1
January 2012 PTF for XL Fortran for AIX, V13.1
April 2012 PTF for XL Fortran for AIX, V13.1
July 2012 PTF for XL Fortran for AIX, V13.1
October 2012 PTF for XL Fortran for AIX, V13.1
February 2013 PTF for XL Fortran for AIX, V13.1
May 2013 PTF for XL Fortran for AIX, V13.1
XL Fortran for AIX Fix Pack 15 (August 2013 PTF) for 13.1
XL Fortran for AIX Fix Pack 16 (November 2013 PTF) for 13.1
XL Fortran for AIX Fix Pack 17 (February 2014 PTF) for 13.1
XL Fortran for AIX Fix Pack 21 (April 2015 PTF) for 13.1
XL Fortran for AIX Fix Pack 22 (September 2015 PTF) for 13.1
XL Fortran for AIX Fix Pack 23 (March 2016 PTF) for 13.1
XL Fortran for AIX Fix Pack 24 (September 2016 PTF) for 13.1
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:
Fix information
Fixed component name
XL FORTRAN FOR
Fixed component ID
5724X1500
Applicable component levels
RD10 PSY U844586
UP C
Document Information
Modified date:
10 August 2011