[git commit master] sparc: disable cancellable system, as it fails in strange ways right now

Austin Foxley austinf at cetoncorp.com
Fri Apr 23 14:31:55 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=1db4f8f8389f6a935ecd83aff7fcce5d1cf2c0f3
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 libc/stdlib/system.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c
index 7026a8d..4f54d1d 100644
--- a/libc/stdlib/system.c
+++ b/libc/stdlib/system.c
@@ -18,7 +18,10 @@
 #endif
 
 
-#if !defined __UCLIBC_HAS_THREADS_NATIVE__
+/* TODO: the cancellable version breaks on sparc currently,
+ * need to figure out why still
+ */
+#if !defined __UCLIBC_HAS_THREADS_NATIVE__ || defined __sparc__
 /* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
 #include <sys/syscall.h>
 #ifndef __NR_vfork
-- 
1.6.3.3



More information about the uClibc-cvs mailing list