On Thu, May 2, 2019 at 2:16 PM E. Madison Bray <[email protected]> wrote: > This is because the assembly routines do not include the metadata that > is necessary on 64-bit Windows [1] for stack unwinding to work > properly during exception handling. This was brought up once before > on this list many years ago [2] but AFAICT nothing has ever been done > about it. ... > [2] https://gmplib.org/list-archives/gmp-bugs/2008-March/000951.html
As a quick follow-up, I see now that the work of Brian Gladman mentioned in the link above lives on today in MPIR (I'm aware of some of the history behind the fork). It's fixed almost implicitly through use of YASM which includes support for SEH pseudo-ops, much in the same way I suggested. Still, it would be nice to bring support for this to the original GMP, as it is default big integer library on more systems (e.g. there is no Cygwin package for MPIR, though I'm considering adding one). Also, there is some dubiousness as to the continued maintenance of MPIR. _______________________________________________ gmp-bugs mailing list [email protected] https://gmplib.org/mailman/listinfo/gmp-bugs
