[uClibc] pthread for armnommu

Andrea Scian andrea.scian at wawnet.biz
Tue Sep 9 08:51:33 UTC 2003


> Does this patch help?


Yes, it works, thanks!!!! :-)

now I the build success and it seem that threading works!
Still got a few problem in some threading inside the JVM but I think this is
not caused by uClibc...

Thank you again!

>
> --- uClibc/libc/sysdeps/linux/common/syscalls.c 8 Sep 2003 06:31:16 -0000
1.112
> +++ uClibc/libc/sysdeps/linux/common/syscalls.c 8 Sep 2003 19:58:04 -0000
> @@ -46,14 +46,14 @@
>  # ifdef __UCLIBC_HAS_MMU__
>  #define __NR___libc_fork __NR_fork
>   _syscall0(pid_t, __libc_fork);
> - weak_alias (__libc_fork, fork)
>  # else
> - pid_t fork(void)
> + pid_t __libc_fork(void)
>   {
>   __set_errno(ENOSYS);
>   return -1;
>   }
>  # endif
> +weak_alias (__libc_fork, fork)
>  #endif
>
>  file://#define __NR_read             3
>
>  -Erik
>
> --
> Erik B. Andersen             http://codepoet-consulting.com/
> --This message was written using 73% post-consumer electrons--
>




More information about the uClibc mailing list