[pkg-gnupg-maint] Bug#869609: libgpg-error is unecessarily hard to bootstrap for new architectures/ABIs
Steven Capper
steven.capper at gmail.com
Mon Jul 24 21:07:49 UTC 2017
Hi,
So going through this my understanding is that for Linux this library
creates weak references to the pthread_mutex_ functions as well as
simulates the size of the pthread_mutex_t type. IIUC this obviates the
need to cross-compile against pthreads. When one loads the library,
the weak references will be overridden by the C library and, providing
the data type is the same as simulated, should operate as one is using
pthreads.
If the simulated data type does not match the system implementation, I
am not sure what behaviour will manifest.
I don't understand why one cannot cross-compile a library that makes
use of pthreads directly though? Was this weak function/type
simulation workaround needed for a bug in the past that has since been
fixed?
Have we missed something obvious?
Cheers,
--
Steve
More information about the pkg-gnupg-maint
mailing list