This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: elf32-ppc ld bug with symbol versioning


On Tue, Apr 22, 2003 at 04:40:16PM -0700, Roland McGrath wrote:
Content-Description: message body text
> The attached shell archive unpacks a few files and a Makefile that
> demonstrates a bug now biting glibc on powerpc-unknown-linux-gnu.
> This shows up in mainline of today, as well as other recent versions.
> 
> With these files, "make" will give you:
> 
> /usr/local/bin/ld: lose.so: undefined versioned symbol name foo@@VERS_1
> 
> This boils down to an ld -shared that is resolving against a .so and a .a
> with versioned references between them.  The crucial factor is probably
> that bar.a(bar.o) has a weak defn of bar that should be in force despite
> the presence of a bar symbol in foo.so earlier in the link order.  foo.so's
> defn is ignored because it is a versioned defn with @ rather than @@,
> but having done that seems to make ld fail to see bar.a(bar.o)'s own defn.

This sounds awfully familiar.  Could you do me a favor and try he patch
in <http://sources.redhat.com/ml/binutils/2003-02/msg00419.html>?


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]