[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ld creates shared libraries with garbage in the .dynsym section
From: |
Alan Modra |
Subject: |
Re: ld creates shared libraries with garbage in the .dynsym section |
Date: |
Mon, 1 Jul 2002 21:56:17 +0930 |
User-agent: |
Mutt/1.3.25i |
On Mon, Jul 01, 2002 at 01:15:00PM +0200, Bruno Haible wrote:
>
> Using binutils-2.12.90.0.7, when linking programs against glibc for
> FreeBSD/i386, I got link errors mentioning strange versioned symbols.
> A detailed look using "readelf" revealed that libc.so.6's .dynsym
> section contained garbage symbols. In detail this section contained
> - 1 dummy symbol,
> - 64 section symbols,
> - 1858 regular symbols,
> - 26 section symbols again,
> - 34 garbage symbols:
[snip]
> Filling up section .dynsym, predicted 31728 bytes, got 30768 bytes.
Hmm, 960 extra bytes == 60 symbols, so those 26 section symbols were
really "garbage symbols" too. What version of binutils was used to
build glibc? I'm wondering if you were using a version affected by
the problem reported in
http://sources.redhat.com/ml/binutils/2002-03/msg00512.html ?
--
Alan Modra
IBM OzLabs - Linux Technology Centre