From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26105 invoked by alias); 31 Jan 2006 21:59:30 -0000 Received: (qmail 26088 invoked by uid 22791); 31 Jan 2006 21:59:29 -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; Tue, 31 Jan 2006 21:59:27 +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 k0VLxFSx031910; Tue, 31 Jan 2006 22:59:15 +0100 Received: (from jj@localhost) by sunsite.mff.cuni.cz (8.13.1/8.13.1/Submit) id k0VLxEqZ031909; Tue, 31 Jan 2006 22:59:14 +0100 Date: Tue, 31 Jan 2006 21:59:00 -0000 From: Jakub Jelinek To: Ulrich Drepper , Roland McGrath Cc: Glibc hackers Subject: [PATCH] Fix sparc64 build Message-ID: <20060131215914.GW4625@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-01/txt/msg00105.txt.bz2 Hi! sparc64 doesn't have jmpbuf-offsets.h (and doesn't need them, uses a struct instead). The i386/fxstatat.c fixes /usr/src/redhat/BUILD/libc2/obj2/libc_pic.os: In function `fstatat64': ../io/sys/stat.h:507: undefined reference to `__GI___fxstatat64' and the linux/fxstatat.c change is the same thing. __fxstatat64 that has libc_hidden_proto on it is redefined throughout the file to a different name, so libc_hidden_ver rather than libc_hidden_def is needed. 2006-01-31 Jakub Jelinek * sysdeps/unix/sysv/linux/i386/fxstatat.c [XSTAT_IS_STAT64] (__fxstatat64): Add libc_hidden_ver. * sysdeps/unix/sysv/linux/fxstatat.c [XSTAT_IS_STAT64] (__fxstatat64): Likewise. * sysdeps/sparc/sparc64/jmpbuf-unwind.h: Remove jmpbuf-offsets.h include. --- libc/sysdeps/unix/sysv/linux/i386/fxstatat.c.jj 2006-01-11 10:55:32.000000000 -0500 +++ libc/sysdeps/unix/sysv/linux/i386/fxstatat.c 2006-01-31 16:56:54.000000000 -0500 @@ -149,4 +149,5 @@ __fxstatat (int vers, int fd, const char #ifdef XSTAT_IS_XSTAT64 # undef __fxstatat64 strong_alias (__fxstatat, __fxstatat64); +libc_hidden_ver (__fxstatat, __fxstatat64) #endif --- libc/sysdeps/unix/sysv/linux/fxstatat.c.jj 2006-01-19 02:58:06.000000000 -0500 +++ libc/sysdeps/unix/sysv/linux/fxstatat.c 2006-01-31 17:03:57.000000000 -0500 @@ -105,4 +105,5 @@ __fxstatat (int vers, int fd, const char #ifdef XSTAT_IS_XSTAT64 # undef __fxstatat64 strong_alias (__fxstatat, __fxstatat64); +libc_hidden_ver (__fxstatat, __fxstatat64) #endif --- libc/sysdeps/sparc/sparc64/jmpbuf-unwind.h.jj 2006-01-14 11:41:04.000000000 -0500 +++ libc/sysdeps/sparc/sparc64/jmpbuf-unwind.h 2006-01-31 16:26:25.000000000 -0500 @@ -18,7 +18,6 @@ 02111-1307 USA. */ #include -#include #include #include Jakub