[uClibc] fork() without MMU?

Alexandre Oliva aoliva at redhat.com
Tue Feb 10 16:55:06 UTC 2004


I see that libc/sysdeps/linux/common/syscalls.c has an implementation
of fork() for the !__UCLIBC_HAS_MMU__ case that simply sets errno to
ENOSYS and returns -1.  Is there any point to such an implementation?
AFAICT, this only causes configure tests to get incorrect results, and
think they *could* use fork when it's not really available.

If we really want such a function, how about getting GNU ld to issue a
warning whenever the function is called?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Happy GNU Year!                     oliva@{lsd.ic.unicamp.br, gnu.org}
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the uClibc mailing list