Fixes are available
APAR status
Closed as program error.
Error description
When compiling the following test case with debug information enabled, the compiler is generating an invalid stabstring that uses a type that is not defined. When using the AIX linker's option -bstabcmpct:2, the following error is output: ld: 0711-393 STABSTRING ERROR: Symbol table entry 36, object file test.o A stabstring refers to type 7, which is not defined. The symbol can be checked with the 'dump -t test.o' command: [36] m 0x00000000 -2 0 0x8c 0x0000 :t29=*7 There is no definition for a type '7', and therefore the error is output. ===== TEST CASE ===== REAL*8 FUNCTION FOO() IMPLICIT NONE REAL*8 FOO_ENTRY ! Entry point. REAL*8 F1 EXTERNAL F1 FOO=7 ENTRY FOO_ENTRY(F1) RETURN END PROGRAM test VAL = FOO() WRITE (*,*) VAL STOP END Compile with: xlf -g test.f -bstabcmpct:2
Local fix
Compile with a lower stabstring compaction level
Problem summary
PROBLEM DESCRIPTION: Debug information for alternative ENTRY points is not accounting for functions as parameters. USERS AFFECTED: Those compiling Fortran code with -g .
Problem conclusion
The issue was corrected, and the correct stabstring is now output.
Temporary fix
Comments
APAR Information
APAR number
LI76437
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-10-24
Closed date
2011-10-24
Last modified date
2011-10-24
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 PSN IV00919
UP06/09/13
[{"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:
17 October 2021