Re: VDSO gettimeofday() x86_64 linux 3.2

From: Andy Lutomirski
Date: Tue Oct 16 2012 - 17:37:01 EST


On Tue, Oct 16, 2012 at 12:43 PM, wilson self <wself00@xxxxxxxxx> wrote:
> I am just using gcc timetest.c -o timetest
>
> Should be dynamically linked. glibc is 2.5, which is quite old, but I
> think this should still work with it, no?

You need at least glibc 2.7 for this to work well on modern kernels.
FWIW, glibc 2.7 is five years old.

--Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/