public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* architecture status, please
@ 2003-02-19 22:41 Ulrich Drepper
  2003-02-19 23:03 ` Franz Sirl
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Ulrich Drepper @ 2003-02-19 22:41 UTC (permalink / raw)
  To: GNU libc hacker

I think things have stablelized now and we can think about 2.3.2.  Do
all architectures which worked in 2.3.1 work now?  Are any other
architectures which didn't work in 2.3.1 close to working with the
current tree?

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------

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

* Re: architecture status, please
  2003-02-19 22:41 architecture status, please Ulrich Drepper
@ 2003-02-19 23:03 ` Franz Sirl
  2003-02-20  2:54 ` kaz Kojima
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 13+ messages in thread
From: Franz Sirl @ 2003-02-19 23:03 UTC (permalink / raw)
  To: Ulrich Drepper, GNU libc hacker

On Wednesday 19 February 2003 23:41, Ulrich Drepper wrote:
> I think things have stablelized now and we can think about 2.3.2.  Do
> all architectures which worked in 2.3.1 work now?  Are any other
> architectures which didn't work in 2.3.1 close to working with the
> current tree?

I have one small patch queued for tomorrow and need to check the Dist files. 
Besides that PPC32 is fine.

Franz.

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

* Re: architecture status, please
  2003-02-19 22:41 architecture status, please Ulrich Drepper
  2003-02-19 23:03 ` Franz Sirl
@ 2003-02-20  2:54 ` kaz Kojima
  2003-02-20  4:51   ` [PATCH] SH: fix pread/pwrite (Was: architecture status, please) kaz Kojima
  2003-02-20  8:25 ` architecture status, please Andreas Jaeger
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 13+ messages in thread
From: kaz Kojima @ 2003-02-20  2:54 UTC (permalink / raw)
  To: libc-hacker

Ulrich Drepper <drepper@redhat.com> wrote:
> I think things have stablelized now and we can think about 2.3.2.  Do
> all architectures which worked in 2.3.1 work now?  Are any other
> architectures which didn't work in 2.3.1 close to working with the
> current tree?

I've heard from SH kernel people that the kernel fixes the syscall
ABI for pread/pwrite* since the old one didn't work properly on SH-4
anyway, and a small fix is required in libc.
I'll send a patch for it till tomorrow. There are no other known
problems on SH.

Regards,
	kaz

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

* [PATCH] SH: fix pread/pwrite (Was: architecture status, please)
  2003-02-20  2:54 ` kaz Kojima
@ 2003-02-20  4:51   ` kaz Kojima
  2003-02-20  5:32     ` Ulrich Drepper
  0 siblings, 1 reply; 13+ messages in thread
From: kaz Kojima @ 2003-02-20  4:51 UTC (permalink / raw)
  To: libc-hacker

Hi,

This is a patch for syscall ABI fixing of pread/pread64/pwrite/pwrite64
on SH linux target. Kernel folks took the MIPS's way.

Regards,
	kaz
--
2003-02-20  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/unix/sysv/linux/sh/pread.c: New file.
	* sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
	* sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
	* sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.

diff -u3prN ORIG/libc/sysdeps/unix/sysv/linux/sh/pread.c LOCAL/libc/sysdeps/unix/sysv/linux/sh/pread.c
--- ORIG/libc/sysdeps/unix/sysv/linux/sh/pread.c	Thu Jan  1 09:00:00 1970
+++ LOCAL/libc/sysdeps/unix/sysv/linux/sh/pread.c	Thu Feb 20 13:19:20 2003
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/mips/pread.c>
diff -u3prN ORIG/libc/sysdeps/unix/sysv/linux/sh/pread64.c LOCAL/libc/sysdeps/unix/sysv/linux/sh/pread64.c
--- ORIG/libc/sysdeps/unix/sysv/linux/sh/pread64.c	Thu Jan  1 09:00:00 1970
+++ LOCAL/libc/sysdeps/unix/sysv/linux/sh/pread64.c	Thu Feb 20 13:19:20 2003
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/mips/pread64.c>
diff -u3prN ORIG/libc/sysdeps/unix/sysv/linux/sh/pwrite.c LOCAL/libc/sysdeps/unix/sysv/linux/sh/pwrite.c
--- ORIG/libc/sysdeps/unix/sysv/linux/sh/pwrite.c	Thu Jan  1 09:00:00 1970
+++ LOCAL/libc/sysdeps/unix/sysv/linux/sh/pwrite.c	Thu Feb 20 13:19:20 2003
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/mips/pwrite.c>
diff -u3prN ORIG/libc/sysdeps/unix/sysv/linux/sh/pwrite64.c LOCAL/libc/sysdeps/unix/sysv/linux/sh/pwrite64.c
--- ORIG/libc/sysdeps/unix/sysv/linux/sh/pwrite64.c	Thu Jan  1 09:00:00 1970
+++ LOCAL/libc/sysdeps/unix/sysv/linux/sh/pwrite64.c	Thu Feb 20 13:19:20 2003
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/mips/pwrite64.c>

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

