This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Patch to fix 2.1 versioned symbols for MIPS...
On Thu, Jan 17, 2002 at 03:18:10PM -0600, Steven J. Hill wrote:
> "H . J . Lu" wrote:
> >
> > I see nothing wrong with the current glibc on mips. A symbol with the
> > version name GLIBC_2.1 means it was introduced in glibc 2.1. Unless
> > it is obsoleted by a new version, we still need it.
> >
> I disagree. There IS a problem. If I attempt to compile GLIBC for
> target 'mipsel-linux'. Observe the output:
>
> Now, let's see where the symbol is coming from:
>
> root@dev1:/opt/build-glibc$ find . -name '*.o*' -exec mipsel-linux-nm -A {} \;
> 2>/dev/null | grep __xstat64\@GLIBC_2
> ./elf/librtld.os:000137e0 T __xstat64@GLIBC_2.1
> ./io/xstat64.os:00000000 T __xstat64@GLIBC_2.1
> root@dev1:/opt/build-glibc$
# objdump --sym ./io/xstat64.os | grep xstat64
./io/xstat64.os: file format elf32-tradlittlemips
00000000 g F .text 00000000 ___xstat64
00000000 g F .text 00000000 __xstat64@@GLIBC_2.2
Please find out why you have __xstat64@GLIBC_2.1. Please post your
abi-versions.h.
H.J.