Subject: Re: POSIX semaphores on ppc_6xx

From: Arnd Bergmann <[email-masked]>
Date: Sat, 21 Apr 2007 17:33:12 +0200

On Friday 20 April 2007, Ben Warren wrote:
> The cross-compiled glibc that is included in ELDK 4.0 doesn't seem to
> have support for POSIX semaphores. =A0I get the following runtime errors:
>=20
> =A0 =A0sem_open: Function not implemented
>=20
> when trying to implement a named semaphore, and=20
>=20
> =A0 =A0sem_init: Function not implemented
>=20
> when trying to implement an unnamed semaphore.
>=20
> Does anybody know if POSIX semaphores have been ported to ppc_6xx, and
> if so, where I could find a binary copy?

This normally works in every modern glibc. Maybe you were using an
set of kernel headers that is too old. Make sure that you have
up-to-date version of both kernel and glibc and that you use the
kernel header files you get from 'make headers_install' in the kernel.

	Arnd <><