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 23:24:36 +0200	[thread overview]
Message-ID: <199808062124.XAA01752@stefan.sime.com> (raw)
In-Reply-To: <yv4n29irs2b.fsf@tuxedo.applix.com> (message from Eric Ding on 06 Aug 1998 12:30:36 -0400)

Hi Erik !

> thanks for your suggestions -- I'm not altogether sure they'll even be
> possible in the real application, but let's stay with the stub for now; it
> still appears that the fix only works partially.

Sorry, the problem was in my head. ;-(
We had here an export-dynamic discussion here in January and I had
a private in March; your problem is a bit more trickey...

I can force the bug to appear as in your first version by
dlopen using "RTLD_NOW|RTLD_GLOBAL" within the stub.
(and RTLD_GLOBAL is needed to export symbols...)

Because RTLD_GLOBAL is like "-export-dynamic"
(and this is needed for your small app (Applixware)) forget
the stub at all, my fault, sorry. It does not fix the scope bug
if you want symbols...

Fixing the "scope bug" is IMHO the best workaround.
I don't know if reporting to "bug-glibc@prep.ai.mit.edu"
is a good idea, but the bug seems to be in glibc-sources/elf.

   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-06 21:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-05 22:48 BUG: probs with resolving functions in shared library Quant-X Alpha Linux Support
1998-08-06  2:38 ` 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 [this message]
  -- 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