From: malli-rao@excite.com (Malli Rao)
Subject: Linker error & shared library
Date: 2 Aug 2001 11:51:27 -0700 [thread overview]
Message-ID: <e1d6da35.0108021051.3fa7bdd8@posting.google.com> (raw)
Hello,
Can someone help me with a linker error I've got while building shared
library (on Tru64 V5.0/Alpha). I'm trying to build a (32 bit) shared
library of hundreds of object files most of which are compiled and a
few are assembled.
I've issued the following compiler/assembler/linker commands:
cc -c -xtaso -xtaso_short <cfiles>
as <sfiles>
cc -taso -shared -B symbolic -o libshr.so <ofiles>
While building libshr.so, the linker reports the following error:
--
Error: The number of dynrels to be output(3985) is > than the
allocated space(3980)
It appears there may be relocations which result in dynrels outside of
lita/xdata/pdata/data/sdata/rconst/rdata
---
In my understanding, the dynamic relocation table is overflown due to
a large number of globals in my application. However, the error still
persists even if I hide most of the symbols (linking with -hidden
-exported_symbol <very-few-symbols>).
Has anyone come across something like this before? Is it a limitation
of the linker in handling symbols with hiding in shared libraries?
Any help is greatly appreciated.
Thanks in advance,
-malli
reply other threads:[~2001-08-02 18:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox