IBM Support

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

    LI75928

  • Reported component name

    XL FORTRAN RHEL

  • Reported component ID

    5724U8410

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-01-27

  • Closed date

    2011-01-27

  • Last modified date

    2011-01-27

  • 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 RHEL

  • Fixed component ID

    5724U8410

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSB259","label":"XL Fortran Advanced Edition for Linux"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C.1","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
24 February 2022