Precompiler Pro*C Compilation On AIX Throws ld: 0711-768 warning and shared libraries (Doc ID 1457435.1)

Last updated on JANUARY 03, 2014

Applies to:

Precompilers - Version 11.2.0.0 and later
IBM AIX on POWER Systems (64-bit)
IBM AIX on POWER Systems (32-bit)
***Checked for relevance on 03-Jan-2014***

Symptoms

Precompiler Pro*C throws warnings with Oracle 11g Release 2 and XL C/C++ 11.1.

1) Pro*C version

$> file proc*
proc: 64-bit XCOFF executable or object module not stripped

$> ls -al proc*
-rwxr-xr-x    1 oracle   dba        57813217 Mar 30 09:01 proc

$> proc|head -5
Pro*C/C++: Release 11.2.0.2.0 - Production on Mon May 7 14:16:55 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.


2) Compiler Version

$> xlC -qversion
IBM XL C/C++ for AIX, V11.1 (5724-X13)
Version: 11.01.0000.0000

 

3) Warning Message

ld: 0711-768 WARNING: Object gotocr87.o, section 1, function .strncpy:
      The branch at address 0x1bc is not followed by a recognized no-op
      or TOC-reload instruction. The unrecognized instruction is 0x7FC903A6.
ld: 0711-768 WARNING: Object gotocr87.o, section 1, function .strncpy:
      The branch at address 0x1e8 is not followed by a recognized no-op
      or TOC-reload instruction. The unrecognized instruction is 0x7FC903A6.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms