From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4897 invoked by alias); 18 Apr 2004 02:02:50 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 4792 invoked from network); 18 Apr 2004 02:02:48 -0000 Received: from unknown (HELO sunsite.ms.mff.cuni.cz) (195.113.15.26) by sources.redhat.com with SMTP; 18 Apr 2004 02:02:48 -0000 Received: from sunsite.ms.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8) with ESMTP id i3HNpIHa006136; Sun, 18 Apr 2004 01:51:19 +0200 Received: (from jakub@localhost) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8/Submit) id i3HEvZoQ021977; Sat, 17 Apr 2004 16:57:35 +0200 Date: Sun, 18 Apr 2004 02:02:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Fix s390{,x} build, 2 warnings Message-ID: <20040417145735.GK514@sunsite.ms.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.4i X-SW-Source: 2004-04/txt/msg00049.txt.bz2 Hi! Without the first 2 hunks, s390{,x} gets undefined __syscall_error in librt.so, the latter 2 hunks shut up warning about missing free prototype on s390*. 2004-04-17 Jakub Jelinek * sysdeps/unix/sysv/linux/s390/Makefile (librt-routines): Add rt-sysdep. * sysdeps/unix/sysv/linux/s390/rt-sysdep.S: New file. nptl/ * sysdeps/unix/sysv/linux/mq_notify.c: Include stdlib.h. linuxthreads/ * sysdeps/unix/sysv/linux/mq_notify.c: Include stdlib.h. --- libc/sysdeps/unix/sysv/linux/s390/Makefile.jj 2002-10-16 05:02:48.000000000 +0200 +++ libc/sysdeps/unix/sysv/linux/s390/Makefile 2004-04-17 14:21:57.303198483 +0200 @@ -1 +1,4 @@ 64bit-predefine = __s390x__ +ifeq ($(subdir),rt) +librt-routines += rt-sysdep +endif --- libc/sysdeps/unix/sysv/linux/s390/rt-sysdep.S.jj 2004-04-17 14:18:55.142843991 +0200 +++ libc/sysdeps/unix/sysv/linux/s390/rt-sysdep.S 2004-04-17 14:18:47.197267941 +0200 @@ -0,0 +1 @@ +#include --- libc/nptl/sysdeps/unix/sysv/linux/mq_notify.c.jj 2004-04-17 12:14:23.000000000 +0200 +++ libc/nptl/sysdeps/unix/sysv/linux/mq_notify.c 2004-04-17 14:07:46.650646496 +0200 @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include --- libc/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c.jj 2004-04-17 12:14:22.000000000 +0200 +++ libc/linuxthreads/sysdeps/unix/sysv/linux/mq_notify.c 2004-04-17 14:08:08.360755762 +0200 @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include Jakub