glibc 2.2.5pre1
Martin Schwidefsky
schwidefsky@de.ibm.com
Wed Jan 16 13:31:00 GMT 2002
> > 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-2.2.5pre1-s390-3.diff
Type: application/octet-stream
Size: 11243 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20020116/af18218a/attachment.obj>
More information about the Libc-alpha
mailing list