linux-2.5.34_vsyscall_A0
Quoted 5 lines · Andrea Arcangeli
the main reason it wasn't backported to i386 is that if glibc start using the vgettimeofday instead of
sys_gettimeofday, you won't be able to downgrade kernel anymore to say 2.4 (oh yeah, I would then backport it to my tree or Marcelo could apply the patches too to 2.4 but then 2.2 would be left uncovered, new glibc would segfault on the old kernels).
Does that problem actually exist?
http://marc.theaimsgroup.com/?l=linux-kernel&m=103253890431473&w=2
Jakub Jelinek <[email protected]> wrote on 2002-09-20 16:15:25
Quoted 8 lines
glibc supports .note.ABI-tag notes for libraries, so there is no problem with having NPTL libpthread.so.0 --enable-kernel=2.5.36 in say
/lib/i686/libpthread.so.0and linuxthreads --enable-kernel=2.2.1 in/lib/libpthread.so.0. The dynamic linker will then choose based on currently running kernel.
(well, ATM because of libc tsdDL_ERROR--without-tls ld.so cannot be used with --with-tls libs and vice versa, but that is beeing worked on).
It should be possible to have one library that supports both syscall interfaces for gettimeofday().
--
Manfred