nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S was updated to call clock_gettime via the VDSO if possible, but that vdso symbol is only provided for SHARED code (see libc/sysdeps/unix/sysv/linux/x86_64/init-first.c). thus, linking against libpthread.a and using pthread_cond_timedwait() on x86_64 will cause a link failure (undefined __vdso_clock_gettime symbol). the attached patch by Michal Januszewski will only use the vdso symbol when SHARED is defined.
Created attachment 2131 [details] glibc-libpthread-x86-64-vdso-SHARED.patch
Patch is in cvs.