IBM Support

IJ54564: _LARGE_FILES MACROS CAUSE CONFLICTS WITH C++ OPEN APPLIES TO AIX 7300-02

 

APAR status

  • Closed as program error.

Error description

  • - With this fix,with _LARGE_FILES no compilation error
    

Local fix

Problem summary

  • - With this fix,with _LARGE_FILES no compilation error
    

Problem conclusion

  • - The `open` macro be replaced with an ASM label
    - During compilation time if _LARGE_FILES is enabled,
      it will append the asm label, which helps to create an alias
      for open ->open64 at assembly level during compile time.
    - During runtime, when _LARGE_FILES is enabled,
      when open is called it will invoke the opne64 system call.
    - Example :
      extern int open(const char *, int, ...) __asm__("open64");
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ54564

  • Reported component name

    AIX V7.3

  • Reported component ID

    5765CD300

  • Reported release

    730

  • Status

    CLOSED PER

  • HIPER

    NoHIPER

  • Submitted date

    2025-04-29

  • Closed date

    2025-04-29

  • Last modified date

    2025-12-10

  • 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

    AIX V7.3

  • Fixed component ID

    5765CD300

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SG11T","label":"AIX 7.3 HIPERS- APARs and Fixes"},"Platform":[{"code":"PF053","label":"Power Systems"}],"Version":"730","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
10 December 2025