Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Quant-X Alpha Linux Support <stefan@sime.com>
To: Eric Ding <ericding@applix.com>
Cc: axp-list@redhat.com
Subject: Re: BUG: probs with resolving functions in shared library
Date: Thu, 6 Aug 1998 00:48:35 +0200	[thread overview]
Message-ID: <199808052248.AAA01063@stefan.sime.com> (raw)
In-Reply-To: message from Eric Ding on Wed, 05 Aug 1998 12:16:57 -0400

Hi Eric !

> gcc -shared -Xlinker -Bsymbolic -Xlinker --noinhibit-exec -o libtest2.so \
>      test2.o test3.o

I don't know if it helps:

ld -shared -Bdynamic --noinhibit-exec -o libtest2.so test2.o test3.o

works here as expected. (The difference is only that I'm using
-Bdynamic instead of -Bsymbolic) 

It is a bug. But ok so.
If you want -Bdynamic work as the specs say, you need to compile the main
program (!) with -Xlinker -export-dynamic. If you do this, you
get the "OOPS!".


Hope it helps.

  ciao -
    Stefan

-- 

Quant-X Service &                         Ph:  (+43) 4212 6004-0
Consulting Ges.m.b.H.                     Fax: (+43) 4212 600420
http://www.quant-x.com                    Email: support@quant-x.com


             reply	other threads:[~1998-08-05 22:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-05 22:48 Quant-X Alpha Linux Support [this message]
1998-08-06  2:38 ` BUG: probs with resolving functions in shared library Eric Ding
1998-08-06 12:59   ` Quant-X Alpha Linux Support
1998-08-06 16:30     ` Eric Ding
1998-08-06 21:24       ` Quant-X Alpha Linux Support
  -- strict thread matches above, loose matches on Subject: below --
1998-08-05 16:16 Eric Ding
1998-08-08 22:29 ` Richard Henderson
1998-08-10 15:54   ` Eric Ding
1998-08-10 17:52     ` Richard Henderson
1998-08-10 19:51       ` Eric Ding
1998-08-12 17:07   ` Eric Ding
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