IBM Support

ld: 0711-768 warning and shared libraries

Troubleshooting


Problem

An ld: 0711-768 warning message is generated when a call to certain functions declared in the ANSI C library is compiled with the XL C/C++ for AIX, V11.1 compiler, and an exported definition of the called functions is found in a shared object during linking.

Symptom

ld: 0711-768 WARNING: Object mytest.o, section 1, function .strcpy:
The branch at address 0x1c is not followed by a recognized no-op or TOC-reload instruction. The unrecognized instruction is 0xE8010090.

The ld: 0711-768 warning message is generated when a call is made to some functions defined in the ANSI C library.

The compiled program might produce a segmentation fault or a core dump during execution.

[{"Product":{"code":"SSGH3R","label":"XL C\/C++ for AIX"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Documentation","Platform":[{"code":"PF002","label":"AIX"}],"Version":"11.1","Edition":"","Line of Business":{"code":"LOB73","label":"Power TPS"}},{"Product":{"code":"SSGH3R","label":"XL C\/C++ for AIX"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Documentation","Platform":[{"code":"PF002","label":"AIX"}],"Version":"11.1","Edition":"","Line of Business":{"code":"LOB73","label":"Power TPS"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
06 December 2018

UID

swg21443810