[uClibc] IPC shared memory

John Kelly jakelly at shtc.net
Mon Jul 18 16:12:11 UTC 2005

On Sun, 17 Jul 2005 09:52:48 -0400, John Kelly <jakelly at shtc.net>

>running make test in perl produces errors related to IPC:
>   ext/IPC/SysV/t/ipcsysv .... Bad arg length for semctl, is 20,
>      should be 32070 at ../ext/IPC/SysV/t/ipcsysv.t line 169.

I also see in the archives, from two years ago:

>[uClibc] Re: shm funkiness
>Manuel Novoa III mjn3 at codepoet.org 
>Thu Jul 31 ... 2003 

>Looks like uClibc include/bits/shm.h file was never modified to work
>after the glibc header import a long time ago.  While the uClibc
>shm* functions just invoke the syscalls directly, glibc adds padding
>and does field-by-field assignment to preserve binary compatibility
>in spite of kernel header changes.  It will be fixed


>Ideally we need at some point to write some tests to check the offsets
>and sizes of various fields in both uClibc and the kernel, and flag any
>differences.  That's assuming of course that we don't switch over to the
>glibc approach.

My perl problem seems to be related; can anyone comment further?

More information about the uClibc mailing list