gmp since 5.1.0 fails to build on ARM (freebsd)

Torbjorn Granlund tg at gmplib.org
Fri Feb 15 23:20:06 CET 2013


Łukasz Siemiradzki <lukasz.siemiradzki at gmail.com> writes:

  GMP since version 5.1.0 doesn't build on arm (sheevaplug) on Freebsd.
  To omit the issue one has to use "--enable-assembly=no" option.
  This affects both 5.1.0 and 5.1.1. Is it something which may be fixed in gmp?

The syntax used by GMP is valid, I think.  The real bug is with
FreeBSD's seriously outdated binutils.

We might consider working around assembly bugs if it does not damage out
code quality too much.

We need input from you:

Please check which assembly files fail to assembly, and which ones
succeed.  You might want to use "make -k" inside the mpn subdirectory.
Please first "make clean" to make sure all is rebuilt.

The failing instructions (thus far) are all ldm and stm variations.  If
the assembler handles none of these, then it is not reasonably to work
around it.  It it is jusyt push/pop and ldm without explicit ia/db then
would work around it.

-- 
Torbjörn


More information about the gmp-bugs mailing list