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]

Re: Versioning mess proved!!!


Hi,

Franz.Sirl-kernel@lauterbach.com said:
> $ LD_LIBRARY_PATH=./213/ LD_BIND_NOW=1 ./tA
> 0x10010818 
> $ LD_LIBRARY_PATH=./22/ LD_BIND_NOW=1 ./tA
> 0x10010818
> Segmentation fault (core dumped)                                              

> The testcase works on both glibc-2.1.9x and gcc-2.1.3 systems and
> illustrates  the same fault I see with zlib, namely that during the
> execution the first  word of foo() gets relocated to an absolute
> branch to 0. This leads to a nice  segfault then. 

Tried it on alpha, both under glibc-2.1.2 and mainline glibc-2.1.94:
# LD_LIBRARY_PATH=./213/ LD_BIND_NOW=1 ./tA
0x20000122a90
# LD_LIBRARY_PATH=./22/ LD_BIND_NOW=1 ./tA
(nil)

This was compiled using mainline gcc (gcc version 2.96 20000929) and binutils 
2.10.0.26.  The glibc-2.1.94 test was done in a chroot'ed environment...

All the compilation was done in the glibc-2.1.2 environment.

Cheers,
					Christian



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