IBM Support

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

    IV27651

  • Reported component name

    XL C/C++ AIX

  • Reported component ID

    5724X1300

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-09-06

  • Closed date

    2012-10-03

  • Last modified date

    2012-10-03

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

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

    IV31758 LI77160 LI77451

Fix information

  • Fixed component name

    XL C FOR AIX

  • Fixed component ID

    5724X1200

Applicable component levels

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

Document Information

Modified date:
03 October 2012