* Re: [PATCH] SH: fix pread/pwrite (Was: architecture status, please)
  2003-02-20  4:51   ` [PATCH] SH: fix pread/pwrite (Was: architecture status, please) kaz Kojima
@ 2003-02-20  5:32     ` Ulrich Drepper
  0 siblings, 0 replies; 13+ messages in thread
From: Ulrich Drepper @ 2003-02-20  5:32 UTC (permalink / raw)
  To: kaz Kojima; +Cc: libc-hacker

kaz Kojima wrote:

> This is a patch for syscall ABI fixing of pread/pread64/pwrite/pwrite64
> on SH linux target. Kernel folks took the MIPS's way.

Thanks, I've added the patch.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------

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

* Re: architecture status, please
  2003-02-19 22:41 architecture status, please Ulrich Drepper
  2003-02-19 23:03 ` Franz Sirl
  2003-02-20  2:54 ` kaz Kojima
@ 2003-02-20  8:25 ` Andreas Jaeger
  2003-02-25 14:15   ` Andreas Jaeger
  2003-02-20 19:35 ` Richard Henderson
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 13+ messages in thread
From: Andreas Jaeger @ 2003-02-20  8:25 UTC (permalink / raw)
  To: Ulrich Drepper; +Cc: GNU libc hacker

Ulrich Drepper <drepper@redhat.com> writes:

> I think things have stablelized now and we can think about 2.3.2.  Do
> all architectures which worked in 2.3.1 work now?  Are any other
> architectures which didn't work in 2.3.1 close to working with the
> current tree?

x86-64 works and passes the complete testsuite with the exception of
the linuxthreads/ex18 problem that I mentioned on libc-alpha.

But this didn't work in 2.3.1 either, so we're as good as before - and
in most areas we're better ;-).

So, feel free to go ahead.

A prerelease might be a good idea,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

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

* Re: architecture status, please
  2003-02-19 22:41 architecture status, please Ulrich Drepper
                   ` (2 preceding siblings ...)
  2003-02-20  8:25 ` architecture status, please Andreas Jaeger
@ 2003-02-20 19:35 ` Richard Henderson
  2003-02-21  7:25   ` Richard Henderson
  2003-02-20 21:12 ` Philip Blundell
  2003-02-25  8:37 ` unwind info fix for ia64 David Mosberger
  5 siblings, 1 reply; 13+ messages in thread
From: Richard Henderson @ 2003-02-20 19:35 UTC (permalink / raw)
  To: Ulrich Drepper; +Cc: GNU libc hacker

On Wed, Feb 19, 2003 at 02:41:07PM -0800, Ulrich Drepper wrote:
> I think things have stablelized now and we can think about 2.3.2.  Do
> all architectures which worked in 2.3.1 work now?

Alpha works --with-tls --without-__thread.


r~

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

* Re: architecture status, please
  2003-02-19 22:41 architecture status, please Ulrich Drepper
                   ` (3 preceding siblings ...)
  2003-02-20 19:35 ` Richard Henderson
@ 2003-02-20 21:12 ` Philip Blundell
  2003-02-25  8:37 ` unwind info fix for ia64 David Mosberger
  5 siblings, 0 replies; 13+ messages in thread
From: Philip Blundell @ 2003-02-20 21:12 UTC (permalink / raw)
  To: Ulrich Drepper; +Cc: GNU libc hacker

On Wed, 2003-02-19 at 22:41, Ulrich Drepper wrote:
> I think things have stablelized now and we can think about 2.3.2.  Do
> all architectures which worked in 2.3.1 work now?  Are any other
> architectures which didn't work in 2.3.1 close to working with the
> current tree?

With the sysdep.h patch I sent earlier, Arm seems to be working at least
as well as it did in 2.3.1.  "make check" passes with no errors other
than the normal ones relating to floating point.

p.

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

* Re: architecture status, please
  2003-02-20 19:35 ` Richard Henderson
