[prev in list] [next in list] [prev in thread] [next in thread]
List: glibc-alpha
Subject: static linking with libpthread while using pthread_cond_timeout() fails
From: Mike Frysinger <vapier () gentoo ! org>
Date: 2007-11-14 4:34:26
Message-ID: 200711132334.28738.vapier () gentoo ! org
[Download RAW message or body]
trying to link something simple like:
$ cat test.c
main(){pthread_cond_timeout();}
$ gcc -static test.c -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.2/../../../../lib64/libpthread.a(pthread_cond_timedwait.o):
In function `pthread_cond_timedwait':
(.text+0xa7): undefined reference to `__vdso_clock_gettime'
collect2: ld returned 1 exit status
if static linking isnt going to be supported in glibc and in fact has known
bugs, then why are static archives built up/installed at all ?
-mike
["signature.asc" (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic