This is the mail archive of the libc-alpha@sourceware.org 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]

Should a newer ld.so work with older libc.so (and the other way around)?


Right now there seems like there has been a recent change which broke
both ways.  This happens on AARCH64-linux-gnu.

For the newer ld.so I get:
apinski@apinski-t99:~/src/glibc/objdir2$ ./elf/ld.so `which true`
/bin/true: error while loading shared libraries:
__kernel_gettimeofday: invalid mode for dlopen(): Invalid argument

I am suspecting this caused that:
2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>

        * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
        Define and include sysdep-vdso.h.
        * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
        Likewise.
        * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
        Likewise.
....


With the newer libc.so (without the newer ld.so):

apinski@apinski-t99:~/src/glibc/objdir2$ LD_LIBRARY_PATH=. ls
ls: relocation error: /lib/aarch64-linux-gnu/libpthread.so.0: symbol
__libc_dl_error_tsd, version GLIBC_PRIVATE not defined in file
libc.so.6 with link time reference

And this one was caused by:
2016-11-30  Florian Weimer  <fweimer@redhat.com>

        [BZ #16628]


Note I also get some crashes weird due to ld.so and libc.so not being
compatible too.

If this is supposed to work, it means the 2.24 and 2.25 releases are
ABI incompatible with 2.23 release.

Thanks,
Andrew

Thanks,
Andrew


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