6 Oct 2011 16:13
Re: [microblaze-linux] About toolchain built against 2.6.33 or greater kernel headers
Hi John Indeed, I'm using the Petalinux SDK donation v1.3 (2.6.31) with the toolchain inside it. I was working with kernel version 2.6.35 and did all posix named semaphore (PNS) tests against it. After your comments I rollback the kernel version to the 2.6.31 (sdk v1.3) and after config the kernel and mount the filesystem (/dev/shm, as Edgar said) the problem still happen. I'm linking a sem_test application with pthread library that contains (at least it must) the posix named semaphore implementation. I disassamble this library with objdump and look for sem_open code and it has only 21 instructions, for example the x86 sem_open implementation has 241 instructions. The rest of PNS functions (sem_close), sem_unlik have a code very similar to sem_open. Another clue that tell me that the libpthread.so doesn't contain a functional sem_open implementation is the fact that the __sem_search function is not implemented, this function is called from sem_open to obtain the mount point of shm filesystem (mounted in /dev/shm as default). What I can do ? Can I know the kernel version against the toolchain was built ? Best regards and thanks for your attention Alejandro On 10/5/2011 8:14 PM, John Williams wrote: > Hi Alejandro, > > You are using a PetaLinux SDK donation, correct? SysV IPC works, but(Continue reading)
RSS Feed