<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hello,<br>
<br>
I was able to build package gmp-ecm_6.4.4+ds-2 with patch that is attached.<br>
<br>
First part of patch is taken from upstream (file longlong.h)<br>
I had to add second part (file sp.h) in order to build package successfully.<br>
Patch is attached.<br>
<br>
Alternatively, if  following code for umul_ppm is used, instead of upstream patch,
<br>
package also does build successfully. <br>
#define umul_ppmm(w1, w0, u, v) \<br>
   __asm__ ("multu %2,%3\n\tmflo %0\n\tmfhi %1"                         \<br>
           : "=d" (w0), "=d" (w1) : "d" (u), "d" (v))<br>
<br>
Thank you!<br>
<br>
Regards,<br>
Jurica<br>
<br>
</div>
</body>
</html>