* Linker error & shared library
@ 2001-08-02 18:51 Malli Rao
0 siblings, 0 replies; only message in thread
From: Malli Rao @ 2001-08-02 18:51 UTC (permalink / 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-08-02 18:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-02 18:51 Linker error & shared library Malli Rao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox