From patchwork Tue Apr 29 04:54:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Moulding X-Patchwork-Id: 343861 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 9C31B140101 for ; Wed, 30 Apr 2014 00:55:37 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9F2C5866DD; Tue, 29 Apr 2014 14:55:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hlblyTodbuuW; Tue, 29 Apr 2014 14:55:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id A12778B376; Tue, 29 Apr 2014 14:55:35 +0000 (UTC) X-Original-To: uclibc@lists.busybox.net Delivered-To: uclibc@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 96EC01BF99C for ; Tue, 29 Apr 2014 14:55:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 93770857A7 for ; Tue, 29 Apr 2014 14:55:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bZITuorw8ZzU for ; Tue, 29 Apr 2014 14:55:33 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp144.ord.emailsrvr.com (smtp144.ord.emailsrvr.com [173.203.6.144]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 7C49385787 for ; Tue, 29 Apr 2014 14:55:33 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp11.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTP id BD53DF078E; Tue, 29 Apr 2014 10:55:32 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp11.relay.ord1a.emailsrvr.com (Authenticated sender: dan.moulding-AT-rackwareinc.com) with ESMTPA id 5BDC3F0777; Tue, 29 Apr 2014 10:55:32 -0400 (EDT) X-Sender-Id: dan.moulding@rackwareinc.com Received: from sagan.slc.rackwareinc.com (c-98-202-161-149.hsd1.ut.comcast.net [98.202.161.149]) by 0.0.0.0:25 (trex/5.0.24); Tue, 29 Apr 2014 14:55:32 GMT From: Dan Moulding To: uclibc@uclibc.org Subject: [PATCH] NPTL: Fix undefined reference to PRIVATE_FUTEX with 2.6.18 kernel Date: Tue, 29 Apr 2014 08:54:57 -0600 Message-Id: <1398783297-18648-2-git-send-email-dan.moulding@rackwareinc.com> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1398783297-18648-1-git-send-email-dan.moulding@rackwareinc.com> References: <1398783297-18648-1-git-send-email-dan.moulding@rackwareinc.com> X-BeenThere: uclibc@uclibc.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion and development of uClibc \(the embedded C library\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: uclibc-bounces@uclibc.org Sender: uclibc-bounces@uclibc.org 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 --- .../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S | 1 + 1 file changed, 1 insertion(+) 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 80174f9..fd388f9 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 #include #include +#include .text