Bug#793012: gmp-ecm: FTBFS on mipsel: bad assembly?
Jerome BENOIT
calculus at rezozer.net
Wed Aug 26 16:53:53 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Jurica: thanks a lot for your material !
On 26/08/15 15:54, Jurica Stanojkovic wrote:
> Hello,
>
> I was able to build package gmp-ecm_6.4.4+ds-2 with patch that is attached.
>
> First part of patch is taken from upstream (file longlong.h)
> I had to add second part (file sp.h) in order to build package successfully.
> Patch is attached.
>
> Alternatively, if following code for umul_ppm is used, instead of upstream patch,
> package also does build successfully.
> #define umul_ppmm(w1, w0, u, v) \
> __asm__ ("multu %2,%3\n\tmflo %0\n\tmfhi %1" \
> : "=d" (w0), "=d" (w1) : "d" (u), "d" (v))
>
I will try first the short version, namely the three above line.
Thanks,
Jerome
> Thank you!
>
> Regards,
> Jurica
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJV3e8WAAoJEIC/w4IMSybj3oQH/0o+JsURtfTepyN2n3WzRmI0
k8ggwYatQ5nBFcfESNb0efJSY5n5b27VCtByvEXtZAMIQBvzapyR8Br1pWKH/t04
AR8yCyRoyk2IPML0ZL6Ga/tnWl5CKwGEu2wPVEvvtWJGYSBTf0M7YcqgKGICEheV
WZrsWBrWsJBoVxJFgsN79xwnfSbURY1ZzoicO2mIlQeLaKbHz82EBdJUi2uB/b1L
ZRhWwnXsVM1QBfJg/X0iWXecCu/q50ardpWYo2LYdYuNwykmv6PpPGiQolE/Q2dH
AAWiFb41v+CEYA9PGTOX79u49TLB0ViOGKC79sMJ+ireUbZjqT7/Ty3jRTBNom4=
=pmvu
-----END PGP SIGNATURE-----
More information about the debian-science-maintainers
mailing list