Bug 5531

Summary: __vdso_clock_gettime and static linking of libpthread
Product: glibc Reporter: Vladimir Panov <gbr>
Component: libcAssignee: Ulrich Drepper <drepper.fsp>
Status: VERIFIED WORKSFORME    
Severity: normal CC: glibc-bugs
Priority: P2 Flags: fweimer: security-
Version: unspecified   
Target Milestone: ---   
Host: x86_64-unknown-linux-gnu Target: x86_64-unknown-linux-gnu
Build: x86_64-unknown-linux-gnu Last reconfirmed:

Description Vladimir Panov 2008-01-01 13:02:29 UTC
The GLIBC version is 2.7. I am using a current Debian testing installation.
When linking with "-pthread -static" the following error occurs:

/usr/lib/gcc/x86_64-linux-gnu/4.1.3/../../../../lib/libpthread.a(pthread_cond_timedwait.o):
In function `pthread_cond_timedwait':
(.text+0xa7): undefined reference to `__vdso_clock_gettime'
Comment 1 Ulrich Drepper 2008-01-02 08:35:51 UTC
Don't report problems in vendor versions here.  The cvs glibc has no such problem.
Comment 2 Vladimir Panov 2008-01-02 20:51:20 UTC
Just for the record: this bug has been fixed in CVS just 3 weeks ago by... you.
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S.diff?r1=1.29&r2=1.30&cvsroot=glibc
Comment 3 Jackie Rosen 2014-02-16 16:55:38 UTC Comment hidden (spam)