This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Re: glibc 2.2 cvs and gcc 3.1 last snapshot on SPARC


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  <jakub@redhat.com>

	* 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 <miguel@gnu.ai.mit.edu>, 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]