ELF extension for starting symbol search from module dependencies

Luca Barbieri ldb@ldb.ods.org
Thu Aug 22 12:46:00 GMT 2002


On Thu, 2002-08-22 at 21:35, Maciej W. Rozycki wrote:
> On 22 Aug 2002, Luca Barbieri wrote:
> 
> > >  Hmm, what if two functions which get imported from different versions of
> > > the same library operate on a static (private to the library) variable
> > > that is needed for a proper operation for some reason?  You'd better
> > > rebuild the sources to use a single version of each library instead. 
> > I don't see how this could cause problems. Each png library should bind
> > its own references to its own symbols.
> 
>  Do you suggest your proposed change should only be activated for the png
> library? 
The proposed change is activated for everything that is compiled with
the -Blocal linker option.

For the specific case of libpng, the problem can be solved by linking
libpng.so.2 and libpng.so.3 with -Bsymbolic and all libraries that use
them with -Blocal (alternatively you can also solve this with versioned
symbols but this causes more potential compatibility problems).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20020822/f846db70/attachment.sig>


More information about the Libc-alpha mailing list