From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6901 invoked by alias); 2 Oct 2006 18:26:51 -0000 Received: (qmail 6885 invoked by uid 22791); 2 Oct 2006 18:26:50 -0000 X-Spam-Check-By: sourceware.org Received: from sunsite.ms.mff.cuni.cz (HELO sunsite.mff.cuni.cz) (195.113.15.26) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 02 Oct 2006 18:26:44 +0000 Received: from sunsite.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.mff.cuni.cz (8.13.1/8.13.1) with ESMTP id k92IQcvM029254; Mon, 2 Oct 2006 20:26:38 +0200 Received: (from jj@localhost) by sunsite.mff.cuni.cz (8.13.1/8.13.1/Submit) id k92IQcLJ029253; Mon, 2 Oct 2006 20:26:38 +0200 Date: Mon, 02 Oct 2006 18:26:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Fix sparc64 Message-ID: <20061002182637.GH4556@sunsite.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00000.txt.bz2 Hi! NPTL fails to build on sparc64, as ptw-pause.os needs __sigprocmask, which is only defined in libc.so (and not exported), but not in libpthread.so. I guess the easiest fix is just to inline the call instead of ensuring sigprocmask.os is linked into libpthread.so. 2006-10-02 Jakub Jelinek [BZ #3291] * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include errno.h, signal.h, unistd.h and sysdep-cancel.h. (__sigprocmask): Define. --- libc/sysdeps/unix/sysv/linux/sparc/sparc64/pause.c.jj 2006-08-22 10:42:34.000000000 +0200 +++ libc/sysdeps/unix/sysv/linux/sparc/sparc64/pause.c 2006-10-02 20:08:42.000000000 +0200 @@ -1 +1,9 @@ +#include +#include +#include +#include + +#define __sigprocmask(how, set, oset) \ + INLINE_SYSCALL (rt_sigprocmask, 4, how, set, oset, _NSIG / 8) + #include Jakub