[PATCH] nptl working for sparc32

Carmelo AMOROSO carmelo.amoroso at st.com
Wed Mar 18 06:15:09 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Austin Foxley wrote:
> Out of necessity, I've got the nptl branch working with sparc32.
> Linuxthreads was giving our heavy thread using application trouble.
> 
> Attached is the (sort of large) patch.
> Basically it's just an update from glibc/sparc32 nptl, plus some renames
> to make it match up with what uClibc expects.
> What doesn't work yet is cancellation, as well as the cancellation
> version of libc/stdlib/system.c.
> 
> Also, it looks like the two patches I sent for sparc earlier didn't get
> applied to trunk. Since I'm a pretty active user of at least 32-bit
> sparc, I wouldn't mind helping maintain that side of things.
> 
> Thanks,
> Austin Foxley - Ceton Corporation - http://cetoncorp.com
> 
> 
Hi Austin,
I've not seen any support for TLS ? do you intend to add is separately
later?
I agree with Mike to get write commit rights helping us in bringing NPTL
up faster.
Just a comment after a fast look at your patch.
Often is have in code check like this

+#if defined(__arch64__)
+#include "sparc64/sysdep-cancel.h"
+#else
+#include "sparc32/sysdep-cancel.h"
+#endif

I would suggest to globally fix the include directive by using for
example the SUB_TARGET variable, if applicable.

Cheers,
Carmelo
> ------------------------------------------------------------------------
> 
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAknAkW0ACgkQoRq/3BrK1s9lKACfTgvDiJTklJoFli8oneHRhSku
HrsAni9ZlZPfiMLEoFgPTSEXaAFXaLxO
=J9+c
-----END PGP SIGNATURE-----


More information about the uClibc mailing list