IBM Support

IV56170: 32-BIT CALL TO POSIX_FADVISE FAILS WHEN _LARGE_FILES IS ENABLED APPLIES TO AIX 7100-04

A fix is available

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • 32-bit call to posix_fadvise fails when _LARGE_FILES
    is enabled.
    
    fcntl.h does not contain a posix_fadvise64
    routine. When _LARGE_FILES is enabled off_t will
    be redefined as a 64-bit value "long long."
    So, instead of 32-bit values, 64-bit values
    will be passed to posix_fadvise causing
    unpredictable results.
    

Local fix

Problem summary

  • 32-BIT CALL TO POSIX_FADVISE FAILS WHEN _LARGE_FILES IS ENABLED
    

Problem conclusion

  • When _LARGE_FILES is enabled , use 64-bit wide off64_t data
    type to read in offsets.
    

Temporary fix

Comments

  • 7100-04 - use AIX APAR IV56170
    

APAR Information

  • APAR number

    IV56170

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-03-03

  • Closed date

    2014-03-03

  • Last modified date

    2016-05-10

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

    IV47048

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

    U871181

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U871181

       UP15/11/22 I 1000



Document information

More support for: AIX Enterprise Edition

Software version: 710

Operating system(s): AIX

Reference #: IV56170

Modified date: 10 May 2016


Translate this page: