diff options
author | Dan Moulding <dan.moulding@rackwareinc.com> | 2014-04-29 08:54:57 -0600 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2014-06-12 17:01:31 +0200 |
commit | 3b688f42f091e04d050ec5ab71e29847def273e9 (patch) | |
tree | 1e38150eabf073ba42818a55a44a5400dec4d878 | |
parent | 2d5f1c499ff459c869e904aab0fcb1c0c70a5ce0 (diff) |
NPTL: Fix undefined reference to PRIVATE_FUTEX with 2.6.18 kernel
When compiling against the 2.6.18 kernel headers, during linking of
the NPTL library it runs into a "undefined reference to PRIVATE_FUTEX"
error in pthread_cond_timedwait.S. This resolves the problem by
ensuring that the definition for PRIVATE_FUTEX is made available to
pthread_cond_timedwait.S.
Signed-off-by: Dan Moulding <dan.moulding@rackwareinc.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S index 80174f9f3..fd388f993 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S @@ -22,6 +22,7 @@ #include <pthread-errnos.h> #include <pthread-pi-defines.h> #include <bits/kernel-features.h> +#include <tcb-offsets.h> .text |