Oracle libraries and -pic flag

From: Nathan Mower <nathan_at_sdcorp.com>
Date: 1996/05/03
Message-ID: <318A45C9.5F85_at_sdcorp.com>#1/1


After adding Oracle database support to an application that was already large, we get a message from the linker (Purelink) indicating that our global offset table has grown too large (beyond 8K) for object files compiled with the -pic flag.

A suggested remedy is to recompile all -pic objects with -PIC, which allows the global offset table to span the range of 32-bit addresses. However, our own objects don't use -pic anywhere.

Are there any objects in the Oracle libraries which are compiled with -pic?

We do use a couple of other third-party libraries, so it could be that one of them compiled -pic, and maybe the global offset table was pushed over the 8K limit when we linked in Oracle.

Anyone with info on the flags used to compile Oracle libraries, please let me know. We have installed Server 7.2.3.0.0, Pro*C 2.1.3.0.0 and SQLLIB 1.7.2.0.0.

Thanks!

Nathan Mower
nathan_at_sdcorp.com Received on Fri May 03 1996 - 00:00:00 CEST

Original text of this message