IBM Support

LI75788: ACCURACY OF COMPILER MSG FOR MODIFIED MOD FILE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Questionable accuracy of the message produced by the compiler
    when compiling a source file that has had it's .mod file
    modified between compilations.
    
    ---------
    TEST CASE
    ---------
    
    foo.f :
           MODULE foo
             IMPLICIT NONE
             INTEGER i,j
             REAL a,b
             PRIVATE i,j,a,b
           CONTAINS
             SUBROUTINE fake_sub(n,x)
               INTEGER n
               REAL x
               a=x
               DO i=2,n
                  a=x*i
               ENDDO
               x=a
             END SUBROUTINE fake_sub
           END MODULE foo
    
    Compile source code using the following sequence of
    instructions:
    
    > xlf_r -c foo.f
    > rm foo.mod foo.o
    > echo "This little text in the .mod file will fail the
      compilation" > foo.mod
    > xlf_r -c foo.f
    
    The compiler will produce the following message:
    
    "foo.f", line 1.1: 1513-116 (S) Unable to create module symbol
    file
    foo.mod. Please check the path, directory and permissions.
    ** foo   === End of Compilation 1 ===
    1501-511  Compilation failed for file foo.f.
    
    This message does not accurately describe the situation.
    

Local fix

  • N/A
    

Problem summary

  • ROBLEM DESCRIPTION:
    Frontend issues an error message that does not describe the
    problem well.
    
    USERS AFFECTED:
    Users who have corrupted .mod file or the .mod with
    unrecognized xlf module format are affected.
    

Problem conclusion

  • Issue a more appropriate message.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI75788

  • 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

    2010-11-23

  • Closed date

    2010-11-23

  • Last modified date

    2010-11-23

  • APAR is sysrouted FROM one or more of the following:

    IZ77418

  • 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

[{"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:
15 October 2021