From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29260 invoked by alias); 11 Apr 2002 20:25:38 -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 29213 invoked from network); 11 Apr 2002 20:25:35 -0000 Received: from unknown (HELO sunsite.mff.cuni.cz) (195.113.19.66) by sources.redhat.com with SMTP; 11 Apr 2002 20:25:35 -0000 Received: (from jakub@localhost) by sunsite.mff.cuni.cz (8.11.6/8.11.6) id g3BKPTm25451; Thu, 11 Apr 2002 22:25:29 +0200 Date: Thu, 11 Apr 2002 13:25:00 -0000 From: Jakub Jelinek To: Thorsten Kukuk Cc: libc-hacker@sources.redhat.com Subject: [PATCH] Re: glibc 2.2 cvs and gcc 3.1 last snapshot on SPARC Message-ID: <20020411222529.I32482@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek References: <20020411215053.A6545@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020411215053.A6545@suse.de>; from kukuk@suse.de on Thu, Apr 11, 2002 at 09:50:53PM +0200 X-SW-Source: 2002-04/txt/msg00046.txt.bz2 On Thu, Apr 11, 2002 at 09:50:53PM +0200, Thorsten Kukuk wrote: > > Hi, > > I try to compile current glibc 2.2 cvs snapshot with the latest > gcc 3.1 snapshot. It fails with: > > ../sysdeps/sparc/sparc32/__longjmp.S: Assembler messages: > ../sysdeps/sparc/sparc32/__longjmp.S:41: Error: Illegal operands > > Is this a glibc bug or a gcc 3.1 bug? glibc bug. 2002-04-11 Jakub Jelinek * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (LOC): Don't paste in a token. * sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h (LOC): Likewise. --- libc/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h.jj Thu Aug 23 18:51:33 2001 +++ libc/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h Thu Apr 11 22:30:51 2002 @@ -1,4 +1,4 @@ -/* Copyright (C) 1997 Free Software Foundation, Inc. +/* Copyright (C) 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Miguel de Icaza , January 1997. @@ -48,7 +48,7 @@ #define END(name) \ .size name, . - name -#define LOC(name) . ## L ## name +#define LOC(name) .L##name #ifdef PIC #define SYSCALL_ERROR_HANDLER \ --- libc/sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h.jj Thu Aug 23 18:51:40 2001 +++ libc/sysdeps/unix/sysv/sysv4/solaris2/sparc/sysdep.h Thu Apr 11 22:31:14 2002 @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1994, 1995, 1997, 1998 Free Software Foundation, Inc. +/* Copyright (C) 1993,1994,1995,1997,1998,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Brendan Kehoe (brendan@zen.org). @@ -51,6 +51,6 @@ #define r1 %o1 #define MOVE(x,y) mov x, y -#define LOC(name) .##L##name +#define LOC(name) .L##name #endif /* __ASSEMBLER__ */ Jakub