IBM Support

LI77451: IPA LINKING WITH WRONG LIBRARY EXTENSION

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Similar to the previous APAR IV14250, when the IPA compiler
    component links with a library, it is linking with libraries
    with file extension *.so before libraries with file extension
    *.a when the -brtllib option is used.  This is an issue when two
    libraries with the same name, but different file extensions
    exist in the same directory.
    
    This can cause incorrect linking behaviour and symbol errors
    when the final ld link is performed.
    

Local fix

  • - Rename the libraries so that they do not match
    - Remove the -brtllib option
    

Problem summary

  • PROBLEM DESCRIPTION:
    The IPA compiler component links with the incorrect library
    when the -brtllib option is used.
    
    USERS AFFECTED:
    Users of -brtllib
    

Problem conclusion

  • The '-brtllib' option is now correctly interpreted, and is
    forwarded to the AIX linker.  The '1586-001 (W) Option
    '-brtllib' is not valid.' warning is no longer output.  Instead
    the following warning is now used:  1586-083 (W) ld option
    -brtllib ignored by IPA
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI77451

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5724X1400

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2013-06-11

  • Closed date

    2013-06-11

  • Last modified date

    2013-06-11

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

    IV27651

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

Fix information

  • Fixed component name

    XL C/C++ FOR LI

  • Fixed component ID

    5724X1400

Applicable component levels



Document information

More support for: XL C/C++ for Linux

Software version: B10

Reference #: LI77451

Modified date: 11 June 2013