On 01/05/2016 06:20 AM, Bernd Edlinger wrote:
Hi,
On 05.01.2016 13:58, Bernd Schmidt wrote:
On 01/05/2016 09:44 AM, Bernd Edlinger wrote:
an in-tree mpfr build enables inline asm code, which makes the
mips-bootstrap fail,
because at least mpfr 2.4.2 uses the "=h" constraint but in
config/mips/constraints.md
we find: "Formerly the @code{hi} register. This constraint is no
longer supported.".
Using asm code is generally not desirable for in-tree mpfr builds.
Why not?
for the same reason why we disable the asm code for in-tree gmp.
If we think mpfr is fine to use assembler, why don't we let gmp use the
assember code too?
When we boot-strap to a different architecture we certainly do not want
to fiddle with inline-assember bugs, unless absolutely necessary.
Given that we're already building against the mpfr-3.x.y API/ABI for
out-of-tree builds, what about just updating mpfr in the infrastructure
directory? It's only the in-tree builds of mpfr that are suffering and
they're using an ancient mpfr.
I guess you'd have to verify that it works and that doing so doesn't
require updating gmp and mpc. But stepping forward seems like the best
solution to me.
jeff