testing status of GMP (5.0.1)

Torbjorn Granlund tg at gmplib.org
Mon Mar 21 12:29:15 CET 2011

Zimmermann Paul <Paul.Zimmermann at loria.fr> writes:

  on http://gmplib.org/devel/testmachines.shtml only ABI=1.0 is tested for
  hppa2.0-unknown-linux-gnu, whereas all three ABIs (1.0, 2.0n and 2.0w)
  are tested on hppa2.0w-hp-hpux11.11.
  On hppa2.0-unknown-linux-gnu, the default ABI is 2.0n, and several tests
  fail (on dingo.fsffrance.org, tested with GCC 4.4.1). It would be good that
  the default ABI is tested too, and/or change the default ABI under
  hppa2.0-unknown-linux-gnu to 1.0.

This is a problem with the kernel Linux.  If you use the 64-bit
registers, the upper 32-bit will be clobbered whenever there is a
context switch.

I've talked to th hppa Linux developers, and they think this bug is a
feature, and plan to keep it.

This all means that one must pretend 64-bit hppa processors are actually
32-bit processors, or run some other kernel than Linux.


More information about the gmp-devel mailing list