This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: Patch to fix 2.1 versioned symbols for MIPS...


On Thu, Jan 17, 2002 at 03:38:39PM -0600, Steven J. Hill wrote:
> "H . J . Lu" wrote:
> > 
> > # 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
> > 
> Mine is:
> root@dev1:/opt/build-glibc/io$ mipsel-linux-objdump --sym xstat64.os | grep
> xstat64
> xstat64.os:     file format elf32-tradlittlemips
> 0000012c l     F .text  00000000 xstat64_conv
> 00000000 g     F .text  00000000 ___xstat64
> 00000000 g     F .text  00000000 __old__xstat64
> 00000000 g     F .text  00000000 __xstat64@@GLIBC_2.2
> 00000000 g     F .text  00000000 __xstat64@GLIBC_2.1
> 
> > Please find out why you have __xstat64@GLIBC_2.1. Please post your
> > abi-versions.h.
> > 
> Attached, hopefully in the right format. Thanks.
> 

It is the same as mine. You need to figure out why

#if SHLIB_COMPAT(libc, GLIBC_2_1, GLIBC_2_2)
strong_alias (___xstat64, __old__xstat64)
compat_symbol (libc, __old__xstat64, __xstat64, GLIBC_2_1);
#endif

doesn't work for you. It can be a C preporssor problem.

> P.S. Tools being used:    binutils-cvs (current as of an hour ago)
>                           gcc-cvs (yesterday's)

I am building a new toolchain from gcc and binutils in CVS trunk to
see if it is the problem.

>                           glibc-2.2.5pre1
> 


H.J.


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