Subject: Re: bug#14569: 24.3.50; bootstrap fails on Cygwin

From: Eli Zaretskii <[email-masked]>
Date: Thu, 20 Jun 2013 05:45:42 +0300

> Date: Wed, 19 Jun 2013 16:24:02 -0400
> From: Ken Brown <[email-masked]>
> CC: [email-masked], [email-masked],
>         Paul Eggert <[email-masked]>
> 
> After that there were many compile failures with errors like those that 
> others have reported:
> 
> Compiling gnus/gnus-cache.el
> GLib (gthread-posix.c): Unexpected error from C library during 
> 'pthread_setspecific': Invalid argument.  Aborting.
> Makefile:254: recipe for target `gnus/gnus-cache.elc' failed
> 
> But these compilations didn't invoke gdb, apparently because they 
> involved Makefile targets other than compile-onefile.

No, I think these failures didn't go through 'abort', that's why you
didn't get the backtrace.  You need to look at the pthread sources in
the file mentioned, and find out where to put the breakpoint to catch
that error.