Re: NPTL for hppa-linux is not backwards compatible with Linuxthreads.

Mike Frysinger <[email protected]>
Newsgroups gmane.linux.ports.hppa,gmane.linux.debian.devel.glibc
Organization wh0rd.org
Message-ID <[email protected]>
On Thursday 22 February 2007, Roland McGrath wrote:
> > All statically initialized locks are broken. We made locks smaller,
> > and changed the value of the static initialization.
>
> Smaller?  Smaller is easy.  And you didn't actually reduce
> __SIZEOF_PTHREAD_MUTEX_T, did you?  This seems like it would not be at all
> hard to accommodate just with symbol versioning and not break any
> compatibility.  Off hand, it seems like it would be some simple code in one
> new file in your sysdeps/ tree and a smattering of sysdeps Versions files.

how can you do symbol versioning on static initializers ?  the initialized 
value is compiled into the .data sections of the actual binary ...

hmm ... do you mean we retain the pthread code that uses the old locking 
methods and create all the new code with glibc-2.6 symbol versions ?
-mike

_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
signature.asc (application/pgp-signature, 827 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.2 (GNU/Linux)

iQIVAwUARd7UD0FjO5/oN/WBAQLpFRAAl50AUlZe+u71ZQJ37JhAHxFsNbBJ2nD0
/1Bwfe94oAhAS1ML/h/ORv0JqmqhEHIC55+JMyrydqQxI+CUcCfQhQOPDmhfCfGx
COlQy36JvfotFDUoVLkQtqrj69XaM2omcn1gEwL4v/2uitPqz99KORq16d78o9tE
MLNhXUFxK0CLnCCq5nRyeFT3ydeFpFxrpKatpBssg7ZflkTMMIv797hZhRGoDCLm
xdvKYvjxaEGHKr5i3E+jxjk9p83arwZaQ+wsA/QZrNUGvnAT4bTQRHw6rKlFdniy
LXPt60xnidht+4Y7BKv04+D6iJbGJL1vfP5f7xN8XuxeRHtNn5MVhcy//Bx+kej9
iYUMPu4rTd+WgYuteV8m+yZ04PFM7xHuoozQVEEl3MdrRqf8vOw+JzEXRm/Qpr+q
5OL46cafUIFKip6xRregKun/I4VWOx+pwFmSJbZjS6YvgYqLMw9IDB1d0Dz4hX5E
JdZ4c5DAzcQNA7dph21770RaGBpB9GoTUpIUYkPIdQ/rZzp3D3X/bUjfAVFEXS2H
leLY6tEdbQH3plEspYtMkou6KAdk/ieZQL1qfJ7R+flAHjACZzzy8FmXR+SSUWsp
jCEZ/u63RtyYe1VXlWfETItmvCUPPuSck8ugz17GMiYC+F6FFswb6w+uKasVkdqI
VWixJCmg0fA=
=lQS1
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.