OSDN Git Service

NPTL: Fix undefined reference to PRIVATE_FUTEX with 2.6.18 kernel
authorDan Moulding <dan.moulding@rackwareinc.com>
Tue, 29 Apr 2014 14:54:57 +0000 (08:54 -0600)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 12 Jun 2014 15:01:31 +0000 (17:01 +0200)
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>
libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S

index 80174f9..fd388f9 100644 (file)
@@ -22,6 +22,7 @@
 #include <pthread-errnos.h>
 #include <pthread-pi-defines.h>
 #include <bits/kernel-features.h>
+#include <tcb-offsets.h>
 
 
        .text