On Mon, Oct 14, 2013 at 04:32:24PM +0100, Richard W.M. Jones wrote: > This stack trace makes no sense, since the code at line 206 is:
Working on the assumption that gdb is just printing these arguments backwards. > checkerthread = gl_thread_create (lock_checker_thread, NULL); > > (ie. the two arguments are reversed). So I've got no idea what could > be going on here. It turns out that glthread_create [sic] returns 38 (== ENOSYS). pthread_in_use () is *false*. (Why??) These are all the tests that contain 'pthread' in the output of the configure script: checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_kill in -lpthread... yes checking for pthread_rwlock_t... yes checking whether pthread_sigmask is declared without a macro... yes checking for pthread_atfork... yes I'm guessing this is a gnulib build system problem somewhere, although I have no idea where to start. This all works fine on Fedora and older Ubuntu releases. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones libguestfs lets you edit virtual machines. Supports shell scripting, bindings from many languages. http://libguestfs.org