Package: libprelude
Version: 1.0.0-11.1

Hi,

The latest upload of libprelude fails to build from source on armel and armhf,
due to a segmentation fault in the tests.

I traced this down to a call to pthread_atfork that doesn't seem to be present
in the eglibc abi in armel and armhf, although for some reason the
HAVE_PTHREAD_ATFORK is set to 1.

This is the snippet from the configure file that sets it:
----------
  if test $gl_threads_api = posix; then
    gl_save_LIBS="$LIBS"
    LIBS="$LIBS $LIBMULTITHREAD"
    for ac_func in pthread_atfork
do :
  ac_fn_c_check_func "$LINENO" "pthread_atfork" "ac_cv_func_pthread_atfork"
if test "x$ac_cv_func_pthread_atfork" = xyes; then :
  cat >>confdefs.h <<_ACEOF
#define HAVE_PTHREAD_ATFORK 1
_ACEOF

fi
done

    LIBS="$gl_save_LIBS"
  fi
----------

For further reference, the change in the eglibc that removes the pthread_atfork
from the abi seems to be:
 
http://www.eglibc.org/cgi-bin/viewvc.cgi/trunk/libc/ports/sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist?r1=19448&r2=22664

Which is related to:
https://sourceware.org/bugzilla/show_bug.cgi?id=15234

The bug mentions pthread_fork instead of pthread_atfork, I'm not sure if
that's relevant, the configure test should still detect that pthread_atfork is
not present (?).

Happy hacking,
-- 
"A computer program does what you tell it to do, not what you want it to do."
-- Greer's Law
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: Digital signature

Reply via email to