From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13776 invoked by alias); 1 Mar 2006 21:19:10 -0000 Received: (qmail 13754 invoked by uid 22791); 1 Mar 2006 21:19:10 -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; Wed, 01 Mar 2006 21:19:07 +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 k21LJ1YI008696; Wed, 1 Mar 2006 22:19:01 +0100 Received: (from jj@localhost) by sunsite.mff.cuni.cz (8.13.1/8.13.1/Submit) id k21LJ1nF008695; Wed, 1 Mar 2006 22:19:01 +0100 Date: Wed, 01 Mar 2006 21:19:00 -0000 From: Jakub Jelinek To: Roland McGrath , Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Fix sparc64 build Message-ID: <20060301211901.GK30252@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-03/txt/msg00005.txt.bz2 Hi! And this is needed for sparc64. The reason why libc_hidden_def (__fxstatat64) can't be used is that there is /* Ho hum, if fxstatat == fxstatat64 we must get rid of the prototype or gcc will complain since they don't strictly match. */ #define __fxstatat64 __fxstatat64_disable at the beginning of the file. That means there is no libc_hidden_proto (__fxstatat64) in headers and therefore we need to use libc_hidden_ver. 2006-03-01 Jakub Jelinek * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat64): Use libc_hidden_ver rather than libc_hidden_def. --- libc/sysdeps/unix/sysv/linux/i386/fxstatat.c.jj 2006-02-12 16:32:59.000000000 -0500 +++ libc/sysdeps/unix/sysv/linux/i386/fxstatat.c 2006-03-01 13:57:58.000000000 -0500 @@ -172,5 +172,5 @@ libc_hidden_def (__fxstatat) #ifdef XSTAT_IS_XSTAT64 # undef __fxstatat64 strong_alias (__fxstatat, __fxstatat64); -libc_hidden_def (__fxstatat64) +libc_hidden_ver (__fxstatat, __fxstatat64) #endif --- libc/sysdeps/sparc/sparc64/fpu/libm-test-ulps.jj 2006-01-15 12:59:38.000000000 -0500 +++ libc/sysdeps/sparc/sparc64/fpu/libm-test-ulps 2006-03-01 16:28:05.000000000 -0500 @@ -465,6 +465,11 @@ ifloat: 2 ildouble: 1 ldouble: 1 +# exp2 +Test "exp2 (10) == 1024": +ildouble: 2 +ldouble: 2 + # expm1 Test "expm1 (0.75) == 1.11700001661267466854536981983709561": double: 1 @@ -1192,6 +1197,10 @@ ifloat: 2 ildouble: 1 ldouble: 1 +Function: "exp2": +ildouble: 2 +ldouble: 2 + Function: "expm1": double: 1 float: 1 Jakub