This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 5531
  __vdso_clock_gettime and static linking of libpthread Last modified: 2008-01-02 20:51:20
     Query page      Enter new bug
Bug#: 5531   Hardware:   Reporter: Vladimir Panov <gbr@voidland.org>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: VERIFIED   Priority:  
Resolution: WORKSFORME   Severity:  
Assigned To: Ulrich Drepper <drepper@redhat.com>   Target Milestone:  
Flags: Requestee:
  backport ()
  examined ()
  testsuite ()
Summary:
Keywords:

Attachment Description Type Created Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 5531 depends on: Show dependency tree
Show dependency graph
Bug 5531 blocks:

Additional Comments:


Leave as VERIFIED WORKSFORME
Reopen bug

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2008-01-01 13:02
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'

------- Additional Comment #1 From Ulrich Drepper 2008-01-02 08:35 -------
Don't report problems in vendor versions here.  The cvs glibc has no such problem.

------- Additional Comment #2 From Vladimir Panov 2008-01-02 20:51 -------
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

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In