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