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


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

Re: glibc 2.2.5pre1



> > We've tested pre1 on PowerPC, Sparc, x86 and ia64 without further
> > problems.  S390 failed but I expect that S390 works with Martin's
> > latest patches,
> It works with gcc 2.95.3. Uli Weigand found two more problems with
> gcc 3.1. I am working on a fix but I have to code swapcontext.c in
> assembly to get it right and this takes time. Problem is that gcc 3.1
> does not allow the address of a label to be used outside the function
> where the label is defined.
The second problem is a race condition in linuxthreads. This is fixed
with the memory barrier definition. The patch for the two problems:

2002-01-16  Martin Schwidefsky <schwidefsky@de.ibm.com>

     * linuxthreads/sysdeps/s390/s390-32/pt-machine.h:
     (MEMORY_BARRIER): Define.
     (CURRENT_STACK_FRAME): Remove duplicate definition.
     * linuxthreads/sysdeps/s390/s390-64/pt-machine.h: Likewise.
     * sysdeps/unix/sysv/linux/s390/swapcontext.c: Remove.
     * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: New file.
     * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: New file.

(See attached file: glibc-2.2.5pre1-s390-3.diff)

I hope that this is it now. Make tests runs without problem with gcc
2.95.3, we'll have the result with gcc 3.1 by tomorrow.

blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com

Attachment: =?iso-8859-1?Q?glibc-2.2.5pre1-s390-3.diff?=
Description: Binary data


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