From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7225 invoked by alias); 29 Sep 2002 20:28:14 -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 7209 invoked from network); 29 Sep 2002 20:28:13 -0000 Received: from unknown (HELO sunsite.mff.cuni.cz) (195.113.19.66) by sources.redhat.com with SMTP; 29 Sep 2002 20:28:13 -0000 Received: (from jakub@localhost) by sunsite.mff.cuni.cz (8.11.6/8.11.6) id g8TKS9T26824; Sun, 29 Sep 2002 22:28:09 +0200 Date: Sun, 29 Sep 2002 13:28:00 -0000 From: Jakub Jelinek To: Roland McGrath , Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Fix sparc64 build Message-ID: <20020929222809.K3451@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.2.5.1i X-SW-Source: 2002-09/txt/msg00095.txt.bz2 Hi! Without this I got ../sysdeps/unix/sysv/linux/seteuid.c:26:58: operator '>' has no left operand error in sparc64 build. Verified no other broken defines like this are in kernel-features.h. sparc32 make check is still ongoing, so far only bug-regex12 failed. Also, one note to all the builds - they were done with the __ctype_b etc. exporting patch as @@GLIBC*, not @GLIBC*, so although it works for me on ia64, it probably doesn't work for others there due to ld issues. 2002-09-29 Jakub Jelinek * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SETRESUID_SYSCALL): On the sparc, define to 1, not empty. --- libc/sysdeps/unix/sysv/linux/kernel-features.h.jj 2002-09-18 00:31:46.000000000 +0200 +++ libc/sysdeps/unix/sysv/linux/kernel-features.h 2002-09-29 22:28:04.000000000 +0200 @@ -124,7 +124,7 @@ /* Linux 2.3.39 sparc added setresuid. */ #if __LINUX_KERNEL_VERSION >= 131879 && defined __sparc__ -# define __ASSUME_SETRESUID_SYSCALL +# define __ASSUME_SETRESUID_SYSCALL 1 #endif /* Linux 2.3.39 introduced IPC64. Except for powerpc. */ Jakub