From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,6abb68fd8893434d,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-08-02 11:51:27 PST Path: archiver1.google.com!news2.google.com!postnews1.google.com!not-for-mail From: malli-rao@excite.com (Malli Rao) Newsgroups: comp.unix.tru64 Subject: Linker error & shared library Date: 2 Aug 2001 11:51:27 -0700 Organization: http://groups.google.com/ Message-ID: NNTP-Posting-Host: 199.3.242.71 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 996778287 22827 127.0.0.1 (2 Aug 2001 18:51:27 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 2 Aug 2001 18:51:27 GMT Xref: archiver1.google.com comp.unix.tru64:4053 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 as cc -taso -shared -B symbolic -o libshr.so 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 ). 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