Versioning mess proved!!!
Christian Iseli
chris@ludwig-alpha.unil.ch
Tue Oct 3 09:04:00 GMT 2000
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
More information about the Libc-alpha
mailing list