LI77160: 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

    LI77160

  • Reported component name

    XL C/C++ FOR LI

  • Reported component ID

    5725C7300

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-12-17

  • Closed date

    2012-12-17

  • Last modified date

    2012-12-17

  • 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

    5725C7300

Applicable component levels



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

XL C/C++ for Linux
Compiler

Software version:

12.1

Reference #:

LI77160

Modified date:

2012-12-17

Translate my page

Machine Translation

Content navigation