linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Semaphores in eldk4.1
@ 2007-11-30 16:33 Stuart Hodgson
  2007-11-30 18:10 ` Ben Warren
  2007-11-30 22:27 ` Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: Stuart Hodgson @ 2007-11-30 16:33 UTC (permalink / raw)
  To: linuxppc-embedded

Hi,

I have been suing the eldk4.1 tool chain for a few months now and have 
not not encountered any problems with building until now. I build for 
two slightly different archs, ppc_85xx and ppx_82xx.

The problem I have come up against is related to some of the semaphore 
functions in semaphore.h, namely sem_wait, sem_post. This was originally 
noticed in a third party driver I am porting from one board to another 
but a small test program has shown the same results.

Calls to these functions on the ppc_82xx platform return -1 with an 
error code of 38, in this case meaning  ENOSYS (not implemented). On the 
ppc_85xx the same program executes fine, thus I conclude that it is 
specific to the libc-2.3.5 for ppc_82xx. Has anyone else come across 
this problem, I did find one thread but there was no conclusion listed.

I also can not find anything stating that these functions are not 
implemented for the 82xx arch compared with others for the eldk4.1

Thanks

Stuart

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-30 22:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-30 16:33 Semaphores in eldk4.1 Stuart Hodgson
2007-11-30 18:10 ` Ben Warren
2007-11-30 22:27 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).