[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#232920: marked as done (ld.so: unversioned symbols allowed to satisfy unresolved references to versioned symbols)



Your message dated Sat, 10 Jan 2009 04:04:20 +0000
with message-id <20090110040420.GA17400@scru.org>
and subject line Re: Bug#232920: ld.so: unversioned symbols allowed to satisfy unresolved references to versioned symbols
has caused the Debian Bug report #232920,
regarding ld.so: unversioned symbols allowed to satisfy unresolved references to versioned symbols
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
232920: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=232920
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc6
Version: 2.3.2.ds1-11

It appears that, given:

library libbar, providing version BAR1 of symbol bar_sym1;
library libquux, linked against libbar and using (version BAR1 of) bar_sym1;
and program foo, linked with -rdynamic, providing unversioned symbol
  bar_sym1, and dlopen()ing libquux,

the versioned reference to bar_sym1 from libquux will be resolved using
the unversioned symbol in foo, instead of the versioned symbol in
libbar.

This problem also manifests if the unversioned bar_sym1 symbol is
provided by a library that was dlopen()ed prior to dlopen()ing libquux;
if foo is linked against libquux rather than dlopen()ing it; and,
presumably, if foo is linked against both a lib (libbar0) providing the
unversioned symbol and against libquux, but libbar0 is opened first.

I had somehow reached the conclusion that this was documented and
deliberate behavior, but Andrew Suffield <asuffield@debian.org>
indicates otherwise and asked that I file a bug.  The attached tarball
contains a small test case that can be used to reproduce the problem,
showing that unversioned symbols are allowed to satisfy unresolved
references to versioned symbols.

-- 
Steve Langasek
postmodern programmer

Attachment: dlopentest.tgz
Description: GNU Unix tar archive

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
On Tue, Mar 02, 2004 at 03:54:39PM +0900, GOTO Masanori wrote:
> I close this bug.

Almost.


--- End Message ---

Reply to: