public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* glibc 2.2 cvs and gcc 3.1 last snapshot on SPARC
@ 2002-04-11 12:50 Thorsten Kukuk
  2002-04-11 13:25 ` [PATCH] " Jakub Jelinek
  0 siblings, 1 reply; 3+ messages in thread
From: Thorsten Kukuk @ 2002-04-11 12:50 UTC (permalink / raw)
  To: libc-hacker


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
../sysdeps/sparc/sparc32/__longjmp.S:43: Error: Illegal operands
../sysdeps/sparc/sparc32/__longjmp.S:48: Error: unknown pseudo-op: `.'
../sysdeps/sparc/sparc32/__longjmp.S:50: Error: Illegal operands
../sysdeps/sparc/sparc32/__longjmp.S:52: Error: Illegal operands
../sysdeps/sparc/sparc32/__longjmp.S:55: Error: unknown pseudo-op: `.'
../sysdeps/sparc/sparc32/__longjmp.S:72: Error: unknown pseudo-op: `.'
../sysdeps/sparc/sparc32/__longjmp.S:76: Error: unknown pseudo-op: `.'

Is this a glibc bug or a gcc 3.1 bug?

  Thorsten

-- 
Thorsten Kukuk       http://www.suse.de/~kukuk/        kukuk@suse.de
SuSE Linux AG        Deutschherrenstr. 15-19       D-90429 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] Re: glibc 2.2 cvs and gcc 3.1 last snapshot on SPARC
  2002-04-11 12:50 glibc 2.2 cvs and gcc 3.1 last snapshot on SPARC Thorsten Kukuk
@ 2002-04-11 13:25 ` Jakub Jelinek
  2002-04-11 13:43   ` Ulrich Drepper
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Jelinek @ 2002-04-11 13:25 UTC (permalink / raw)
  To: Thorsten Kukuk; +Cc: libc-hacker

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Re: glibc 2.2 cvs and gcc 3.1 last snapshot on SPARC
  2002-04-11 13:25 ` [PATCH] " Jakub Jelinek
@ 2002-04-11 13:43   ` Ulrich Drepper
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Drepper @ 2002-04-11 13:43 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: Thorsten Kukuk, libc-hacker

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

On Thu, 2002-04-11 at 13:25, Jakub Jelinek wrote:

> 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.

I've applied the patch.  Thanks,

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-11 20:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-11 12:50 glibc 2.2 cvs and gcc 3.1 last snapshot on SPARC Thorsten Kukuk
2002-04-11 13:25 ` [PATCH] " Jakub Jelinek
2002-04-11 13:43   ` Ulrich Drepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).