IBM Support

IV63338: LINKER ERROR WITH -QFUNCSECT

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • When using -qfunsect, the compiler seems to generate a bad .o
    file which the linker seems to complain about:
    
    ld: 0711-596 SEVERE ERROR: Object mylib.a[myobj.o]
        An RLD for section 2 (.data) refers to symbol 0,
        but the storage class of the symbol is not C_EXT or C_HIDEXT
    

Local fix

  • N/A
    

Problem summary

  • USERS AFFECTED:
    Users who compile their test case with both -qfuncsect and
    -qfdpr maybe affected by this issue.
    
    
    PROBLEM DESCRIPTION:
    Users may experience a link failure due to RLD item of data
    section refering to wrong symbols.
    

Problem conclusion

  • The compiler has been fixed to handle the above scenario.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV63338

  • Reported component name

    XL C FOR AIX

  • Reported component ID

    5725C7100

  • Reported release

    C10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-08-11

  • Closed date

    2014-10-23

  • Last modified date

    2014-10-23

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

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

    IV67989 LI78460

Fix information

  • Fixed component name

    XL C FOR AIX

  • Fixed component ID

    5725C7100

Applicable component levels



Document information

More support for: XL C for AIX
Compiler

Software version: 12.1

Reference #: IV63338

Modified date: 23 October 2014