Fixes are available
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
LI76283
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:
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