We can only guess what might be wrong when you leave out central information. Please read this before reporting GMP bugs: https://gmplib.org/manual/Reporting-Bugs.html -- Torbjörn