IBM Support

IV57444: INTERMEDIATE OBJECT FILE LOCATION CONFLICT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When compiling source code directly to a final executable (i.e.
    not using the -c option), the compiler generates the
    intermediate object files in the current directory before the
    final link.
    
    This can cause build conflicts when compiling 32-bit and 64-bit
    source files in parallel from the same code base.
    
    Depending on which bit-mode build is first, it's object may be
    overwritten by the other bit-mode build.  For example, a 32-bit
    compile completes first and generates a 32-bit test.o object
    file, then the 64-bit compile in parallel completes, and
    overwrites test.o with a 64-bit mode test.o.  The link for the
    32-bit mode will output an error:
    
    ld: 0711-736 ERROR: Input file test.o:
    XCOFF64 object files are not allowed in 32-bit mode.
    

Local fix

  • - Do not build in parallel
    - Use separate code bases
    

Problem summary

  • PROBLEM DESCRIPTION:
    Intermediate object files were not stored in a temporary
    directory.
    
    USERS AFFECTED:
    Users compiling source code directly to executable, and not
    using the -c option.
    

Problem conclusion

  • The compiler now uses a temporary directory to generate
    intermediate object files, allowing users to run parallel make
    files.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV57444

  • Reported component name

    XL C/C++ FOR AI

  • Reported component ID

    5725C7200

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-03-26

  • Closed date

    2014-07-18

  • Last modified date

    2014-07-18

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

    IV56047

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

Fix information

  • Fixed component name

    XL C FOR AIX

  • Fixed component ID

    5725C7100

Applicable component levels

[{"Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGH2K","label":"XL C for AIX"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"12.1"}]

Document Information

Modified date:
14 September 2021