Package: lmdb
Version: 0.9.31-1+b1
Tags: ftbfs
Usertags: hppa

lmdb testcases fail when running in a qemu linux-user environment.
The reason is, that qemu can technically not support emulating
robust mutexes, and as such the
        pthread_mutexattr_setpshared(&mattr, PTHREAD_PROCESS_SHARED)
call in mdb.c will fail.

By default lmdb will enable MDB_USE_POSIX_MUTEX on Linux.

Now, if lmdb would detect at runtime if the pthread() call is supported
and fall back to the MDB_USE_POSIX_SEM implementation, then
lmdb would fully work on qemu-user as well.

Is that an option?
Has something like this been discussed upstream maybe?

Helge
PS: I'm willing to come up with a patch if needed.

Reply via email to