Comment 2 for bug 1262430

Revision history for this message
William Grant (wgrant) wrote :

With eglibc 2.18 this now FTBFS on armhf and arm64 as well. On all affected archs the pthread_atfork call segfaults due to the symbol being unresolved.

The embedded gnulib forces pthread_* to be a weak symbol, but pthread_atfork is not intended to be dynamically linkable. It's available in libpthread.so on i386, amd64 and a couple of other archs for historical reasons, and was (apparently erroneously) present on arm and aarch64 until glibc 2.18 (https://sourceware.org/bugzilla/show_bug.cgi?id=15234). It's expected that callers link the static version from libpthread_nonshared.a instead.