Before: i assigned bug in libgpg-error to libgcrypt because I not found appropriate
category in list.
Abort() is executed in libgpg-error (1.15) i think in comparison
if (sizeof (gpgrt_lock_t) < sizeof (_gpgrt_lock_t))
abort ();
Env: x86_64 build under msys2.
To check is that expression is executed i added code to configure.ac (attached).
Also i have not good stack trace, but can provide next:
http://dump.bitcheese.net/images/ywemece/fail.png