@ 2003-02-21  7:25   ` Richard Henderson
  0 siblings, 0 replies; 13+ messages in thread
From: Richard Henderson @ 2003-02-21  7:25 UTC (permalink / raw)
  To: Ulrich Drepper, GNU libc hacker

On Thu, Feb 20, 2003 at 11:35:45AM -0800, Richard Henderson wrote:
> Alpha works --with-tls --without-__thread.

Also --with-__thread.


r~

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

* unwind info fix for ia64
  2003-02-19 22:41 architecture status, please Ulrich Drepper
                   ` (4 preceding siblings ...)
  2003-02-20 21:12 ` Philip Blundell
@ 2003-02-25  8:37 ` David Mosberger
  2003-02-27  9:33   ` Ulrich Drepper
  5 siblings, 1 reply; 13+ messages in thread
From: David Mosberger @ 2003-02-25  8:37 UTC (permalink / raw)
  To: Ulrich Drepper; +Cc: GNU libc hacker, linux-ia64

Here is a small bug-fix for libc's __syscall_error to get the unwind
info correct.  Did "make check" afterwards and ran a test program to
verify that unwinding works correctly now for this function.

	--david

2003-02-24    <davidm@hpl.hp.com>

	* sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix
	unwind info.

Index: sysdeps/unix/sysv/linux/ia64/sysdep.S
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/ia64/sysdep.S,v
retrieving revision 1.5
diff -u -r1.5 sysdep.S
--- sysdeps/unix/sysv/linux/ia64/sysdep.S	11 Oct 2002 10:51:24 -0000	1.5
+++ sysdeps/unix/sysv/linux/ia64/sysdep.S	25 Feb 2003 08:30:31 -0000
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2001, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by David Mosberger-Tang <davidm@hpl.hp.com>.
 
@@ -23,18 +23,19 @@
 ENTRY(__syscall_error)
 #ifdef _LIBC_REENTRANT
 	.prologue ASM_UNW_PRLG_RP|ASM_UNW_PRLG_PFS, ASM_UNW_PRLG_GRSAVE(0)
-	alloc	r35=ar.pfs, 0, 4, 0, 0
+	alloc	r33=ar.pfs, 0, 4, 0, 0
 	mov	r32=rp
-	mov	r33=r8
+	.body
+	mov	r35=r8
 	mov	r34=r1
 	;;
-	br.call.sptk.many b0 = __errno_location#
+	br.call.sptk.many b0 = __errno_location
 .Lret0:		/* force new bundle */
-	st4	[r8]=r33
+	st4	[r8]=r35
 	mov	r1=r34
 	mov	rp=r32
 	mov	r8=-1
-	mov	ar.pfs=r35
+	mov	ar.pfs=r33
 #else /* _LIBC_REENTRANT */
 	/*
 	 * Note that the gp has to be set properly for this to work.

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

* Re: architecture status, please
  2003-02-20  8:25 ` architecture status, please Andreas Jaeger
@ 2003-02-25 14:15   ` Andreas Jaeger
  2003-02-25 14:17     ` Jakub Jelinek
  0 siblings, 1 reply; 13+ messages in thread
From: Andreas Jaeger @ 2003-02-25 14:15 UTC (permalink / raw)
  To: Ulrich Drepper; +Cc: GNU libc hacker


With a fixed kernel for x86-64, I just tested current CVS successfully
with:
- with-tls --without-thread
- normal (--without-tls --without-thread)

The whole testsuite passed.

So, the x86-64 architecture support looks fine with current CVS glibc
and current CVS kernel

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

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

* Re: architecture status, please
  2003-02-25 14:15   ` Andreas Jaeger
@ 2003-02-25 14:17     ` Jakub Jelinek
  0 siblings, 0 replies; 13+ messages in thread
From: Jakub Jelinek @ 2003-02-25 14:17 UTC (permalink / raw)
  To: Andreas Jaeger; +Cc: Ulrich Drepper, GNU libc hacker

On Tue, Feb 25, 2003 at 03:15:00PM +0100, Andreas Jaeger wrote:
> 
> With a fixed kernel for x86-64, I just tested current CVS successfully
> with:
> - with-tls --without-thread
> - normal (--without-tls --without-thread)

and
--with-tls --with-__thread
is what I've tested yesterday (in addition to the usual
--with-tls --without-__thread).

> The whole testsuite passed.

Ditto.

	Jakub

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

* Re: unwind info fix for ia64
  2003-02-25  8:37 ` unwind info fix for ia64 David Mosberger
@ 2003-02-27  9:33   ` Ulrich Drepper
  0 siblings, 0 replies; 13+ messages in thread
From: Ulrich Drepper @ 2003-02-27  9:33 UTC (permalink / raw)
  To: davidm; +Cc: GNU libc hacker, linux-ia64

David Mosberger wrote:
> Here is a small bug-fix for libc's __syscall_error to get the unwind
> info correct.  Did "make check" afterwards and ran a test program to
> verify that unwinding works correctly now for this function.

I've applied the patch.  Thanks,

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------

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

end of thread, other threads:[~2003-02-27  9:33 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-19 22:41 architecture status, please Ulrich Drepper
2003-02-19 23:03 ` Franz Sirl
2003-02-20  2:54 ` kaz Kojima
2003-02-20  4:51   ` [PATCH] SH: fix pread/pwrite (Was: architecture status, please) kaz Kojima
2003-02-20  5:32     ` Ulrich Drepper
2003-02-20  8:25 ` architecture status, please Andreas Jaeger
2003-02-25 14:15   ` Andreas Jaeger
2003-02-25 14:17     ` Jakub Jelinek
2003-02-20 19:35 ` Richard Henderson
2003-02-21  7:25   ` Richard Henderson
2003-02-20 21:12 ` Philip Blundell
2003-02-25  8:37 ` unwind info fix for ia64 David Mosberger
2003-02-27  9:33   ` 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).