IBM Support

IV51333: LINKER FAILS WHEN CREATING A FILE > 4 GB ON A REMOTE FILE SYSTEM APPLIES TO AIX 7100-03

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When the executable file created by the linker is larger
    than 4 GB, and
    it is on a remote file system, it comes out badly
    truncated.  When
    built on a local file system, it come out correctly.
    For illustration: on a local system, size is 4303640816
    bytes.  On a
    remote file system, the size is 8673622 bytes.
    Furthermore, the
    linker/binder give no indication of error, in the form of
    either a
    diagnostic or a error return code.
    
    truss data:
    17826156:       61276417: lseek(14, 4301628140, 0)
          =
    4301628140
    2517826156:       61276417: kwrite(14, "\0", 1)
            = 1
    17826156:       61276417: shmdt(0x07F0000000000000)
          = 0
    17826156:       61276417: shmat(14, 0x07F0000000000000,
    2048)   =
    0x07F0000000000000
    17826156:       61276417: ftruncate(10, 0)
          = 0
    17826156:       61276417: kwrite(10, "01  \0\n R16 j 59C
    I7F  "..,
    6660840) = 6660840       <<<<  wrong size
    

Local fix

  • Create executable on local filesystem instead of remote
    filesystem
    

Problem summary

  • Linker fails to create a file which is more than 4GB
    size on a remote file system.
    

Problem conclusion

  • Changed the data types to accommodate the bigger size.
    

Temporary fix

Comments

  • 6100-07 - use AIX APAR IV58233
    6100-08 - use AIX APAR IV57812
    6100-09 - use AIX APAR IV50851
    6100-09 - use AIX APAR IV50851
    6100-09 - use AIX APAR IV50851
    7100-01 - use AIX APAR IV50317
    7100-02 - use AIX APAR IV56958
    7100-03 - use AIX APAR IV51333
    

APAR Information

  • APAR number

    IV51333

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2013-10-24

  • Closed date

    2013-10-24

  • Last modified date

    2014-08-14

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

    IV50317

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

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U853959

       UP14/05/22 I 1000

PTF to Fileset Mapping



Document information

More support for: AIX Enterprise Edition

Software version: 710

Operating system(s): AIX

Reference #: IV51333

Modified date: 14 August 2014