This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Shared library question
- From: "H. J. Lu" <hjl at lucon dot org>
- To: "Zagorodnev, Grigory" <Grigory_Zagorodnev at stl dot sarov dot ru>
- Cc: 'Jakub Jelinek' <jakub at redhat dot com>,"'binutils at sources dot redhat dot com'" <binutils at sources dot redhat dot com>
- Date: Wed, 17 Jul 2002 07:50:30 -0700
- Subject: Re: Shared library question
- References: <51524B6C689ED4118D4F0090273ACE329288B6@odyssey.stl.sarov.ru>
On Wed, Jul 17, 2002 at 03:03:28PM +0400, Zagorodnev, Grigory wrote:
> >If you'll do:
> >VER_1.0 { global: foo; bar; baz; local: *; };
> >VER_1.1 { } VER_1.0;
> >and .symver __real_foo, foo@VER_1.0
> >then program/libs linked against non-versioned foo will resolve to
> >foo@VER_1.0, while ld won't use foo.
>
> Well...
> This solution works fine for small test-cases. But I have problems running
> huge real application. Same conditions, same library, same symbol
> information in the application but ld.so does not resolve reference to
> foo@VER_1.0.
>
It should work. You need to provide more info.
H.J.